java.net.SocketException: Connection reset [b]main, SEND SSLv3 ALERT: fatal, description = unexpected_message[/b] main, WRITE: SSLv3 Alert, length = 2 Exception sending alert: java.net.SocketException: Broken pipe main, called closeSocket() java.net.SocketException: Connection reset

Oracle Community | jenaro | 9 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    SSL HandShake failure

    Oracle Community | 9 years ago | jenaro
    java.net.SocketException: Connection reset [b]main, SEND SSLv3 ALERT: fatal, description = unexpected_message[/b] main, WRITE: SSLv3 Alert, length = 2 Exception sending alert: java.net.SocketException: Broken pipe main, called closeSocket() java.net.SocketException: Connection reset
  2. 0
    samebug 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.
  3. 0
    samebug 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Tomcat with APR connector is disconnecting Java clients with SSL

    Stack Overflow | 4 years ago | Jesse Barnum
    java.net.SocketException: Connection reset

  1. mauritius 24 times, last 5 days ago
  2. johnxfly 1 times, last 2 weeks ago
  3. gamebusterz 2 times, last 3 weeks ago
  4. rp 2 times, last 4 weeks ago
  5. linxiaolong 1 times, last 1 month ago
22 more registered users
73 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.SocketException

    Connection reset [b]main, SEND SSLv3 ALERT: fatal, description = unexpected_message[/b] main, WRITE: SSLv3 Alert, length = 2 Exception sending alert: java.net.SocketException: Broken pipe main, called closeSocket() java.net.SocketException: Connection reset

    at java.net.SocketInputStream.read()
  2. Java RT
    SocketInputStream.read
    1. java.net.SocketInputStream.read(SocketInputStream.java:168)
    1 frame
  3. com.ibm.jsse2
    by.startHandshake
    1. com.ibm.jsse2.a.a(Unknown Source)
    2. com.ibm.jsse2.a.a(Unknown Source)
    3. com.ibm.jsse2.by.a(Unknown Source)
    4. com.ibm.jsse2.by.l(Unknown Source)
    5. com.ibm.jsse2.by.startHandshake(Unknown Source)
    5 frames
  4. afb.mad.com
    ComFTPSClient.main
    1. afb.mad.com.net.SSLSupport.handshake(SSLSupport.java:139)
    2. afb.mad.com.net.ComFTPSClient.main(ComFTPSClient.java:804)
    2 frames