java.net.SocketException: Connection reset by peer: J VM_recv in socket input stream read

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

,
Expert tip

It's possible you're trying to write to a connection that's already closed. Another cause for this is that you closed the socket with unread data in the socket receive buffer.

,
Expert tip

This might be caused by unmatching versions of SSL. Java starts normally with SSLv2 and your server might not be able to negotiate. You have to force Java to use SSLv3. See this comment: https://goo.gl/hx0YB3

Solutions on the web

via Oracle Community by 807595, 1 year ago
Connection reset by peer: J VM_recv in socket input stream read
via Google Groups by co...@my-deja.com, 2 years ago
Descriptor not a socket: JVM_recv in socket input stream read
via Oracle Community by 843851, 1 year ago
A connection with a remote socket was reset by that socket.: A connection with a remote socket was rese by that socket.
via Google Groups by Stacy, 2 years ago
Connection shutdown: JVM_recv in socket input stream read
via Google Groups by Joel Parke, 2 years ago
JVM_recv in socket input stream read (code=10004)
via Oracle Community by 843830, 1 year ago
Connection reset by peer: JVM_recv in socket input stream read
java.net.SocketException: Connection reset by peer: J VM_recv in socket input stream read
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:90)
at java.net.SocketInputStream.read(SocketInputStream.java:68)

Users with the same issue

3 times, 1 day ago
Samebug visitor profile picture
Unknown user
Once, 3 days ago
Samebug visitor profile picture
Unknown user
Once, 3 days ago
Samebug visitor profile picture
Unknown user
Once, 3 days ago
Samebug visitor profile picture
Unknown user
Once, 3 days ago
557 more bugmates

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