Questions tagged [handshake]

Anything related to handshaking in telecommunications, i.e. a process of automatic (software or hardware) negotiation of communication parameters between two interconnected devices.

Anything related to handshaking in telecommunications, i.e. a process of automatic (software or hardware) negotiation of communication parameters between two interconnected devices.

See Wikipedia page on handshaking.

659 questions
60
votes
7 answers

Send custom data along with handshakeData in socket.io?

So I have an application running node js with socket.io as a backend and normal javascript as frontend. My application has a login system which currently simply has the client send its login data as soon as it's connected. Now I figured it would be…
Wingblade
  • 9,585
  • 10
  • 35
  • 48
48
votes
5 answers

SSL handshake fails with - a verisign chain certificate - that contains two CA signed certificates and one self-signed certificate

I am stuck with a issue and trying to debug it. We purchased a Verisign certificate. When we use: openssl> s_client -connect myweb.com:443 -showcerts SSL Handshake never completes and at the end we see error: Verify return code: 19 (self signed…
curiousone
  • 601
  • 1
  • 6
  • 13
41
votes
2 answers

WebSockets not closing on IE if closing handshake is never made

I've been implementing a WebSocket with JavaScript and I have this one problem: The endpoint that my web-application is connected to doesn't send back a close control frame when I'm sending it one. This isn't that bad because browsers close the…
33
votes
7 answers

fatal: unable to access ".....": gnutls_handshake() failed: Handshake failed

I've been using Git for the past few months. Recently when I try to clone or to push, I keep on getting this error. I've researched on the internet but so far no solution has worked for me. Does anyone have an idea? External note : Now I moved to…
Harish Kanna
  • 433
  • 1
  • 4
  • 6
28
votes
5 answers

How to make Java 6, which fails SSL connection with "SSL peer shut down incorrectly", succeed like Java 7?

I'm seeing an SSL connection from a client running Java 6 fail with an exception like: Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake at…
Sean Owen
  • 66,182
  • 23
  • 141
  • 173
21
votes
1 answer

Two general agreement and TCP handshake

So the two general problem states that there is no deterministic way of knowing if the other party - to whom we communicate via a unreliable channel - has received our messages. This is quite analogous to the TCP handshake where we send a syn syn…
ffff
  • 2,853
  • 1
  • 25
  • 44
16
votes
3 answers

Set up Netty with 2-way SSL Handskake (client and server certificate)

I am now trying to set up Netty with a 2 way SSL handshake, where both the client and server present and verify certificates. This does not appear to be implemented in SslHandler. Has anyone does this? I suppose it would go in the…
MeowCode
  • 1,053
  • 2
  • 12
  • 29
15
votes
3 answers

javax.net.ssl.SSLHandshakeException: Connection closed by peer at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)

before api level 24 my code is working fine but it is giving me error on api level 24( 7.0 Nougat). I am not getting what's going wrong with my code. First Approach is here :
Gulashan Faye
  • 194
  • 1
  • 1
  • 7
15
votes
2 answers

HttpClient fails with Handshake Failed in Android 5.0 Lollipop

DefaultHttpClient in Android 5.0 Lollipop seems to be broken. It can not set the connection to some sites that were successfully set by previous versions of Android. For example I try to connect to https://uralsg.megafon.ru //Create httpclient like…
15
votes
2 answers

SQL Server Pre-Login Handshake

I'm connecting to MSSQL database through my ASP .NET application, but sometimes I got this error while opening connection. Connection Timeout Expired. The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement.…
Ahmed Negm
  • 865
  • 1
  • 11
  • 30
14
votes
1 answer

Java 7 (acting as client) SSL handshake failure with keystore and truststore that worked in Java 6

I'm doing a JBoss AS 5.1 to 7.4, and Java 6 to 7 migration, and get a handshake failure. The keystore and truststore are the ones we have been using successfully for ages with Java 6. I've written some tests to narrow the problem down, it's…
stupor-mundi
  • 151
  • 1
  • 1
  • 8
13
votes
2 answers

How to detect an incoming SSL (https) handshake (SSL wire format)?

I'm writing a server which is accepting incoming TCP connections. Let's suppose the server has accepted a TCP connection, and has already received 16 (or so) bytes from the client. Knowing those 16 bytes how can the server detect whether the client…
pts
  • 80,836
  • 20
  • 110
  • 183
12
votes
3 answers

Java 8 RECV TLSv1.2 ALERT: fatal, handshake_failure

I have exhausted my capabilities researching and experimenting to solve this problem. I've tried Trust Managers, ssl socket factories, hostName verifiers, scheme registry, ssl context modifications, etc. Can someone please help me? The program…
PaulJayD
  • 175
  • 1
  • 1
  • 9
12
votes
3 answers

Connecting to https host with soapclient: how to fix SSL problems?

TLDR I can't seem to connect to a https endpoint with a SoapClient. As my wget returns a handshake failure, I suspect that is the cause. How can I do a SOAP request to this server with PHP? complete I'm trying to connect to a SOAP server (https).…
Nanne
  • 64,065
  • 16
  • 119
  • 163
11
votes
3 answers

Why do I get a handshake failure (Java SSL)

I'm connecting to a web service over HTTPS. I've done all that I think is required to make it work, but in the end I get a handshake failure. I found out that as a new user I can't post more than 2 links due to "spam protection" - thanx a lot…
Jakub Hlavatý
  • 1,097
  • 2
  • 9
  • 17
1
2 3
43 44