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 ppoulard

before running my test in debug mode, i open the debug view, and remove some breakpoints (such as some remaining on NullPointersExceptions, and Sockets)

,
via GitHub by Wouter1

Try removing all the breakpoints (even if breakpoints are disabled the problem still occurs, yes even if both disabled entirely and piecewise).

Solutions on the web

via Oracle Community by 807554, 1 year ago
Connection reset by peer: socket write error
via Oracle Community by 843797, 1 year ago
Socket closed
via hivmr.com by Unknown author, 1 year ago
via websina.com by Unknown author, 1 year ago
via Oracle Community by 3004, 6 months ago
Connection reset by peer: socket write error]: java. net.SocketException: Connection reset by peer: socket write error
via Oracle Community by 843811, 1 year ago
Connection aborted by peer: socket write error
java.net.SocketException: Connection reset by peer: socket write error
at java.net.SocketOutputStream.socketWrite(Native Method)
at java.net.SocketOutputStream.write(SocketOutputStream.java:96)
at java.io.ObjectOutputStream.drain(ObjectOutputStream.java:1463)
at java.io.ObjectOutputStream.setBlockData(ObjectOutputStream.java:1486)
at java.io.ObjectOutputStream.resetStream(ObjectOutputStream.java:566)
at java.io.ObjectOutputStream.(ObjectOutputStream.java:160)

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.