java.net.SocketException

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.


rafaelrafael
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


rafaelrafael

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

  • Connection reset
    via by Duseja, Sushil,
  • Re: Connection reset
    via by Jeremias Maerki,
  • RE: Connection reset
    via by Duseja, Sushil,
  • An SMB/CIFS implementation in Java
    via by Unknown author,
  • Strange error: BYFP0001
    via by Unknown author,
  • [jcifs] Obscure Connection Issue
    via by Unknown author,
  • [jcifs] Obscure Connection Issue
    via by Unknown author,
    • java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) at jcifs.util.transport.Transport.readn(Transport.java:29) at jcifs.smb.SmbTransport.peekKey(SmbTransport.java:370) at jcifs.util.transport.Transport.loop(Transport.java:100) at jcifs.util.transport.Transport.run(Transport.java:265) at java.lang.Thread.run(Thread.java:595)

    Users with the same issue

    Unknown visitor
    Unknown visitor2 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    263 more bugmates