SSL handshake errors in Tor/Bitcoin/Electrs

Hello,

I was running my node successfully for a few months then I need to travelling and move to a different part of the world.

The node was offline for a month, I reconnected on Sunday gone, 3 days later, it still still syncing, been at 98.xx%, the deceptive part was that the decimal place was changing, both up and down.

I deleted mempool and lightning apps and restarted, just to clear up some memory and try and reduce the startup activity. I restarted the Pi, removed and reconnected the network cable, even plugged it to a different port on the router but nothing helped, I check the logs today and see the following:

Attaching to tor
tor          | Sep 07 14:19:52.000 [warn]  19 connections died in state handshaking (TLS) with SSL state SSLv3/TLS write client hello in HANDSHAKE
tor          | Sep 07 14:19:52.000 [warn]  3 connections died in state connect()ing with SSL state (No SSL object)
tor          | Sep 07 14:19:52.000 [warn] Problem bootstrapping. Stuck at 10% (conn_done): Connected to a relay. (DONE; DONE; count 23; recommendation warn; host 6DFEB2BFBFA9DBEDCE2DE932F9D16EE7E0530ED1 at 193.189.100.194:443)
tor          | Sep 07 14:19:52.000 [warn] 23 connections have failed:
tor          | Sep 07 14:19:52.000 [warn]  20 connections died in state handshaking (TLS) with SSL state SSLv3/TLS write client hello in HANDSHAKE
tor          | Sep 07 14:19:52.000 [warn]  3 connections died in state connect()ing with SSL state (No SSL object)
tor          | Sep 07 14:20:20.000 [warn] Problem bootstrapping. Stuck at 10% (conn_done): Connected to a relay. (DONE; DONE; count 24; recommendation warn; host 79ACC2417F4301FC02F04165F31E20B851CC7AF5 at 109.70.100.69:8080)
tor          | Sep 07 14:20:20.000 [warn] 24 connections have failed:
tor          | Sep 07 14:20:20.000 [warn]  21 connections died in state handshaking (TLS) with SSL state SSLv3/TLS write client hello in HANDSHAKE
tor          | Sep 07 14:20:20.000 [warn]  3 connections died in state connect()ing with SSL state (No SSL object)

bitcoin

tor_server_1  | Sep 07 14:14:15.000 [warn]  13 connections died in state handshaking (TLS) with SSL state SSLv3/TLS write client hello in HANDSHAKE
tor_server_1  | Sep 07 14:14:15.000 [warn]  3 connections died in state connect()ing with SSL state (No SSL object)
tor_server_1  | Sep 07 14:16:02.000 [warn] Problem bootstrapping. Stuck at 10% (conn_done): Connected to a relay. (DONE; DONE; count 17; recommendation warn; host 3CCEF96871A49AC06149E4AA8E14D270D881F6D3 at 5.9.120.18:443)

This shows in TOR, bictoin and electrs.

Any ideas, what I need to do recover from this please?

Thank you for your time.

I’m seeing this too on 0.5.1.

Is it hindering your ability to sync? I’m running 0.5.1 too.

bitcoin

