java.net.SocketException: Connection reset by peer:Connection reset by peer


Samebug tips2

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.


7 months ago
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


7 months ago
Expert tip

Solutions on the web179

Solution icon of oraclecommunity
via Oracle Community by 3004, 1 year ago
Connection reset by peer: Connection reset by peer

Solution icon of googlegroups
via Google Groups by Arumugam Appadurai, 1 year ago
Connection reset by peer: Connection reset by peer

Solution icon of oraclecommunity
via Oracle Community by 3004, 1 year ago
Connection reset by peer: Connection reset by peer

Solution icon of oraclecommunity
via Oracle Community by 3004, 1 year ago
Connection reset by peer: Connection reset by peer

Solution icon of oraclecommunity
via Oracle Community by 3004, 1 year ago
Connection reset by peer: Connection reset by peer

Solution icon of oraclecommunity
via Oracle Community by 3004, 1 year ago
Connection reset by peer: Connection reset by peer

Solution icon of oraclecommunity
via Oracle Community by 3004, 1 year ago
Connection reset by peer:Connection reset by peer >

Solution icon of oraclecommunity
via Oracle Community by 3004, 1 year ago
Connection reset by peer:Connection reset by peer >

Solution icon of oraclecommunity
via Oracle Community by 3004, 1 year ago
Connection reset by peer:Connection reset by peer >

Solution icon of oraclecommunity
via Oracle Community by 843810, 1 year ago
Connection reset by peer: Connection reset by peer

Stack trace

java.net.SocketException: Connection reset by peer:Connection reset by peer
	at java.net.SocketInputStream.socketRead(Native Method)
	at java.net.SocketInputStream.read(SocketInputStream.java:86)
	at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:327)
	at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
	at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
181 times, 7 hours ago
13 times, 10 hours ago
2 times, 13 hours ago
409 more bugmates