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.

  • Null Pointer Exception
    via by Charles Sexton,
  • SyntaxHighlighting doesn't work
    via djproject by raviaa
    ,
  • JBoss Community / Mailing Lists
    via by Unknown author,
  • Help
    via by Derek W. Folkers,
  • Cannot connect to server
    via by KiteScrub,
    • java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:134) at java.net.SocketInputStream.read(SocketInputStream.java:121) at java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2308) at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2321) at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2792) at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:799) at java.io.ObjectInputStream.<init>(ObjectInputStream.java:299) at sexton_it351_p1ip_server.Server.getStreams(Server.java:49) at sexton_it351_p1ip_server.Server.processConnection(Server.java:59) at sexton_it351_p1ip_server.Server.runServer(Server.java:27) at sexton_it351_p1ip_server.Sexton_IT351_P1IP_Server.main(Sexton_IT351_P1IP_Server.java:9)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    ivanszkypeterivanszkypeter
    40 times, last one,
    linxiaolonglinxiaolong
    2 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    tvrmsmithtvrmsmith
    1 times, last one,
    189 more bugmates