java.net.SocketException

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.

  • visual-c++: septembre 2015
    via by Unknown author,
  • Selenium IE 32bit WebDriver is crashing
    via Stack Overflow by xTNAx
    ,
  • Совместимость версий
    via by Unknown author,
  • sshj with spring concurrency
    via GitHub by magg
    ,
    • java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:209) at java.net.SocketInputStream.read(SocketInputStream.java:141) at tigase.jaxmpp.j2se.connectors.socket.TextStreamReader.read(TextStreamReader.java:49) at tigase.jaxmpp.j2se.connectors.socket.Worker.run(Worker.java:99)

    Users with the same issue

    ivanszkypeter
    40 times, last one,
    tvrmsmith
    1 times, last one,
    Unknown visitor1 times, last one,
    rp
    2 times, last one,
    Alireza Mohamadi
    22 times, last one,
    263 more bugmates