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 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 GitHub by Tenshinhan521
, 1 year ago
Connection reset by peer: socket write error
via netbeans.org by Unknown author, 1 year ago
via marc.info by Unknown author, 2 years ago
Software caused connection abort: socket write error
via Google Groups by Jeremy Aube, 1 year ago
Connection reset by peer: socket > > > > write error
via Stack Overflow by Leeish
, 2 years ago
Connection reset by peer: socket write error
via Stack Overflow by BlackMamba
, 1 year 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:141)
at org.pircbotx.dcc.ReceiveFileTransfer.transferFile(ReceiveFileTransfer.java:74)
at org.pircbotx.dcc.FileTransfer.transfer(FileTransfer.java:70)
at myxdccdl.model.DownloadTask.transferAndSaveFile(DownloadTask.java:34)
at myxdccdl.model.DownloadTask.run(DownloadTask.java:22)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Once, 4 days ago
4 times, 5 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.