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 pentaho.com by Unknown author, 1 year ago
Connection reset by peer: socket write error
via YouTrack by Unknown author, 2 years ago
via Oracle Community by s.frings, 1 year ago
Connection reset by peer: socket write error
via Pentaho BI Platform Tracking by David Kincade, 2 years ago
java.net.SocketException: Connection reset by peer: socket write error at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:358) 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.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 java.io.BufferedOutputStream.write(BufferedOutputStream.java:105) at com.lowagie.text.pdf.OutputStreamCounter.write(OutputStreamCounter.java:160) at java.io.ByteArrayOutputStream.writeTo(ByteArrayOutputStream.java:109) at com.lowagie.text.pdf.PdfStream.toPdf(PdfStream.java:307) at com.lowagie.text.pdf.PdfIndirectObject.writeTo(PdfIndirectObject.java:167) at com.lowagie.text.pdf.PdfWriter$PdfBody.add(PdfWriter.java:369) at com.lowagie.text.pdf.PdfWriter$PdfBody.add(PdfWriter.java:349) at com.lowagie.text.pdf.PdfWriter$PdfBody.add(PdfWriter.java:302) at com.lowagie.text.pdf.PdfWriter.addToBody(PdfWriter.java:1982) at com.lowagie.text.pdf.TrueTypeFont.writeFont(TrueTypeFont.java:1218) at com.lowagie.text.pdf.FontDetails.writeFont(FontDetails.java:244) at com.lowagie.text.pdf.PdfWriter.addSharedObjectsToBody(PdfWriter.java:1211) at com.lowagie.text.pdf.PdfWriter.close(PdfWriter.java:1292) at com.lowagie.text.pdf.PdfDocument.close(PdfDocument.java:957) at com.lowagie.text.Document.close(Document.java:517) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.pdf.internal.PdfDocumentWriter.close(PdfDocumentWriter.java:272) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.pdf.PdfOutputProcessor.processingContentFinished(PdfOutputProcessor.java:128) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractOutputProcessor.processingFinished(AbstractOutputProcessor.java:87) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.base.PageableRenderer.performPagination(PageableRenderer.java:177) at org.pentaho.reporting.engine.classic.core.layout.AbstractRenderer.processPage(AbstractRenderer.java:923) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processPage(AbstractReportProcessor.java:1142) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.processReport(AbstractReportProcessor.java:1231) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.pdf.PdfReportUtil.createPDF(PdfReportUtil.java:122) at controller.ListaDeCausasConComisaria.doGet(ListaDeCausasConComisaria.java:86) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Thread.java:619)Caused by: java.net.SocketException: Connection reset by peer: socket write error at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:740) 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:764) at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:126) at org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:573) at org.apache.coyote.Response.doWrite(Response.java:560) at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:353) ... 43 more