java.lang.RuntimeException: Connection reset

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.

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.


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:


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

  • Error on Linux Ubuntu
    via djproject by *anonymous
  • RuntimeException at startup
    via djproject by netray
  • SyntaxHighlighting doesn't work
    via djproject by raviaa
  • JBoss Community / Mailing Lists
    via by Unknown author,
    • java.lang.RuntimeException: Connection reset at at at<init>( at$SwingOutProcessMessagingInterface.<init>( at$OutProcess.createOutProcessMessagingInterface( at$OutProcess.createOutProcessCommunicationChannel( at at$ Caused by: Connection reset at Source) at Source) at Source) at Source) at$ Source) at$PeekInputStream.readFully(Unknown Source) at$BlockDataInputStream.readShort(Unknown Source) at Source) at<init>(Unknown Source) at ... 7 more

    Users with the same issue

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