tor_server_1 | Sep 07 10:51:05.000 [notice] Average packaged cell fullness: 100.000%. TLS write overhead: 114000%
tor_server_1 | Sep 07 11:38:29.000 [warn] Problem bootstrapping. Stuck at 14% (handshake): Handshaking with a relay. (Connection timed out; TIMEOUT; count 79; recommendation warn; host 82D1A2DBABE623D420122B1D59965277007B9446 at 89.58.27.84:1443)
tor_server_1 | Sep 07 11:38:29.000 [warn] 78 connections have failed:
tor_server_1 | Sep 07 11:38:29.000 [warn] 46 connections died in state handshaking (TLS) with SSL state SSLv3/TLS write client hello in HANDSHAKE
tor_server_1 | Sep 07 11:38:29.000 [warn] 30 connections died in state connect()ing with SSL state (No SSL object)
tor_server_1 | Sep 07 11:38:29.000 [warn] 2 connections died in state handshaking (Tor, v3 handshake) with SSL state SSL negotiation finished successfully in OPEN
tor_server_1 | Sep 07 12:32:21.000 [warn] Problem bootstrapping. Stuck at 14% (handshake): Handshaking with a relay. (Connection timed out; TIMEOUT; count 80; recommendation warn; host BD6A829255CB08E66FBE7D3748363586E46B3810 at 171.25.193.9:80)
tor_server_1 | Sep 07 12:32:21.000 [warn] 79 connections have failed:
tor_server_1 | Sep 07 12:32:21.000 [warn] 46 connections died in state handshaking (TLS) with SSL state SSLv3/TLS write client hello in HANDSHAKE
tor_server_1 | Sep 07 12:32:21.000 [warn] 31 connections died in state connect()ing with SSL state (No SSL object)
tor_server_1 | Sep 07 12:32:21.000 [warn] 2 connections died in state handshaking (Tor, v3 handshake) with SSL state SSL negotiation finished successfully in OPEN
tor_server_1 | Sep 07 13:40:43.000 [warn] Problem bootstrapping. Stuck at 14% (handshake): Handshaking with a relay. (DONE; DONE; count 81; recommendation warn; host 3B4C5729F829CA2E895B81AF834A63DB336D0FFE at 66.23.227.135:443)
tor_server_1 | Sep 07 13:40:43.000 [warn] 81 connections have failed:
tor_server_1 | Sep 07 13:40:43.000 [warn] 47 connections died in state handshaking (TLS) with SSL state SSLv3/TLS write client hello in HANDSHAKE
tor_server_1 | Sep 07 13:40:43.000 [warn] 32 connections died in state connect()ing with SSL state (No SSL object)
tor_server_1 | Sep 07 13:40:43.000 [warn] 2 connections died in state handshaking (Tor, v3 handshake) with SSL state SSL negotiation finished successfully in OPEN
tor_server_1 | Sep 07 14:32:50.000 [warn] Problem bootstrapping. Stuck at 14% (handshake): Handshaking with a relay. (DONE; DONE; count 82; recommendation warn; host 7EA6EAD6FD83083C538F44038BBFA077587DD755 at 45.66.33.45:443)
tor_server_1 | Sep 07 14:32:50.000 [warn] 82 connections have failed:
tor_server_1 | Sep 07 14:32:50.000 [warn] 48 connections died in state handshaking (TLS) with SSL state SSLv3/TLS write client hello in HANDSHAKE
tor_server_1 | Sep 07 14:32:50.000 [warn] 32 connections died in state connect()ing with SSL state (No SSL object)
tor_server_1 | Sep 07 14:32:50.000 [warn] 2 connections died in state handshaking (Tor, v3 handshake) with SSL state SSL negotiation finished successfully in OPEN
tor_server_1 | Sep 07 16:51:05.000 [notice] Heartbeat: Tor’s uptime is 12:00 hours, with 1 circuits open. I’ve sent 1 kB and received 2 kB. I’ve received 0 connections on IPv4 and 0 on IPv6. I’ve made 83 connections with IPv4 and 0 with IPv6.
tor_server_1 | Sep 07 16:51:05.000 [notice] Average packaged cell fullness: 100.000%. TLS write overhead: 118700%
tor_server_1 | Sep 07 16:53:29.000 [warn] Problem bootstrapping. Stuck at 14% (handshake): Handshaking with a relay. (DONE; DONE; count 83; recommendation warn; host 466058DF87C45EFECF07BDC9D823FF12ED7B6890 at 62.67.28.110:9001)
tor_server_1 | Sep 07 16:53:29.000 [warn] 83 connections have failed:
tor_server_1 | Sep 07 16:53:29.000 [warn] 49 connections died in state handshaking (TLS) with SSL state SSLv3/TLS write client hello in HANDSHAKE
tor_server_1 | Sep 07 16:53:29.000 [warn] 32 connections died in state connect()ing with SSL state (No SSL object)
tor_server_1 | Sep 07 16:53:29.000 [warn] 2 connections died in state handshaking (Tor, v3 handshake) with SSL state SSL negotiation finished successfully in OPEN

I have fixed it, at least those errors are no longer there now.

I googled “connections died in state handshaking” on TOR discussion, someone mentioned it’s either ISP blocking TOR or timezone. Since I had moved to a different timezone, I thought I’ll give that a shot.

The logs in my umbrel node look clean, I will check tomorrow to see if the syncing is in better shape. It’s at 98.72% for now.

I reset my timezone and things appear to be working. Thanks for the pointer!
How to Set the Timezone on Your Raspberry Pi - Howchoo

No luck, I updated my timezone, rebooted, and no luck. I did move to CenturyLink which may be blocking TOR. I downloaded TOR Browser and it could not connect so I guess I need a new ISP…

tor_server_1 | Sep 08 21:04:31.000 [warn] 16 connections have failed:
tor_server_1 | Sep 08 21:04:31.000 [warn] 10 connections died in state handshaking (TLS) with SSL state SSLv3/TLS write client hello in HANDSHAKE
tor_server_1 | Sep 08 21:04:31.000 [warn] 6 connections died in state connect()ing with SSL state (No SSL object)
tor_server_1 | Sep 08 21:05:38.000 [warn] Problem bootstrapping. Stuck at 10% (conn_done): Connected to a relay. (Connection timed out; TIMEOUT; count 17; recommendation warn; host 0A592CE8A53AECDF9130D37245C6460B238728DF at 77.50.84.6:443)
tor_server_1 | Sep 08 21:05:38.000 [warn] 16 connections have failed:
tor_server_1 | Sep 08 21:05:38.000 [warn] 10 connections died in state handshaking (TLS) with SSL state SSLv3/TLS write client hello in HANDSHAKE
tor_server_1 | Sep 08 21:05:38.000 [warn] 6 connections died in state connect()ing with SSL state (No SSL object)