Message decoding error

Wessel, Keith kwessel at illinois.edu
Mon Mar 7 17:37:27 EST 2016


Hi, all,

After the discussion from a few weeks back, I've decided to dive into SimpleSAMLphp for a discovery service and proxy IDP. It turned out to be very easy to set up. However, Shibboleth IDP doesn't seem to like something about the SAML request coming from SSP's service provider. It knows enough to give me a login screen from the IDP, authenticates me, and logs an audit log entry complete with the attributes it's going to send back to the SP. Then, it logs the following:

2016-03-07 15:40:08,918 - ERROR [org.opensaml.messaging.decoder.servlet.BaseHttpServletRequestXMLMessageDecoder:151] [session=1t3bg37l2oznp1p5wmogqukxok] [ip=192.17.95.146] - Error unmarshalling message from input stream
net.shibboleth.utilities.java.support.xml.XMLParserException: Unable to read data from input stream
	at net.shibboleth.utilities.java.support.xml.BasicParserPool.parse(BasicParserPool.java:250)
Caused by: java.util.zip.ZipException: invalid distance too far back
	at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:164)
2016-03-07 15:40:08,922 - ERROR [org.opensaml.profile.action.impl.DecodeMessage:73] [session=1t3bg37l2oznp1p5wmogqukxok] [ip=192.17.95.146] - Profile Action DecodeMessage: Unable to decode incoming request
org.opensaml.messaging.decoder.MessageDecodingException: Error unmarshalling message from input stream
	at org.opensaml.messaging.decoder.servlet.BaseHttpServletRequestXMLMessageDecoder.unmarshallMessage(BaseHttpServletRequestXMLMessageDecoder.java:152)
Caused by: net.shibboleth.utilities.java.support.xml.XMLParserException: Unable to read data from input stream
	at net.shibboleth.utilities.java.support.xml.BasicParserPool.parse(BasicParserPool.java:250)
Caused by: java.util.zip.ZipException: invalid distance too far back
	at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:164)
2016-03-07 15:40:08,923 - WARN [org.opensaml.profile.action.impl.LogEvent:76] [session=1t3bg37l2oznp1p5wmogqukxok] [ip=192.17.95.146] - An error event occurred while processing the request: UnableToDecode

I'm confused why it's trying to decode at this point, and I'm confused what zip compression has to do with anything. I'm not sure where to go with this. Does anyone have any suggestions what I might look at? I've already tried turning up the opensaml logging to debug, and it didn't seem to help much, though I'm still studying it to see if I missed something. It was nothing obvious, though.

Keith



More information about the users mailing list