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 s.frings, 1 year ago
Connection reset by peer: socket write error
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, 1 year ago
Connection reset by peer: socket write error
via Stack Overflow by dit
, 2 years ago
java.net.SocketException: Connection reset by peer: socket write error	at java.net.SocketOutputStream.socketWrite0(Native Method)	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)	at java.net.SocketOutputStream.write(SocketOutputStream.java:153)	at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:218)	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:437)	at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:351)	at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:243)	at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:119)	at org.apache.coyote.http11.AbstractOutputBuffer.doWrite(AbstractOutputBuffer.java:190)	at org.apache.coyote.Response.doWrite(Response.java:533)	at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:364)	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:437)	at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:351)	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:93)	at java.nio.channels.Channels$WritableByteChannelImpl.write(Channels.java:458)	at com.sun.faces.application.resource.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:283)	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:407)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)	at de.butterfly.bfAlarm.ui.RequestFilter.doFilter(RequestFilter.java:128)	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:240)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:563)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:399)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:317)	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:204)	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:311)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)	at java.lang.Thread.run(Thread.java:722)