java.lang.RuntimeException: java.net.SocketException: 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.
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.

  • 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: java.net.SocketException: Connection reset at chrriis.dj.nativeswing.swtimpl.OutProcessMessagingInterface.openChannel(OutProcessMessagingInterface.java:62) at chrriis.dj.nativeswing.swtimpl.MessagingInterface.initialize(MessagingInterface.java:47) at chrriis.dj.nativeswing.swtimpl.OutProcessMessagingInterface.<init>(OutProcessMessagingInterface.java:29) at chrriis.dj.nativeswing.swtimpl.OutProcessMessagingInterface$SwingOutProcessMessagingInterface.<init>(OutProcessMessagingInterface.java:144) at chrriis.dj.nativeswing.swtimpl.NativeInterface$OutProcess.createOutProcessMessagingInterface(NativeInterface.java:607) at chrriis.dj.nativeswing.swtimpl.NativeInterface$OutProcess.createOutProcessCommunicationChannel(NativeInterface.java:425) at chrriis.dj.nativeswing.swtimpl.NativeInterface.notifyKilled(NativeInterface.java:203) at chrriis.dj.nativeswing.swtimpl.MessagingInterface$2.run(MessagingInterface.java:339) Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(Unknown Source) at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read1(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at java.io.ObjectInputStream$PeekInputStream.read(Unknown Source) at java.io.ObjectInputStream$PeekInputStream.readFully(Unknown Source) at java.io.ObjectInputStream$BlockDataInputStream.readShort(Unknown Source) at java.io.ObjectInputStream.readStreamHeader(Unknown Source) at java.io.ObjectInputStream.<init>(Unknown Source) at chrriis.dj.nativeswing.swtimpl.OutProcessMessagingInterface.openChannel(OutProcessMessagingInterface.java:60) ... 7 more

    Users with the same issue

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