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.


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.

  • TransportProtocolException
    via sshtools by mustafacemal
    ,
  • Transport Protocol thread failed
    via sshtools by mustafacemal
    ,
  • Strange Exception
    via GitHub by dfarina
    ,
  • pgpool Bug Tracker
    via by Unknown author,
  • Oracle JDBC thin driver SSL
    via Stack Overflow by user3657792
    ,
    • java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java(Compiled Code)) at java.net.SocketInputStream.read(SocketInputStream.java:208) at com.sshtools.j2ssh.transport.TransportProtocolCommon.negotiateVersion(Unknown Source) at com.sshtools.j2ssh.transport.TransportProtocolCommon.run(Unknown Source) at java.lang.Thread.run(Thread.java:568)

    Users with the same issue

    ivanszkypeter
    40 times, last one,
    linxiaolong
    2 times, last one,
    Unknown visitor1 times, last one,
    tvrmsmith
    1 times, last one,
    Михайло Тітов
    1 times, last one,
    263 more bugmates