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.

  • Unable to send email
    via j-trac by muradkhan
    ,
  • JTrac / Discussion / Help:Unable to send email
    via by Unknown author,
  • Failed to send attachment as mail
    via by Unknown author,
  • Home - Jenkins - Jenkins Wiki
    via by Unknown author,
  • Home - Jenkins - Jenkins Wiki
    via by Unknown author,
  • Error while sending a mail using javaMail - reg.
    via by dinesh Venkatesan,
  • Random connection problems with Amazon SES
    via Stack Overflow by FkJ
    ,
    • java.net.SocketException: Connection reset at java.net.SocketInputStream.read(Unknown Source) at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:97) at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:75) at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1440)

    Users with the same issue

    Tahir
    12 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    263 more bugmates