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 jetbrains.com by Unknown author, 1 year ago
via Stack Overflow by icmp_request
, 2 years ago
via Stack Overflow by DarkZero
, 2 years ago
Software caused connection abort: socket write error
via javamexico.org by Unknown author, 2 years ago
Software caused connection abort: socket write error
via Stack Overflow by nomee.tec
, 2 years ago
Software caused connection abort: socket write error
via Stack Overflow by user725455
, 2 weeks ago
Software caused connection abort: 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 sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291)
at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:295)
at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
at com.intellij.firefoxConnector.commands.FirefoxCommand.sendCommand(FirefoxCommand.java:61)
at com.intellij.firefoxConnector.commands.impl.FirefoxRequestWriter.writeRequest(FirefoxRequestWriter.java:21)
at com.intellij.firefoxConnector.commands.impl.FirefoxRequestWriter.writeRequest(FirefoxRequestWriter.java:12)
at com.intellij.util.io.socketConnection.impl.SocketConnectionBase.processRequests(SocketConnectionBase.java:104)
at com.intellij.util.io.socketConnection.impl.SocketConnectionBase.attachToSocket(SocketConnectionBase.java:183)
at com.intellij.util.io.socketConnection.impl.SocketConnectionImpl$1.run(SocketConnectionImpl.java:54)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)

Users with the same issue

Once, 3 days ago
4 times, 4 days ago
Once, 1 week ago
Once, 1 week ago
Once, 1 month ago

Write tip

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