java.net.SocketException: Connection reset

tip

It's possible you're trying to write to a connection that's already closed. Another cause for this is that you closed the socket with unread data in the socket receive buffer.


rafael
tip

This might be caused by unmatching versions of SSL. Java starts normally with SSLv2 and your server might not be able to negotiate. You have to force Java to use SSLv3. See this comment: https://goo.gl/hx0YB3


rafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • XnatRestClient vs https
    via by espakm,
  • Java 6 fails to authenticate against ADFS 2.0, while Java 7 works perfectly fine. That is due to the fact that ADFS 2.0 (read: latest IIS) doesn't support SSLv2 handshake because it's not secure, while JDK6 tries it first and fails: http://stackoverflow.com/questions/5507878/ssl-connection-reset One way to control https protocols would be setting https.protocols System property, but unfortunately httpclient 3.1 (that is used by openWs that is used by openSaml that is used by Spring SAML2 extension) ignores it. It seems that https.protocols is respected starting from httpclient 4.3 http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/impl/client/HttpClientBuilder.html But there is no way SAML2 extension can use it b/c openWs depends on 3.1 codebase. If you are willing to support Java 6 (that is still being widely used) you could consider implementing something that will allow to control https protocols. Browser displays error: 401 - Authentication Failed: Error decoding incoming SAML message Application logs have this: DEBUG [http-bio-8443-exec-5] (Wire.java:70) - >> "POST /adfs/services/trust/artifactresolution HTTP/1.1[\r][\n]" DEBUG [http-bio-8443-exec-5] (HttpMethodBase.java:1352) - Adding Host request header DEBUG [http-bio-8443-exec-5] (Wire.java:70) - >> "Cache-control: no-cache, no-store[\r][\n]" DEBUG [http-bio-8443-exec-5] (Wire.java:70) - >> "Pragma: no-cache[\r][\n]" DEBUG [http-bio-8443-exec-5] (Wire.java:70) - >> "Content-Type: text/xml[\r][\n]" DEBUG [http-bio-8443-exec-5] (Wire.java:70) - >> "SOAPAction: http://www.oasis-open.org/committees/security[\r][\n]" DEBUG [http-bio-8443-exec-5] (Wire.java:70) - >> "User-Agent: Jakarta Commons-HttpClient/3.1[\r][\n]" DEBUG [http-bio-8443-exec-5] (Wire.java:70) - >> "Content-Length: 2374[\r][\n]" DEBUG [http-bio-8443-exec-5] (Wire.java:70) - >> "Host: sso-test.sso.xxx[\r][\n]" DEBUG [http-bio-8443-exec-5] (Wire.java:70) - >> "[\r][\n]" %% No cached client session *** ClientHello, TLSv1 RandomCookie: GMT: 1382531474 bytes = { 117, 237, 100, 18, 240, 78, 159, 193, 189, 76, 220, 175, 84, 191, 202, 238, 51, 125, 130, 197, 136, 52, 137, 144, 17, 40, 113, 31 } Session ID: {} Cipher Suites: [SSL_RSA_WITH_RC4_128_MD5, SSL_RSA_WITH_RC4_128_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_256_CBC_SHA, TLS_DHE_DSS_WITH_AES_128_CBC_SHA, TLS_DHE_DSS_WITH_AES_256_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA, SSL_RSA_WITH_DES_CBC_SHA, SSL_DHE_RSA_WITH_DES_CBC_SHA, SSL_DHE_DSS_WITH_DES_CBC_SHA, SSL_RSA_EXPORT_WITH_RC4_40_MD5, SSL_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA, TLS_EMPTY_RENEGOTIATION_INFO_SCSV] Compression Methods: { 0 } *** [write] MD5 and SHA1 hashes: len = 81 0000: 01 00 00 4D 03 01 52 68 C2 92 75 ED 64 12 F0 4E ...M..Rh..u.d..N 0010: 9F C1 BD 4C DC AF 54 BF CA EE 33 7D 82 C5 88 34 ...L..T...3....4 0020: 89 90 11 28 71 1F 00 00 26 00 04 00 05 00 2F 00 ...(q...&...../. 0030: 35 00 33 00 39 00 32 00 38 00 0A 00 16 00 13 00 5.3.9.2.8....... 0040: 09 00 15 00 12 00 03 00 08 00 14 00 11 00 FF 01 ................ 0050: 00 . http-bio-8443-exec-5, WRITE: TLSv1 Handshake, length = 81 [write] MD5 and SHA1 hashes: len = 110 0000: 01 03 01 00 45 00 00 00 20 00 00 04 01 00 80 00 ....E... ....... 0010: 00 05 00 00 2F 00 00 35 00 00 33 00 00 39 00 00 ..../..5..3..9.. 0020: 32 00 00 38 00 00 0A 07 00 C0 00 00 16 00 00 13 2..8............ 0030: 00 00 09 06 00 40 00 00 15 00 00 12 00 00 03 02 .....@.......... 0040: 00 80 00 00 08 00 00 14 00 00 11 00 00 FF 52 68 ..............Rh 0050: C2 92 75 ED 64 12 F0 4E 9F C1 BD 4C DC AF 54 BF ..u.d..N...L..T. 0060: CA EE 33 7D 82 C5 88 34 89 90 11 28 71 1F ..3....4...(q. http-bio-8443-exec-5, WRITE: SSLv2 client hello message, length = 110 [Raw write]: length = 112 0000: 80 6E 01 03 01 00 45 00 00 00 20 00 00 04 01 00 .n....E... ..... 0010: 80 00 00 05 00 00 2F 00 00 35 00 00 33 00 00 39 ....../..5..3..9 0020: 00 00 32 00 00 38 00 00 0A 07 00 C0 00 00 16 00 ..2..8.......... 0030: 00 13 00 00 09 06 00 40 00 00 15 00 00 12 00 00 .......@........ 0040: 03 02 00 80 00 00 08 00 00 14 00 00 11 00 00 FF ................ 0050: 52 68 C2 92 75 ED 64 12 F0 4E 9F C1 BD 4C DC AF Rh..u.d..N...L.. 0060: 54 BF CA EE 33 7D 82 C5 88 34 89 90 11 28 71 1F T...3....4...(q. http-bio-8443-exec-5, handling exception: java.net.SocketException: Connection reset http-bio-8443-exec-5, SEND TLSv1 ALERT: fatal, description = unexpected_message http-bio-8443-exec-5, WRITE: TLSv1 Alert, length = 2 http-bio-8443-exec-5, Exception sending alert: java.net.SocketException: Broken pipe http-bio-8443-exec-5, called closeSocket() DEBUG [http-bio-8443-exec-5] (HttpMethodDirector.java:404) - Closing the connection. http-bio-8443-exec-5, called close() http-bio-8443-exec-5, called closeInternal(true) http-bio-8443-exec-5, called close() http-bio-8443-exec-5, called closeInternal(true) http-bio-8443-exec-5, called close() http-bio-8443-exec-5, called closeInternal(true) INFO [http-bio-8443-exec-5] (HttpMethodDirector.java:439) - I/O exception (java.net.SocketException) caught when processing request: Connection reset DEBUG [http-bio-8443-exec-5] (HttpMethodDirector.java:443) - Connection reset java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:422) at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:460) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:863) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1188) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:654) at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:100) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:104) at org.apache.commons.httpclient.WireLogOutputStream.write(WireLogOutputStream.java:68) at java.io.ByteArrayOutputStream.writeTo(ByteArrayOutputStream.java:109) at org.opensaml.ws.transport.http.httpclient.OutputStreamRequestEntity.writeRequest(OutputStreamRequestEntity.java:46) at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at org.springframework.security.saml.websso.ArtifactResolutionProfileImpl.getArtifactResponse(ArtifactResolutionProfileImpl.java:96) at org.springframework.security.saml.websso.ArtifactResolutionProfileBase.resolveArtifact(ArtifactResolutionProfileBase.java:98) at org.opensaml.saml2.binding.decoding.HTTPArtifactDecoderImpl.doDecode(HTTPArtifactDecoderImpl.java:94) at org.opensaml.ws.message.decoder.BaseMessageDecoder.decode(BaseMessageDecoder.java:79) at org.opensaml.saml2.binding.decoding.BaseSAML2MessageDecoder.decode(BaseSAML2MessageDecoder.java:70) at org.springframework.security.saml.processor.SAMLProcessorImpl.retrieveMessage(SAMLProcessorImpl.java:105) at org.springframework.security.saml.processor.SAMLProcessorImpl.retrieveMessage(SAMLProcessorImpl.java:172) at org.springframework.security.saml.SAMLProcessingFilter.attemptAuthentication(SAMLProcessingFilter.java:77) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:195) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192) at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:166) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at org.springframework.security.saml.metadata.MetadataGeneratorFilter.doFilter(MetadataGeneratorFilter.java:86) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192) at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662)
    via by Oleg Mikheev,
  • Java 6 fails to authenticate against ADFS 2.0, while Java 7 works perfectly fine. That is due to the fact that ADFS 2.0 (read: latest IIS) doesn't support SSLv2 handshake because it's not secure, while JDK6 tries it first and fails: http://stackoverflow.com/questions/5507878/ssl-connection-reset One way to control https protocols would be setting https.protocols System property, but unfortunately httpclient 3.1 (that is used by openWs that is used by openSaml that is used by Spring SAML2 extension) ignores it. It seems that https.protocols is respected starting from httpclient 4.3 http://hc.apache.org/httpcomponents-client-ga/httpclient/apidocs/org/apache/http/impl/client/HttpClientBuilder.html But there is no way SAML2 extension can use it b/c openWs depends on 3.1 codebase. If you are willing to support Java 6 (that is still being widely used) you could consider implementing something that will allow to control https protocols. Browser displays error: 401 - Authentication Failed: Error decoding incoming SAML message Application logs have this: DEBUG [http-bio-8443-exec-5] (Wire.java:70) - >> "POST /adfs/services/trust/artifactresolution HTTP/1.1[\r][\n]" DEBUG [http-bio-8443-exec-5] (HttpMethodBase.java:1352) - Adding Host request header DEBUG [http-bio-8443-exec-5] (Wire.java:70) - >> "Cache-control: no-cache, no-store[\r][\n]" DEBUG [http-bio-8443-exec-5] (Wire.java:70) - >> "Pragma: no-cache[\r][\n]" DEBUG [http-bio-8443-exec-5] (Wire.java:70) - >> "Content-Type: text/xml[\r][\n]" DEBUG [http-bio-8443-exec-5] (Wire.java:70) - >> "SOAPAction: http://www.oasis-open.org/committees/security[\r][\n]" DEBUG [http-bio-8443-exec-5] (Wire.java:70) - >> "User-Agent: Jakarta Commons-HttpClient/3.1[\r][\n]" DEBUG [http-bio-8443-exec-5] (Wire.java:70) - >> "Content-Length: 2374[\r][\n]" DEBUG [http-bio-8443-exec-5] (Wire.java:70) - >> "Host: sso-test.sso.xxx[\r][\n]" DEBUG [http-bio-8443-exec-5] (Wire.java:70) - >> "[\r][\n]" %% No cached client session *** ClientHello, TLSv1 RandomCookie: GMT: 1382531474 bytes = { 117, 237, 100, 18, 240, 78, 159, 193, 189, 76, 220, 175, 84, 191, 202, 238, 51, 125, 130, 197, 136, 52, 137, 144, 17, 40, 113, 31 } Session ID: {} Cipher Suites: [SSL_RSA_WITH_RC4_128_MD5, SSL_RSA_WITH_RC4_128_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_256_CBC_SHA, TLS_DHE_DSS_WITH_AES_128_CBC_SHA, TLS_DHE_DSS_WITH_AES_256_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA, SSL_RSA_WITH_DES_CBC_SHA, SSL_DHE_RSA_WITH_DES_CBC_SHA, SSL_DHE_DSS_WITH_DES_CBC_SHA, SSL_RSA_EXPORT_WITH_RC4_40_MD5, SSL_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA, SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA, TLS_EMPTY_RENEGOTIATION_INFO_SCSV] Compression Methods: { 0 } *** [write] MD5 and SHA1 hashes: len = 81 0000: 01 00 00 4D 03 01 52 68 C2 92 75 ED 64 12 F0 4E ...M..Rh..u.d..N 0010: 9F C1 BD 4C DC AF 54 BF CA EE 33 7D 82 C5 88 34 ...L..T...3....4 0020: 89 90 11 28 71 1F 00 00 26 00 04 00 05 00 2F 00 ...(q...&...../. 0030: 35 00 33 00 39 00 32 00 38 00 0A 00 16 00 13 00 5.3.9.2.8....... 0040: 09 00 15 00 12 00 03 00 08 00 14 00 11 00 FF 01 ................ 0050: 00 . http-bio-8443-exec-5, WRITE: TLSv1 Handshake, length = 81 [write] MD5 and SHA1 hashes: len = 110 0000: 01 03 01 00 45 00 00 00 20 00 00 04 01 00 80 00 ....E... ....... 0010: 00 05 00 00 2F 00 00 35 00 00 33 00 00 39 00 00 ..../..5..3..9.. 0020: 32 00 00 38 00 00 0A 07 00 C0 00 00 16 00 00 13 2..8............ 0030: 00 00 09 06 00 40 00 00 15 00 00 12 00 00 03 02 .....@.......... 0040: 00 80 00 00 08 00 00 14 00 00 11 00 00 FF 52 68 ..............Rh 0050: C2 92 75 ED 64 12 F0 4E 9F C1 BD 4C DC AF 54 BF ..u.d..N...L..T. 0060: CA EE 33 7D 82 C5 88 34 89 90 11 28 71 1F ..3....4...(q. http-bio-8443-exec-5, WRITE: SSLv2 client hello message, length = 110 [Raw write]: length = 112 0000: 80 6E 01 03 01 00 45 00 00 00 20 00 00 04 01 00 .n....E... ..... 0010: 80 00 00 05 00 00 2F 00 00 35 00 00 33 00 00 39 ....../..5..3..9 0020: 00 00 32 00 00 38 00 00 0A 07 00 C0 00 00 16 00 ..2..8.......... 0030: 00 13 00 00 09 06 00 40 00 00 15 00 00 12 00 00 .......@........ 0040: 03 02 00 80 00 00 08 00 00 14 00 00 11 00 00 FF ................ 0050: 52 68 C2 92 75 ED 64 12 F0 4E 9F C1 BD 4C DC AF Rh..u.d..N...L.. 0060: 54 BF CA EE 33 7D 82 C5 88 34 89 90 11 28 71 1F T...3....4...(q. http-bio-8443-exec-5, handling exception: java.net.SocketException: Connection reset http-bio-8443-exec-5, SEND TLSv1 ALERT: fatal, description = unexpected_message http-bio-8443-exec-5, WRITE: TLSv1 Alert, length = 2 http-bio-8443-exec-5, Exception sending alert: java.net.SocketException: Broken pipe http-bio-8443-exec-5, called closeSocket() DEBUG [http-bio-8443-exec-5] (HttpMethodDirector.java:404) - Closing the connection. http-bio-8443-exec-5, called close() http-bio-8443-exec-5, called closeInternal(true) http-bio-8443-exec-5, called close() http-bio-8443-exec-5, called closeInternal(true) http-bio-8443-exec-5, called close() http-bio-8443-exec-5, called closeInternal(true) INFO [http-bio-8443-exec-5] (HttpMethodDirector.java:439) - I/O exception (java.net.SocketException) caught when processing request: Connection reset DEBUG [http-bio-8443-exec-5] (HttpMethodDirector.java:443) - Connection reset java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:422) at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:460) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:863) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1188) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:654) at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:100) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:104) at org.apache.commons.httpclient.WireLogOutputStream.write(WireLogOutputStream.java:68) at java.io.ByteArrayOutputStream.writeTo(ByteArrayOutputStream.java:109) at org.opensaml.ws.transport.http.httpclient.OutputStreamRequestEntity.writeRequest(OutputStreamRequestEntity.java:46) at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346) at org.springframework.security.saml.websso.ArtifactResolutionProfileImpl.getArtifactResponse(ArtifactResolutionProfileImpl.java:96) at org.springframework.security.saml.websso.ArtifactResolutionProfileBase.resolveArtifact(ArtifactResolutionProfileBase.java:98) at org.opensaml.saml2.binding.decoding.HTTPArtifactDecoderImpl.doDecode(HTTPArtifactDecoderImpl.java:94) at org.opensaml.ws.message.decoder.BaseMessageDecoder.decode(BaseMessageDecoder.java:79) at org.opensaml.saml2.binding.decoding.BaseSAML2MessageDecoder.decode(BaseSAML2MessageDecoder.java:70) at org.springframework.security.saml.processor.SAMLProcessorImpl.retrieveMessage(SAMLProcessorImpl.java:105) at org.springframework.security.saml.processor.SAMLProcessorImpl.retrieveMessage(SAMLProcessorImpl.java:172) at org.springframework.security.saml.SAMLProcessingFilter.attemptAuthentication(SAMLProcessingFilter.java:77) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:195) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192) at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:166) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at org.springframework.security.saml.metadata.MetadataGeneratorFilter.doFilter(MetadataGeneratorFilter.java:86) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192) at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662)
    via by Oleg Mikheev,
    • java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) at com.sun.net.ssl.internal.ssl.InputRecord.readFully(InputRecord.java:422) at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:460)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    263 more bugmates