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, 1 year 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:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:379)
at org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:68)
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:366)

Users with the same issue

147 times, 2 days ago
3 times, 1 week ago
Once, 2 weeks ago
11 times, 1 month ago
10 times, 2 months ago

Write tip

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