java.net.SocketException: Connection reset by peer: socket write error

Stack Overflow | jasiuuu | 3 months ago
  1. 0

    Spring WebSocket Uncaught failure in SockJS request

    Stack Overflow | 3 months ago | jasiuuu
    java.net.SocketException: Connection reset by peer: socket write error
  2. 0

    Loggen er fuld af SocketException's

    GitHub | 2 years ago | michaelkrog
    java.net.SocketException: Broken pipe
  3. 0
    *not english*
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Getting error after when trying to print managed session bean property.

    Oracle Community | 7 years ago | 843844
    java.net.SocketException: Connection reset by peer: socket write error

  1. linxiaolong 2 times, last 2 months ago
  2. Tahir 23 times, last 2 months ago
  3. linxiaolong 1 times, last 4 months ago
  4. serious2monkeys 7 times, last 7 days ago
  5. kkandda 2 times, last 6 months ago
5 more registered users
85 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.SocketException

    Connection reset by peer: socket write error

    at java.net.SocketOutputStream.socketWrite0()
  2. Java RT
    SocketOutputStream.write
    1. java.net.SocketOutputStream.socketWrite0(Native Method)
    2. java.net.SocketOutputStream.socketWrite(Unknown Source)
    3. java.net.SocketOutputStream.write(Unknown Source)
    3 frames
  3. Grizzly HTTP
    InternalOutputBuffer.realWriteBytes
    1. org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:215)
    1 frame
  4. Tomcat Util
    ByteChunk.flushBuffer
    1. org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:480)
    1 frame
  5. Grizzly HTTP
    Response.action
    1. org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:119)
    2. org.apache.coyote.http11.AbstractHttp11Processor.action(AbstractHttp11Processor.java:805)
    3. org.apache.coyote.Response.action(Response.java:174)
    3 frames
  6. Glassfish Core
    ResponseFacade.flushBuffer
    1. org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:366)
    2. org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:333)
    3. org.apache.catalina.connector.Response.flushBuffer(Response.java:570)
    4. org.apache.catalina.connector.ResponseFacade.flushBuffer(ResponseFacade.java:307)
    4 frames
  7. JavaServlet
    ServletResponseWrapper.flushBuffer
    1. javax.servlet.ServletResponseWrapper.flushBuffer(ServletResponseWrapper.java:161)
    2. javax.servlet.ServletResponseWrapper.flushBuffer(ServletResponseWrapper.java:161)
    2 frames
  8. Spring Security
    OnCommittedResponseWrapper.flushBuffer
    1. org.springframework.security.web.util.OnCommittedResponseWrapper.flushBuffer(OnCommittedResponseWrapper.java:158)
    1 frame
  9. JavaServlet
    ServletResponseWrapper.flushBuffer
    1. javax.servlet.ServletResponseWrapper.flushBuffer(ServletResponseWrapper.java:161)
    1 frame
  10. Spring Security
    OnCommittedResponseWrapper.flushBuffer
    1. org.springframework.security.web.util.OnCommittedResponseWrapper.flushBuffer(OnCommittedResponseWrapper.java:158)
    1 frame
  11. Spring
    ServletServerHttpResponse.flush
    1. org.springframework.http.server.ServletServerHttpResponse.flush(ServletServerHttpResponse.java:96)
    1 frame
  12. Spring WebSocket
    SockJsHttpRequestHandler.handleRequest
    1. org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession.writeFrameInternal(AbstractHttpSockJsSession.java:365)
    2. org.springframework.web.socket.sockjs.transport.session.AbstractSockJsSession.writeFrame(AbstractSockJsSession.java:349)
    3. org.springframework.web.socket.sockjs.transport.session.StreamingSockJsSession.handleRequestInternal(StreamingSockJsSession.java:75)
    4. org.springframework.web.socket.sockjs.transport.session.AbstractHttpSockJsSession.handleInitialRequest(AbstractHttpSockJsSession.java:224)
    5. org.springframework.web.socket.sockjs.transport.handler.AbstractHttpSendingTransportHandler.handleRequestInternal(AbstractHttpSendingTransportHandler.java:75)
    6. org.springframework.web.socket.sockjs.transport.handler.HtmlFileTransportHandler.handleRequestInternal(HtmlFileTransportHandler.java:114)
    7. org.springframework.web.socket.sockjs.transport.handler.AbstractHttpSendingTransportHandler.handleRequest(AbstractHttpSendingTransportHandler.java:65)
    8. org.springframework.web.socket.sockjs.transport.TransportHandlingSockJsService.handleTransportRequest(TransportHandlingSockJsService.java:306)
    9. org.springframework.web.socket.sockjs.support.AbstractSockJsService.handleRequest(AbstractSockJsService.java:433)
    10. org.springframework.web.socket.sockjs.support.SockJsHttpRequestHandler.handleRequest(SockJsHttpRequestHandler.java:132)
    10 frames
  13. Spring MVC
    FrameworkServlet.doGet
    1. org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:51)
    2. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963)
    3. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)
    4. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
    5. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
    5 frames
  14. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
    1 frame
  15. Spring MVC
    FrameworkServlet.service
    1. org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
    1 frame
  16. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
    1 frame
  17. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    2 frames
  18. Tomcat WS
    WsFilter.doFilter
    1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
    1 frame
  19. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    2 frames
  20. Spring Security
    FilterChainProxy$VirtualFilterChain.doFilter
    1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)
    2. org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
    3. org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
    4. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
    5. org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:115)
    6. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
    7. org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)
    8. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
    9. org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
    10. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
    11. org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:169)
    12. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
    13. org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
    14. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
    15. org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:134)
    16. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
    17. org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)
    18. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
    19. org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:121)
    20. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
    20 frames
  21. org.springframework.security
    HeaderWriterFilter.doFilterInternal
    1. org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:66)
    1 frame
  22. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    1 frame
  23. Spring Security
    FilterChainProxy$VirtualFilterChain.doFilter
    1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
    2. org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
    3. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
    3 frames
  24. org.springframework.security
    WebAsyncManagerIntegrationFilter.doFilterInternal
    1. org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
    1 frame
  25. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
    1 frame
  26. Spring Security
    FilterChainProxy.doFilter
    1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
    2. org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)
    3. org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
    3 frames
  27. Spring
    DelegatingFilterProxy.doFilter
    1. org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
    2. org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
    2 frames
  28. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
    8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
    9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
    10 frames
  29. Grizzly HTTP
    JIoEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
    3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
    3 frames
  30. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    3. java.lang.Thread.run(Unknown Source)
    3 frames