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
5
votes
2 answers

Is there a stable way to detect shaking event?

I've tried to detect shaking event using accelerometer. I've found that when I give a contiuous shake to the phone, the value difference of the acceleration is quite stable. But when I rotate the phone, there's always a big change on the value( the…
Jim31837
  • 1,589
  • 3
  • 12
  • 12
5
votes
1 answer

Configuring ssh runner for gitlab ssh denied

I'm trying to set up a simple gitlab CI for an angular project I just made a runner on staging server. Here is an extract of config.toml in /etc/gitlab-runner name = "awsTest10" url = "http://gitlab.XXXXXXX/ci" token =…
chd
  • 141
  • 3
  • 9
5
votes
0 answers

Missing Sec-WebSocket-Key in header

I try to run a websocket application (php-based chat) and need to get the Sec-WebSocket-Key out of the Handshake header I get by executing: $socket_new = socket_accept($socket); $header = socket_read($socket_new, 5000); But the needed Attribute is…
zypro
  • 1,158
  • 3
  • 12
  • 33
5
votes
0 answers

Error during WebSocket handshake: Unexpected response code

I am getting this error when project was deployed in my clients server. WebSocket connection to 'ws://webserver:8080/Project/notificationendpoint' failed: Error during WebSocket handshake: Unexpected response code: 404 There is no problem running…
Sanal S
  • 1,105
  • 14
  • 27
5
votes
0 answers

W3C validator: "handshake alert: unrecognized_name"

I am trying to validate my website on W3C Nu Html Checker but I am getting below error, don't know why? IO Error: handshake alert: unrecognized_name While my website is working fine on SSL. I tried Handshake alert: unrecognized_name error , but…
urfusion
  • 5,528
  • 5
  • 50
  • 87
5
votes
1 answer

SSL iOS9 SSLHandshake failed. I checked with openssl & my server works with tls 1.2V

Im getting these errors from my app in iOS9. It works great on iOS8. My server is using tls v1.2. So, I dont know where is the problem. 2015-08-04 16:52:24.319 Entumano[676:59469] CFNetwork SSLHandshake failed (-9824) 2015-08-04 16:52:24.324…
dfmarulanda
  • 156
  • 1
  • 8
5
votes
1 answer

Handling unsuccessful websocket upgrade requests in Javascript Client

I want to have a javascript client process get the HTTP status code that a server is returning when the client makes a websocket upgrade request and that request is unsuccessful. I have my server returning HTTP 400 to indicate that a websocket…
5
votes
1 answer

Persistent cURL connections across multiple page loads in PHP

On a page load, I'm consistently requesting data from the same API. Is there any way to keep a cURL connection alive across multiple page loads to reduce handshake time? I know you can make multiple cURL requests with keep-alive headers on the…
4
votes
1 answer

TLS Handshake process by InitializeSecurityContext (Schannel)

I have to implement an TLS handshake process using the SSPI interface. My app implements the client side, and as I saw from here the general flow is: InitializeSecurityContext - first call return a pointer to a SecBufferDesc structure. Call to…
RRR
  • 3,937
  • 13
  • 51
  • 75
4
votes
2 answers

TLS handshake inside SSLv3 record layer

My Server is configured to accept both SSLv3 and TLS1.0 protocols. But a few clients are sending below handshake parameters and after the server hello, the client drops the connection and sends 'handshare failure(40) alert, not sure if it's the…
Mardanian
  • 191
  • 2
  • 11
4
votes
1 answer

Problem with SSL handshake after upgrade spring boot and java 17

My spring boot application could not work with old SSL certificate after upgrading to spring boot 2.6 and Java 17. After debuging, seems there was problem with TLS version or ciphers suite. I don't have experience with this. But, I tried generate…
Vu Huynh
  • 51
  • 2
4
votes
0 answers

Python SSL module: how to turn on debug to display handshake in detail

In Perl, I can do perl -MIO::Socket::SSL=debug4 my_program.pl This displays SSL handshake in detail DEBUG: .../IO/Socket/SSL.pm:2649: new ctx 98842176 DEBUG: .../IO/Socket/SSL.pm:562: socket not yet connected DEBUG: .../IO/Socket/SSL.pm:564: socket…
oldpride
  • 761
  • 7
  • 15
4
votes
2 answers

How can I make Chromium send the new WebSocket handshake?

I came across this code change in Chromium. It says Chromium now supports both handshake versions, which the code seems to confirm. I mean the second version at Wikipedia (draft-ietf-hybi-thewebsocketprotocol-06). However, when I connect to my…
pimvdb
  • 151,816
  • 78
  • 307
  • 352
4
votes
3 answers

CURL not working in Docker Image [Unable to access the host in Docker image]

Docker File # Start from the latest golang base image FROM golang:latest # Add Maintainer Info LABEL maintainer="Sumit Thakur " # Set the Current Working Directory inside the container WORKDIR /app # Copy go mod and sum…
Sumit Bon
  • 49
  • 1
  • 1
  • 6
4
votes
1 answer

Do I need to handle SSL_ERROR_WANT_WRITE when SSL_read()?

I'm reading an openssl programming tutorial. I can't let a server app to be blocked on any operation for a single connection, hence I'll use non-block sockets. Since it seems, ssl handshaking takes place at ssl_accept and ssl_connect, and this…
eugene
  • 39,839
  • 68
  • 255
  • 489