java.net.SocketException: Connection aborted 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 ritchieGitHub

Set larger socket timeout (or 0 to set no timeout).

,
via github.com by Unknown author

Upgrade your nanohttpd

Solutions on the web

via Coderanch by Chakradhar S.Vangara, 1 year ago
Connection aborted by peer: socket write error
via Google Groups by Avi Kivity, 2 years ago
Connection aborted by peer: socket write error
via Oracle Community by 3004, 1 year ago
via Google Groups by Pradeep N, 7 months ago
via Google Groups by Felix, 7 months ago
Connection aborted by peer: socket write error
via Coderanch by wlslet irish, 1 year ago
Connection aborted by peer: socket write error
java.net.SocketException: Connection aborted by peer: socket write error
at java.net.SocketOutputStream.socketWrite(Native Method)
at java.net.SocketOutputStream.write(SocketOutputStream.java:83)
at weblogic.servlet.internal.ChunkUtils.writeChunks(ChunkUtils.java:88)
at weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamImpl.java:121)
at weblogic.servlet.FileServlet.sendFile(FileServlet.java:199)
at weblogic.servlet.FileServlet.service(FileServlet.java:56)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:105)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:742)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:686)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:361)
at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:261)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

Users with the same issue

Once, 3 months ago
Once, 8 months ago
Once, 8 months ago
5 times, 1 year ago
58 times, 1 year ago

Write tip

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