java.net.SocketException: Connection reset by peer: 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 BI Platform Tracking by Jared Pshedesky, 1 year ago
Connection reset by peer: socket write error
via openxava by hayrolr
, 1 year ago
Software caused connection abort: socket write error
via eclipse.org by Unknown author, 1 year ago
via Pentaho BI Platform Tracking by Marc Batchelor, 1 year ago
Software caused connection abort: socket write error
via Pentaho BI Platform Tracking by Marc Batchelor, 1 year ago
Software caused connection abort: socket write error
via 5ibc.net by Unknown author, 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 org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:770)
at org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(ChunkedOutputFilter.java:124)
at org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:580)
at org.apache.coyote.Response.doWrite(Response.java:560)
at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:314)
at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
at com.lowagie.text.pdf.OutputStreamCounter.flush(OutputStreamCounter.java:92)
at com.lowagie.text.DocWriter.close(DocWriter.java:310)
at com.lowagie.text.pdf.PdfWriter.close(PdfWriter.java:1376)
at com.lowagie.text.pdf.PdfDocument.close(PdfDocument.java:957)
at com.lowagie.text.Document.close(Document.java:517)
at org.jfree.report.modules.output.pageable.pdf.internal.PdfDocumentWriter.close(PdfDocumentWriter.java:263)
at org.jfree.report.modules.output.pageable.pdf.PdfOutputProcessor.processingContentFinished(PdfOutputProcessor.java:114)
at org.jfree.report.layout.output.AbstractOutputProcessor.processingFinished(AbstractOutputProcessor.java:100)
at org.jfree.report.modules.output.pageable.base.PageableRenderer.performPagination(PageableRenderer.java:195)
at org.jfree.report.layout.AbstractRenderer.processPage(AbstractRenderer.java:579)
at org.jfree.report.layout.output.AbstractReportProcessor.processPage(AbstractReportProcessor.java:1024)
at org.jfree.report.layout.output.AbstractReportProcessor.processReport(AbstractReportProcessor.java:1116)
at org.pentaho.platform.plugin.action.jfreereport.JFreeReportComponent.writePdf(Unknown Source)
at org.pentaho.platform.plugin.action.jfreereport.JFreeReportComponent.writeReport(Unknown Source)
at org.pentaho.platform.plugin.action.jfreereport.JFreeReportComponent.generateReport(Unknown Source)
at org.pentaho.platform.plugin.action.jfreereport.JFreeReportComponent.executeReportAction(Unknown Source)
at org.pentaho.platform.plugin.action.jfreereport.JFreeReportComponent.executeAction(Unknown Source)
at org.pentaho.platform.engine.services.solution.ComponentBase.execute(Unknown Source)
at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeComponent(Unknown Source)
at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeAction(Unknown Source)
at org.pentaho.platform.engine.services.runtime.RuntimeContext.performActions(Unknown Source)
at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeLoop(Unknown Source)
at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeSequence(Unknown Source)
at org.pentaho.platform.engine.services.runtime.RuntimeContext.executeSequence(Unknown Source)
at org.pentaho.platform.engine.services.solution.SolutionEngine.executeInternal(Unknown Source)
at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(Unknown Source)
at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(Unknown Source)
at com.pentaho.core.solution.ProSolutionEngine.execute(Unknown Source)
at org.pentaho.platform.engine.services.BaseRequestHandler.handleActionRequest(Unknown Source)
at org.pentaho.platform.web.servlet.ViewAction.handleActionRequest(Unknown Source)
at org.pentaho.platform.web.servlet.ViewAction.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.switchuser.SwitchUserProcessingFilter.doFilter(SwitchUserProcessingFilter.java:341)
at org.pentaho.platform.web.http.security.SecurityStartupFilter.doFilter(Unknown Source)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
at org.pentaho.platform.web.http.security.RequestParameterAuthenticationFilter.doFilter(Unknown Source)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:110)
at org.pentaho.platform.web.http.security.HttpSessionReuseDetectionFilter.doFilter(Unknown Source)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at com.pentaho.ui.servlet.SystemStatusFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.pentaho.platform.web.http.filters.SetCharacterEncodingFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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