Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-10532

SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?

    Details

    • Needs QA verification:
      No

      Description

      The following exceptions are observed on the SP side when performing IDP initiated SLO:

      libSAML2:02/01/2017 04:30:50:285 PM GMT: Thread[http-nio-8081-exec-6,5,main]: TransactionId[8e43b295-0a76-477d-8142-096201a3d181-19286]
      SOAPCommunicator.createSOAPMessage: header = null, body = <samlp:LogoutRequest  xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" ID="s20df3bb5adb6ee0fd36b08cf39c356a2281c6392b" Version="2.0" IssueInstant="2017-02-01T16:30:49Z" Destination="http://saml-sp.cdsso.rck.me:80/openam/SPSloPOST/metaAlias/sp" NotOnOrAfter="2017-02-01T16:40:49Z"><saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">http://saml-lb.internal.forgerock.com:80/openam</saml:Issuer><saml:NameID xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" NameQualifier="http://saml-lb.internal.forgerock.com:80/openam" SPNameQualifier="http://saml-sp.cdsso.rck.me:80/openam" Format="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent">K5hdiHafKjWrt27H13iVYEweSZoQ</saml:NameID><samlp:SessionIndex xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol">s2d0f25b8c80f967abe13aaaf8b752914f9895ad05</samlp:SessionIndex></samlp:LogoutRequest>
      libSAML2:02/01/2017 04:30:50:285 PM GMT: Thread[http-nio-8081-exec-6,5,main]: TransactionId[8e43b295-0a76-477d-8142-096201a3d181-19286]
      SOAPCommunicator.createSOAPMessage: soap message = <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Body><samlp:LogoutRequest  xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" ID="s20df3bb5adb6ee0fd36b08cf39c356a2281c6392b" Version="2.0" IssueInstant="2017-02-01T16:30:49Z" Destination="http://saml-sp.cdsso.rck.me:80/openam/SPSloPOST/metaAlias/sp" NotOnOrAfter="2017-02-01T16:40:49Z"><saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">http://saml-lb.internal.forgerock.com:80/openam</saml:Issuer><saml:NameID xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" NameQualifier="http://saml-lb.internal.forgerock.com:80/openam" SPNameQualifier="http://saml-sp.cdsso.rck.me:80/openam" Format="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent">K5hdiHafKjWrt27H13iVYEweSZoQ</saml:NameID><samlp:SessionIndex xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol">s2d0f25b8c80f967abe13aaaf8b752914f9895ad05</samlp:SessionIndex></samlp:LogoutRequest></soap-env:Body></soap-env:Envelope>
      
      libSAML2:02/01/2017 04:30:50:285 PM GMT: Thread[http-nio-8081-exec-6,5,main]: TransactionId[8e43b295-0a76-477d-8142-096201a3d181-19286]
      SOAPCommunicator.createSOAPMessage: soap message = <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Body><samlp:LogoutRequest  xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" ID="s20df3bb5adb6ee0fd36b08cf39c356a2281c6392b" Version="2.0" IssueInstant="2017-02-01T16:30:49Z" Destination="http://saml-sp.cdsso.rck.me:80/openam/SPSloPOST/metaAlias/sp" NotOnOrAfter="2017-02-01T16:40:49Z"><saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">http://saml-lb.internal.forgerock.com:80/openam</saml:Issuer><saml:NameID xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" NameQualifier="http://saml-lb.internal.forgerock.com:80/openam" SPNameQualifier="http://saml-sp.cdsso.rck.me:80/openam" Format="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent">K5hdiHafKjWrt27H13iVYEweSZoQ</saml:NameID><samlp:SessionIndex xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol">s2d0f25b8c80f967abe13aaaf8b752914f9895ad05</samlp:SessionIndex></samlp:LogoutRequest></soap-env:Body></soap-env:Envelope>
      
      libSAML2:02/01/2017 04:30:50:305 PM GMT: Thread[http-nio-8081-exec-6,5,main]: TransactionId[8e43b295-0a76-477d-8142-096201a3d181-19286]
      LogoutUtil.forwardToRemoteServer:
      com.sun.xml.messaging.saaj.SOAPExceptionImpl: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
              at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:163)
              at com.sun.identity.saml2.common.SOAPCommunicator.sendSOAPMessage(SOAPCommunicator.java:300)
              at com.sun.identity.saml2.profile.LogoutUtil.forwardToRemoteServer(LogoutUtil.java:521)
              at com.sun.identity.saml2.profile.SPSingleLogout.processLogoutRequest(SPSingleLogout.java:1344)
              at com.sun.identity.saml2.profile.SPSingleLogout.processLogoutRequest(SPSingleLogout.java:986)
              at com.sun.identity.saml2.profile.SPSingleLogout.processLogoutRequest(SPSingleLogout.java:954)
              at org.apache.jsp.saml2.jsp.spSingleLogoutPOST_jsp._jspService(spSingleLogoutPOST_jsp.java:424)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
              at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
              at org.forgerock.openam.validation.ResponseValidationFilter.doFilter(ResponseValidationFilter.java:44)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
              at org.forgerock.openam.headers.SetHeadersFilter.doFilter(SetHeadersFilter.java:88)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
              at com.sun.identity.setup.AMSetupFilter.doFilter(AMSetupFilter.java:111)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
              at org.forgerock.openam.audit.context.AuditContextFilter.doFilter(AuditContextFilter.java:51)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
              at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
              at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:783)
              at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
              at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:789)
              at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)
              at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
              at java.lang.Thread.run(Thread.java:745)
      Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
              at com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(MessageImpl.java:670)
              at com.sun.xml.messaging.saaj.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:100)
              at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:345)
              at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:159)
              ... 46 more
      
      CAUSE:
      
      com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
              at com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(MessageImpl.java:670)
              at com.sun.xml.messaging.saaj.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:100)
              at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:345)
              at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:159)
              at com.sun.identity.saml2.common.SOAPCommunicator.sendSOAPMessage(SOAPCommunicator.java:300)
              at com.sun.identity.saml2.profile.LogoutUtil.forwardToRemoteServer(LogoutUtil.java:521)
              at com.sun.identity.saml2.profile.SPSingleLogout.processLogoutRequest(SPSingleLogout.java:1344)
              at com.sun.identity.saml2.profile.SPSingleLogout.processLogoutRequest(SPSingleLogout.java:986)
              at com.sun.identity.saml2.profile.SPSingleLogout.processLogoutRequest(SPSingleLogout.java:954)
              at org.apache.jsp.saml2.jsp.spSingleLogoutPOST_jsp._jspService(spSingleLogoutPOST_jsp.java:424)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
              at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
              at org.forgerock.openam.validation.ResponseValidationFilter.doFilter(ResponseValidationFilter.java:44)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
              at org.forgerock.openam.headers.SetHeadersFilter.doFilter(SetHeadersFilter.java:88)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
              at com.sun.identity.setup.AMSetupFilter.doFilter(AMSetupFilter.java:111)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
              at org.forgerock.openam.audit.context.AuditContextFilter.doFilter(AuditContextFilter.java:51)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
              at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
              at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:783)
              at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
              at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:789)
              at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)
              at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
              at java.lang.Thread.run(Thread.java:745)
      
      libSAML2:02/01/2017 04:30:50:305 PM GMT: Thread[http-nio-8081-exec-6,5,main]: TransactionId[8e43b295-0a76-477d-8142-096201a3d181-19286]
      processLogoutRequest : siNotFound = [s2d0f25b8c80f967abe13aaaf8b752914f9895ad05]
      libSAML2:02/01/2017 04:30:50:306 PM GMT: Thread[http-nio-8081-exec-6,5,main]: TransactionId[8e43b295-0a76-477d-8142-096201a3d181-19286]
      LogoutUtil.forwardToRemoteServer: remoteLogoutURL = http://saml-sp3.cdsso.rck.me:8080/openam/SPSloPOST/metaAlias/sp?isLBReq=false
      libSAML2:02/01/2017 04:30:50:306 PM GMT: Thread[http-nio-8081-exec-6,5,main]: TransactionId[8e43b295-0a76-477d-8142-096201a3d181-19286]
      SOAPCommunicator.createSOAPMessage: header = null, body = <samlp:LogoutRequest  xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" ID="s20df3bb5adb6ee0fd36b08cf39c356a2281c6392b" Version="2.0" IssueInstant="2017-02-01T16:30:49Z" Destination="http://saml-sp.cdsso.rck.me:80/openam/SPSloPOST/metaAlias/sp" NotOnOrAfter="2017-02-01T16:40:49Z"><saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">http://saml-lb.internal.forgerock.com:80/openam</saml:Issuer><saml:NameID xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" NameQualifier="http://saml-lb.internal.forgerock.com:80/openam" SPNameQualifier="http://saml-sp.cdsso.rck.me:80/openam" Format="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent">K5hdiHafKjWrt27H13iVYEweSZoQ</saml:NameID><samlp:SessionIndex xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol">s2d0f25b8c80f967abe13aaaf8b752914f9895ad05</samlp:SessionIndex></samlp:LogoutRequest>
      libSAML2:02/01/2017 04:30:50:306 PM GMT: Thread[http-nio-8081-exec-6,5,main]: TransactionId[8e43b295-0a76-477d-8142-096201a3d181-19286]
      SOAPCommunicator.createSOAPMessage: soap message = <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Body><samlp:LogoutRequest  xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" ID="s20df3bb5adb6ee0fd36b08cf39c356a2281c6392b" Version="2.0" IssueInstant="2017-02-01T16:30:49Z" Destination="http://saml-sp.cdsso.rck.me:80/openam/SPSloPOST/metaAlias/sp" NotOnOrAfter="2017-02-01T16:40:49Z"><saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">http://saml-lb.internal.forgerock.com:80/openam</saml:Issuer><saml:NameID xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" NameQualifier="http://saml-lb.internal.forgerock.com:80/openam" SPNameQualifier="http://saml-sp.cdsso.rck.me:80/openam" Format="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent">K5hdiHafKjWrt27H13iVYEweSZoQ</saml:NameID><samlp:SessionIndex xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol">s2d0f25b8c80f967abe13aaaf8b752914f9895ad05</samlp:SessionIndex></samlp:LogoutRequest></soap-env:Body></soap-env:Envelope>
      
      libSAML2:02/01/2017 04:30:50:305 PM GMT: Thread[http-nio-8081-exec-6,5,main]: TransactionId[8e43b295-0a76-477d-8142-096201a3d181-19286]
      LogoutUtil.forwardToRemoteServer:
      com.sun.xml.messaging.saaj.SOAPExceptionImpl: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
              at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:163)
              at com.sun.identity.saml2.common.SOAPCommunicator.sendSOAPMessage(SOAPCommunicator.java:300)
              at com.sun.identity.saml2.profile.LogoutUtil.forwardToRemoteServer(LogoutUtil.java:521)
              at com.sun.identity.saml2.profile.SPSingleLogout.processLogoutRequest(SPSingleLogout.java:1344)
              at com.sun.identity.saml2.profile.SPSingleLogout.processLogoutRequest(SPSingleLogout.java:986)
              at com.sun.identity.saml2.profile.SPSingleLogout.processLogoutRequest(SPSingleLogout.java:954)
              at org.apache.jsp.saml2.jsp.spSingleLogoutPOST_jsp._jspService(spSingleLogoutPOST_jsp.java:424)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
              at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
              at org.forgerock.openam.validation.ResponseValidationFilter.doFilter(ResponseValidationFilter.java:44)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
              at org.forgerock.openam.headers.SetHeadersFilter.doFilter(SetHeadersFilter.java:88)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
              at com.sun.identity.setup.AMSetupFilter.doFilter(AMSetupFilter.java:111)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
              at org.forgerock.openam.audit.context.AuditContextFilter.doFilter(AuditContextFilter.java:51)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
              at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
              at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:783)
              at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
              at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:789)
              at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)
              at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
              at java.lang.Thread.run(Thread.java:745)
      Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
              at com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(MessageImpl.java:670)
              at com.sun.xml.messaging.saaj.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:100)
              at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:345)
              at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:159)
              ... 46 more
      
      CAUSE:
      
      com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is this an error message instead of a SOAP response?
              at com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(MessageImpl.java:670)
              at com.sun.xml.messaging.saaj.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:100)
              at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:345)
              at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:159)
              at com.sun.identity.saml2.common.SOAPCommunicator.sendSOAPMessage(SOAPCommunicator.java:300)
              at com.sun.identity.saml2.profile.LogoutUtil.forwardToRemoteServer(LogoutUtil.java:521)
              at com.sun.identity.saml2.profile.SPSingleLogout.processLogoutRequest(SPSingleLogout.java:1344)
              at com.sun.identity.saml2.profile.SPSingleLogout.processLogoutRequest(SPSingleLogout.java:986)
              at com.sun.identity.saml2.profile.SPSingleLogout.processLogoutRequest(SPSingleLogout.java:954)
              at org.apache.jsp.saml2.jsp.spSingleLogoutPOST_jsp._jspService(spSingleLogoutPOST_jsp.java:424)
              at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
              at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
              at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
              at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
              at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
              at org.forgerock.openam.validation.ResponseValidationFilter.doFilter(ResponseValidationFilter.java:44)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
              at org.forgerock.openam.headers.SetHeadersFilter.doFilter(SetHeadersFilter.java:88)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
              at com.sun.identity.setup.AMSetupFilter.doFilter(AMSetupFilter.java:111)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
              at org.forgerock.openam.audit.context.AuditContextFilter.doFilter(AuditContextFilter.java:51)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
              at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
              at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:783)
              at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
              at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:789)
              at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1455)
              at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
              at java.lang.Thread.run(Thread.java:745)
      

      For setup, refer to the comment in: https://bugster.forgerock.org/jira/browse/OPENAM-1194?focusedCommentId=91253&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-91253

      To reproduce:

      1. initiate IDP SSO
      2. initiate IDP SLO with HTTP-POST binding
      3. observe the error message in the Federation log

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                markdr Mark de Reeper
                Reporter:
                n4al Nemanja Lukic
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: