SAML exception: Error decoding SAML Authentication Request

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 2.6.4
    • Affects Version/s: 2.6
    • Component/s: None
    • None

      I haven't been able to reproduce this one yet. Customers report that some SAML requests fail occasionally, but re-attempting the request succeeds. They get stacktraces in the logs, e.g.,

      2012-02-21 01:09:54,806 TP-Processor16 ERROR [plugin.saml.action.SAMLAuthAction] SAML error parsing request and generating response
      SAML exception: Error decoding SAML Authentication Request: Check decoding scheme - unknown compression method
              at com.atlassian.crowd.plugin.saml.SAMLAuthRequest.decodeAuthnRequestXML(SAMLAuthRequest.java:120)
              at com.atlassian.crowd.plugin.saml.SAMLAuthRequest.<init>(SAMLAuthRequest.java:31)
              at com.atlassian.crowd.plugin.saml.SAMLMessageManagerImpl.parseAuthRequest(SAMLMessageManagerImpl.java:99)
              at com.atlassian.crowd.plugin.saml.action.SAMLAuthAction.execute(SAMLAuthAction.java:43)
      Caused by: java.util.zip.ZipException: unknown compression method
              at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:147)
              at java.io.FilterInputStream.read(FilterInputStream.java:90)
              at com.atlassian.crowd.plugin.saml.SAMLAuthRequest.inflate(SAMLAuthRequest.java:137)
              at com.atlassian.crowd.plugin.saml.SAMLAuthRequest.decodeAuthnRequestXML(SAMLAuthRequest.java:113)
              ... 134 more
      2012-02-21 01:09:54,808 TP-Processor16 ERROR [plugin.saml.action.SAMLAuthAction] SAML Request: SAMLRequest=fZJPb((omitted for security reasons))Bv%252FNxMu6Qk%253D&RelayState=https%253A%252F%252Faccounts.google.com%252FCheckCookie%253Fcontinue%253Dhttps%25253A%25252F%25252Fmail.google.com%25252Fmail%25252F%2526service%253Dmail%2526ss%253D1%2526ltmpl%253Ddefault
      

      Or more commonly:

      2012-02-21 01:03:20,543 TP-Processor5 ERROR [plugin.saml.action.SAMLAuthAction] SAML error parsing request and generating response
      SAML exception: Error decoding SAML Authentication Request: Check decoding scheme - Unexpected end of ZLIB input stream
              at com.atlassian.crowd.plugin.saml.SAMLAuthRequest.decodeAuthnRequestXML(SAMLAuthRequest.java:120)
              at com.atlassian.crowd.plugin.saml.SAMLAuthRequest.<init>(SAMLAuthRequest.java:31)
              at com.atlassian.crowd.plugin.saml.SAMLMessageManagerImpl.parseAuthRequest(SAMLMessageManagerImpl.java:99)
              at com.atlassian.crowd.plugin.saml.action.SAMLAuthAction.execute(SAMLAuthAction.java:43)
      Caused by: java.io.EOFException: Unexpected end of ZLIB input stream
              at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:223)
              at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:141)
              at java.io.FilterInputStream.read(FilterInputStream.java:90)
              at com.atlassian.crowd.plugin.saml.SAMLAuthRequest.inflate(SAMLAuthRequest.java:141)
              at com.atlassian.crowd.plugin.saml.SAMLAuthRequest.decodeAuthnRequestXML(SAMLAuthRequest.java:108)
              ... 134 more
      2012-02-21 01:03:20,545 TP-Processor5 ERROR [plugin.saml.action.SAMLAuthAction] SAML Request: SAMLRequest=fVLL((omitted for security reasons))uzNhk%252F4A&RelayState=https%253A%252F%252Faccounts.google.com%252FCheckCookie%253Fcontin
      ue%253Dhttps%25253A%25252F%25252Fmail.google.com%25252Fmail%25252F%2526service%253Dmail%2526ss%253D1%2526ltmpl%253Ddefault
      

            Assignee:
            Diego Berrueta
            Reporter:
            Diego Berrueta
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: