<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Thu, May 26, 2016 at 7:15 AM Mika Tiainen <<a href="mailto:mika.tiainen@saimia.fi">mika.tiainen@saimia.fi</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I've been setting up CAS on our IDP v3.2.1. When idp.storage.htmlLocalStorage<br>
is set, the initial request for CAS authentication fails with "An error<br>
occurred: ServiceNotSpecified".</blockquote><div><br></div><div>I think that error state is a red herring. My guess is that the behavior on this error is to redirect to /profile/cas/login without a service parameter, which is an error condition. There may be a bug in the CAS error handling, but that would only improve the reporting and not address the root cause.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
For a failed request log shows:<br>
<br>
2016-05-26 12:51:00,749 - ERROR [net.shibboleth.utilities.java.support.security.DataSealer:181] - Exception unwrapping data<br>
java.io.EOFException: null<br>
at java.io.DataInputStream.readFully(DataInputStream.java:197)<br>
2016-05-26 12:51:00,751 - ERROR [org.opensaml.storage.impl.client.ClientStorageService:406] - StorageService shibboleth.ClientSessionStorageService: Exception unwrapping secured data net.shibboleth.utilities.java.support.security.DataSealerException: Exception unwrapping data<br>
at net.shibboleth.utilities.java.support.security.DataSealer.unwrap(DataSealer.java:182)<br>
Caused by: java.io.EOFException: null<br>
at java.io.DataInputStream.readFully(DataInputStream.java:197)<br>
2016-05-26 12:51:00,752 - ERROR [net.shibboleth.utilities.java.support.security.DataSealer:181] - Exception unwrapping data<br>
java.io.EOFException: null<br>
at java.io.DataInputStream.readFully(DataInputStream.java:197)<br>
2016-05-26 12:51:00,757 - ERROR [org.opensaml.storage.impl.client.ClientStorageService:406] - StorageService shibboleth.ClientPersistentStorageService: Exception unwrapping secured data<br>
net.shibboleth.utilities.java.support.security.DataSealerException: Exception unwrapping data<br>
at net.shibboleth.utilities.java.support.security.DataSealer.unwrap(DataSealer.java:182)<br>
Caused by: java.io.EOFException: null<br>
at java.io.DataInputStream.readFully(DataInputStream.java:197)<br></blockquote><div><br></div><div>That trace reads like you have a local storage key defined with an empty value. How you came to have an empty key is not clear. Try clearing local storage in your browser and see if that helps. You should turn off local storage if you're not planning to use it, though you can mix storage backends with various protocols.</div><div><br></div><div>M<a href="mailto:users-unsubscribe@shibboleth.net" target="_blank"></a><br>
</div><div><br></div></div></div>