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.

620 questions
59
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
  • 8,065
  • 9
  • 30
  • 41
44
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
  • 561
  • 1
  • 5
  • 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…
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
  • 63,876
  • 22
  • 135
  • 169
17
votes
4 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
  • 173
  • 1
  • 1
  • 6
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
  • 961
  • 2
  • 10
  • 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…
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
  • 64,123
  • 15
  • 92
  • 159
13
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
  • 795
  • 1
  • 6
  • 28
13
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
  • 141
  • 1
  • 1
  • 8
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
  • 61,952
  • 16
  • 112
  • 157
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,037
  • 2
  • 9
  • 17
10
votes
5 answers

Running curl with OpenSSL 0.9.8 against OpenSSL 1.0.0 server causes handshake error?

If I run curl against a machine that is running OpenSSL 1.0.0e for example: curl -v https://shumaker.flexrentalsolutions.com on a machine that is running OpenSSL 0.9.8r I get the following error: About to connect() to…
rogiller
  • 809
  • 1
  • 8
  • 21
10
votes
3 answers

socket.io handshake return error "Transport unknown"

I'm trying to use elephant.io to send event from my PHP script to my nodejs server. Performing tests with this library I've noticed that the handshake was not happening as expected. After reading the specs about client-server handshake with…
maxwell2022
  • 2,698
  • 4
  • 38
  • 57
1
2 3
41 42