Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake #29

Open
rjhdby opened this issue May 23, 2017 · 0 comments

Comments

@rjhdby
Copy link

rjhdby commented May 23, 2017

Running on java 1.6

Debug information:
*** ClientHello, TLSv1
RandomCookie: GMT: 1495540085 bytes = { 77, 137, 247, 232, 125, 176, 57, 204, 233, 35, 120, 161, 136, 132, 154, 1, 139, 148, 39, 24, 153, 1
Session ID: {}
Cipher Suites: [SSL_RSA_WITH_RC4_128_MD5, SSL_RSA_WITH_RC4_128_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_
Compression Methods: { 0 }


main, WRITE: TLSv1 Handshake, length = 75
main, WRITE: SSLv2 client hello message, length = 101
main, received EOFException: error
main, handling exception: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake

main, SEND TLSv1 ALERT: fatal, description = handshake_failure
main, WRITE: TLSv1 Alert, length = 2
main, called closeSocket()
adding as trusted cert:
Subject: CN=vuis-test
Issuer: CN=vuis-test
Algorithm: RSA; Serial number: 0xbb69e8a36dc43861
Valid from Mon Feb 08 17:01:33 MSK 2016 until Thu Feb 05 17:01:33 MSK 2026

2017-05-23 14:54:05,086 ERROR Forwarder - Failed to connect to server vuis-test:5000 :
javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:817)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1138)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1165)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1149)
at info.fetter.logstashforwarder.protocol.LumberjackClient.(LumberjackClient.java:92)
at info.fetter.logstashforwarder.Forwarder.connectToServer(Forwarder.java:130)
at info.fetter.logstashforwarder.Forwarder.main(Forwarder.java:89)
Caused by: java.io.EOFException: SSL peer shut down incorrectly
at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:333)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:798)
... 6 more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant