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.com by Unknown author

Probably there is a bug in TestNG Eclipse plugin (6.8.6.20130607_0745), try an other version (e.g. 6.8.0.20121120_1820)

,
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)

Solutions on the web

via Stack Overflow by Kshitiz Sharma
, 1 year ago
Connection reset by peer: socket write error
via sourceforge.net by Unknown author, 2 years ago
Software caused connection abort: socket write error
via Stack Overflow by Stripies
, 2 years ago
Software caused connection abort: socket write error
via Oracle Community by 807596, 1 year ago
Software caused connection abort: socket write error
via Stack Overflow by user2278118
, 2 years ago
Connection reset by peer: socket write error
via Stack Overflow by user1494517
, 2 years ago
Connection reset by peer: socket write error
java.net.SocketException: Connection reset by peer: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
at java.io.ObjectOutputStream$BlockDataOutputStream.writeBlockHeader(ObjectOutputStream.java:1894)
at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1875)
at java.io.ObjectOutputStream$BlockDataOutputStream.setBlockDataMode(ObjectOutputStream.java:1786)
at java.io.ObjectOutputStream.reset(ObjectOutputStream.java:500)
at com.sun.btrace.agent.RemoteClient.onCommand(RemoteClient.java:137)
at com.sun.btrace.BTraceRuntime$ConsumerWrapper.accept(BTraceRuntime.java:169)
at com.sun.btrace.BTraceRuntime$ConsumerWrapper.accept(BTraceRuntime.java:157)
at com.sun.btrace.org.jctools.queues.MpscChunkedArrayQueue.drain(MpscChunkedArrayQueue.java:624)
at com.sun.btrace.BTraceRuntime$4.run(BTraceRuntime.java:443)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

4 times, 1 day ago
Once, 6 days ago
Once, 6 days ago
Once, 3 weeks ago
30 times, 4 weeks ago

Write tip

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