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 Icesoft by ngyen144, 1 year ago
Connection reset by peer: socket write error
via Icesoft by prashantpk, 1 year ago
Connection reset by peer: socket write error
via Stack Overflow by adis
, 2 years ago
via Google Groups by Adis, 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(Unknown Source)	at java.net.SocketOutputStream.write(Unknown Source)	at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:737)	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)	at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:349)	at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:761)	at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:126)	at org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:570)	at org.apache.coyote.Response.doWrite(Response.java:560)	at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:353)	at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:358)	at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:325)	at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:381)	at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:370)	at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:89)	at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(Unknown Source)	at sun.nio.cs.StreamEncoder$CharsetSE.implWrite(Unknown Source)	at sun.nio.cs.StreamEncoder.write(Unknown Source)	at sun.nio.cs.StreamEncoder.write(Unknown Source)	at java.io.OutputStreamWriter.write(Unknown Source)	at java.io.Writer.write(Unknown Source)	at com.icesoft.faces.context.NormalModeSerializer.serialize(NormalModeSerializer.java:60)	at com.icesoft.faces.context.DOMResponseWriter.endDocument(DOMResponseWriter.java:137)	at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:531)	at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:161)	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)