java.net.SocketException: Software caused connection abort: socket write error

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

,
via GitHub by nathandunn

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

,
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
Software caused connection abort: socket write error
via Stack Overflow by PaddarajuChittala
, 1 year ago
Software caused connection abort: socket write error
via Stack Overflow by dit
, 2 years ago
java.net.SocketException: Software caused connection abort: 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.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)
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.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)
at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:381)
at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:370)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
at java.io.BufferedOutputStream.write(BufferedOutputStream.java:109)
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.PdfWriter.add(PdfWriter.java:915)
at com.lowagie.text.pdf.PdfDocument.newPage(PdfDocument.java:834)
at com.lowagie.text.Document.newPage(Document.java:400)
at org.pentaho.reporting.engine.classic.core.modules.output.pageable.pdf.internal.PdfDocumentWriter.processPhysicalPage(PdfDocumentWriter.java:233)
at org.pentaho.reporting.engine.classic.core.modules.output.pageable.pdf.PdfOutputProcessor.processPhysicalPage(PdfOutputProcessor.java:147)
at org.pentaho.reporting.engine.classic.core.modules.output.pageable.base.AbstractPageableOutputProcessor.processPageContent(AbstractPageableOutputProcessor.java:104)
at org.pentaho.reporting.engine.classic.core.layout.output.AbstractOutputProcessor.processContent(AbstractOutputProcessor.java:165)
at org.pentaho.reporting.engine.classic.core.modules.output.pageable.base.PageableRenderer.performPagination(PageableRenderer.java:124)
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.servletReport.processRequest(servletReport.java:91)
at controller.servletReport.doGet(servletReport.java:132)
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.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at java.lang.Thread.run(Thread.java:619)

Users with the same issue

Once, 1 day ago
4 times, 2 days ago
Once, 1 week ago
Once, 1 week ago
Once, 4 weeks ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.