java.net.SocketException: Connection reset

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.


rafael
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


rafael

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

  • Region Servers Crashing - LeaseExpired
    via by Martin Arnandze,
  • separating files in Java socket connection
    via Stack Overflow by ashley
    ,
  • connection problem
    via jtds by jolsonic
    ,
  • Limited RecordSet
    via jtds by *anonymous
    ,
  • Socket Closed Exceptio
    via by 807596,
  • Problems with socket connection
    via by 807596,
    • java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:196) at java.net.SocketInputStream.read(SocketInputStream.java:122) at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) at java.io.BufferedInputStream.read1(BufferedInputStream.java:275) at java.io.BufferedInputStream.read(BufferedInputStream.java:334) at java.io.DataInputStream.read(DataInputStream.java:100) at ZipServer.<init>(ZipServer.java:38) at ZipServer.main(ZipServer.java:49)

    Users with the same issue

    ivanszkypeter
    ivanszkypeter40 times, last one,
    linxiaolong
    linxiaolong2 times, last one,
    Unknown visitor1 times, last one,
    tvrmsmith
    tvrmsmith1 times, last one,
    Unknown visitor1 times, last one,
    189 more bugmates