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
7
votes
1 answer

Error: connect ECONNREFUSED at exports._errnoException at TCPConnectWrap.afterConnect

I am trying to download a file using a url link but I am getting following error throw er; // Unhandled 'error' event Error: connect ECONNREFUSED at exports._errnoException (util.js:746:11) at TCPConnectWrap.afterConnect [as oncomplete]…
Labeo
  • 5,831
  • 13
  • 47
  • 77
7
votes
0 answers

Options to debug ssl handshake on windows

I have an issue with a windows server where an application pointing at a https end point fails with a: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure. Actually it used to succeed but now it does not. This is within an…
user2976627
  • 61
  • 1
  • 2
7
votes
3 answers

nginx error message - what does "peer" refer to?

In order to debug an nginx error case, I need to fully understand an error log message first. Our nginx writes the particular error log message from time to time. Log message "peer closed connection in SSL handshake (104: Connection reset by peer)…
Stephan Møller
  • 1,247
  • 19
  • 39
7
votes
2 answers

wpa-handshake with python - hashing difficulties

I try to write a Python program which calculates the WPA-handshake, but I have problems with the hashes. For comparison I installed cowpatty (to see where I start beeing wrong). My PMK-generation works fine, but the PTK-calculation alsways seems to…
user1451340
  • 387
  • 1
  • 4
  • 12
6
votes
2 answers

Serial port handshake. What the difference between Hardware and None handshaking?

I'm trying to determine the difference when I open serial port with hardware handshake and none handshake. It seems that in both cases I have to control RTS/CTS signals (just tested it with one COM device). So what the difference between opening…
Alex Klaus
  • 8,168
  • 8
  • 71
  • 87
6
votes
1 answer

Why does TCP's three-way handshake bump the sequence number when acking?

Why does the TCP three-way handshake bump the sequence number when acking during the initial handshake? How is that better than just leaving the acknowledgement number equal to the sequence number? The connection is established with Client sends…
6
votes
0 answers

disabling specific signature scheme in TLS handshake using java

My java 8 application is communicating with other system via rest, secured with TLS1.2. Last 2 java patches (261, 271) has broken the connection, because they have added some backward compatibility with TLS1.3. During the handshake, it started using…
6
votes
0 answers

Is it possible to modify TLS handshake in C# HttpClient on .NET Core

Apparently, CloudFlare now has some kind of a whitelist for the possible TLS handshake parameters for every known browser. Thus, when I'm sending HTTPS requests using HttpClient, CloudFlare considers it a bot and at the very minimum presents a…
mephisto123
  • 1,400
  • 13
  • 38
6
votes
1 answer

How to set the "Sec-WebSocket-Protocol" header in python websocket server handshake response?

I have a python websocket server and a nodejs client and I am not able to implement the websocket's Protocol Handshake. Code of python server The following minimal websocket server makes use of Flask-sockets (which uses gevent-websocket). File name…
easy_mungo
  • 91
  • 1
  • 3
6
votes
0 answers

Android https handshake terminated exception

I'm getting this exception randomly when trying to make https request, sometimes it works and sometimes failed to make handshaking with this exception. And I'm trying with lollipop and marshmallow. javax.net.ssl.SSLProtocolException: SSL handshake…
Ahmed Gamal
  • 338
  • 2
  • 7
6
votes
1 answer

Creating a WebSocket Client in Python

I am trying to learn about socket programming as well as the WebSocket protocol. I know that there are python web socket clients in existence but I am hoping to just build a toy version for my own learning. To do this I have created an extremely…
Bear
  • 486
  • 2
  • 8
  • 16
6
votes
1 answer

TCP handshaking fails - what's wrong with the server's reply?

I'm building a server with the ENC28J60 chip and a PIC18F4620. The chip is connected to my PC via ethernet. Currently, I'm trying to set up the TCP connection over which I'll build an HTTP connection later on. I have never worked with TCP…
user1544337
6
votes
1 answer

Https connection, differences between Android 2.3 and 4

I'm working on a project that retrieves images from different servers (http and https). I found this usefull Q/A to avoid the problem of No peer certificate error in Android 2.3, but i can't understand why in Android 4 (>3) this problem ("No peer…
StarsSky
  • 6,721
  • 6
  • 38
  • 63
6
votes
3 answers

How does a consensus algorithm guarantee consistency?

How does a consensus algorithm like Paxos "guarantee safety (freedom from inconsistency)" when two generals prove the "impossibility of designing algorithms to safely agree"? When I consider the simplest case of getting two servers to either (1)…
5
votes
1 answer

SSL trouble (openssl)

I need configure connect to server via SSL protocol. I got from server owners 2 files - CA root certificate (ca.pem) and test certificate request (test.csr file). I am try to test connect via openssl s_connect utility and i give strange result (xxx…
Reddy
  • 53
  • 1
  • 1
  • 3
1 2
3
43 44