java.io.IOException: Connection reset by peer

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

,

Normally, the connection to an HTTP server is closed after each response. Change the network connection and make sure the network is stable when making the request. When the server closes such a connection the client usually reopens it again.

Solutions on the web

via Google Groups by Gowtham Sai, 11 months ago
via hive-user by Edward Capriolo, 1 year ago
via Stack Overflow by sebi
, 1 year ago
Connection reset by peer
via Stack Overflow by Gitaram Kanawade
, 2 years ago
Connection reset by peer
via hive-user by wzc, 1 year ago
via Stack Overflow by pl0u
, 2 years ago
java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:218)
at sun.nio.ch.IOUtil.read(IOUtil.java:186)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:359)
at org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:66)
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:291)

Users with the same issue

8 times, 1 hour ago
10 times, 1 month ago
791 times, 1 month ago
629 times, 1 month ago
6 times, 2 months ago

Write tip

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