Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    via GitHub by nathandunn

    Nginx does not handle websocket requests. Configure nginx proxy for websockets.

  2. ,
    via GitHub by ritchieGitHub

    Set larger socket timeout (or 0 to set no timeout).

Solutions on the web

via Oracle Community by 843840, 1 month ago
via Google Groups by Unknown author, 9 months ago
via Oracle Community by 843790, 2 years ago
via ICEsoft JIRA Issue Tracker by Mandeep Hayher, 1 year ago
Connection reset by peer: socket write error
via ICEsoft JIRA Issue Tracker by Mandeep Hayher, 2 years ago
Connection reset by peer: socket write error
java.net.SocketException: Connection reset by peer: socket write error	at java.net.SocketOutputStream.socketWrite0(Native Method)	at java.net.SocketOutputStream.socketWrite(Unknown Source)	at java.net.SocketOutputStream.write(Unknown Source)	at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:746)	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)	at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:348)	at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:769)	at org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(IdentityOutputFilter.java:117)	at org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:579)	at org.apache.coyote.Response.doWrite(Response.java:559)	at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:361)	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)	at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:348)	at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:392)	at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:381)	at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:88)	at org.apache.catalina.servlets.DefaultServlet.copyRange(DefaultServlet.java:2041)	at org.apache.catalina.servlets.DefaultServlet.copy(DefaultServlet.java:1760)	at org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:844)	at org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:354)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)	at it.mybongo.servlet.filter.HibernateRequestFilter.doFilter(HibernateRequestFilter.java:35)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)	at java.lang.Thread.run(Unknown Source)