Tor 0.4.8.x Bug - tor_tls_get_tlssecrets: Non-fatal assertion

I’m getting these errors on my relay :

Nov 29 00:00:36.000 [notice] Tor 0.4.8.9 opening new log file.
Nov 29 10:30:24.000 [warn] {BUG} tor_bug_occurred_(): Bug: ../src/lib/tls/tortls_openssl.c:1674: tor_tls_get_tlssecrets: Non-fatal assertion !(! master_key_len) failed. (on Tor 0.4.8.9 )
Nov 29 10:30:24.000 [warn] {BUG} Bug: Tor 0.4.8.9: Non-fatal assertion !(! master_key_len) failed in tor_tls_get_tlssecrets at ../src/lib/tls/tortls_openssl.c:1674. Stack trace: (on Tor 0.4.8.9 )
Nov 29 10:30:24.000 [warn] {BUG} Bug:     /usr/bin/tor(log_backtrace_impl+0x5a) [0x557022d11caa] (on Tor 0.4.8.9 )
Nov 29 10:30:24.000 [warn] {BUG} Bug:     /usr/bin/tor(tor_bug_occurred_+0x16f) [0x557022d1d04f] (on Tor 0.4.8.9 )
Nov 29 10:30:24.000 [warn] {BUG} Bug:     /usr/bin/tor(tor_tls_get_tlssecrets+0x3d7) [0x557022d357d7] (on Tor 0.4.8.9 )
Nov 29 10:30:24.000 [warn] {BUG} Bug:     /usr/bin/tor(connection_or_compute_authenticate_cell_body+0x20a) [0x557022e4eada] (on Tor 0.4.8.9 )
Nov 29 10:30:24.000 [warn] {BUG} Bug:     /usr/bin/tor(connection_or_send_authenticate_cell+0xa0) [0x557022e4f170] (on Tor 0.4.8.9 )
Nov 29 10:30:24.000 [warn] {BUG} Bug:     /usr/bin/tor(channel_tls_handle_var_cell+0xe09) [0x557022d7c719] (on Tor 0.4.8.9 )
Nov 29 10:30:24.000 [warn] {BUG} Bug:     /usr/bin/tor(+0x1a64ab) [0x557022dcc4ab] (on Tor 0.4.8.9 )
Nov 29 10:30:24.000 [warn] {BUG} Bug:     /usr/bin/tor(connection_handle_read+0xb29) [0x557022dc2859] (on Tor 0.4.8.9 )
Nov 29 10:30:24.000 [warn] {BUG} Bug:     /usr/bin/tor(+0x720fd) [0x557022c980fd] (on Tor 0.4.8.9 )
Nov 29 10:30:24.000 [warn] {BUG} Bug:     /lib/x86_64-linux-gnu/libevent-2.1.so.7(+0x2113f) [0x7f05960cd13f] (on Tor 0.4.8.9 )
Nov 29 10:30:24.000 [warn] {BUG} Bug:     /lib/x86_64-linux-gnu/libevent-2.1.so.7(event_base_loop+0x52f) [0x7f05960cd87f] (on Tor 0.4.8.9 )
Nov 29 10:30:24.000 [warn] {BUG} Bug:     /usr/bin/tor(do_main_loop+0x105) [0x557022c993d5] (on Tor 0.4.8.9 )
Nov 29 10:30:24.000 [warn] {BUG} Bug:     /usr/bin/tor(tor_run_main+0x195) [0x557022c94cb5] (on Tor 0.4.8.9 )
Nov 29 10:30:24.000 [warn] {BUG} Bug:     /usr/bin/tor(tor_main+0x3e) [0x557022c9119e] (on Tor 0.4.8.9 )
Nov 29 10:30:24.000 [warn] {BUG} Bug:     /usr/bin/tor(main+0x1d) [0x557022c90d4d] (on Tor 0.4.8.9 )
Nov 29 10:30:24.000 [warn] {BUG} Bug:     /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7f05959a4083] (on Tor 0.4.8.9 )
Nov 29 10:30:24.000 [warn] {BUG} Bug:     /usr/bin/tor(_start+0x2e) [0x557022c90dae] (on Tor 0.4.8.9 )
Nov 29 10:30:24.000 [warn] {NET} Missing master key after handshake using TLSv1.3 (cipher: TLS_CHACHA20_POLY1305_SHA256, server: false) from [xxx]:3389 ID=<none> RSA_ID=653457E5ACA5783FF67F36EE9843025A3460006F
Nov 29 10:30:24.000 [warn] {OR} Couldn't send authenticate cell
5 Likes

Thank you for your report. I have passed on your Tor logs to the Network team for review.

2 Likes

I’m having the same issue recently.
Can you tell me how it was fixed?

I updated and upgraded my relay with sudo apt update && apt upgrade, rebooted the server and tried to restart the tor service multiple times but always get the following error:

$ systemctl status tor@default
× tor@default.service - Anonymizing overlay network for TCP
     Loaded: loaded (/lib/systemd/system/tor@default.service; enabled-runtime; preset: enabled)
     Active: failed (Result: exit-code) since Mon 2024-06-10 09:57:13 UTC; 9s ago
    Process: 1874 ExecStartPre=/usr/bin/install -Z -m 02755 -o debian-tor -g debian-tor -d /run/tor (code=exited, status=0/SUCCESS)
    Process: 1875 ExecStartPre=/usr/bin/tor --defaults-torrc /usr/share/tor/tor-service-defaults-torrc -f /etc/tor/torrc --RunAsDaemon 0 --verify-config (code=exited, status=0/SUCCESS)
    Process: 1876 ExecStart=/usr/bin/tor --defaults-torrc /usr/share/tor/tor-service-defaults-torrc -f /etc/tor/torrc --RunAsDaemon 0 (code=exited, status=1/FAILURE)
   Main PID: 1876 (code=exited, status=1/FAILURE)
        CPU: 44ms

Jun 10 09:57:13 torrelay systemd[1]: tor@default.service: Main process exited, code=exited, status=1/FAILURE
Jun 10 09:57:13 torrelay systemd[1]: tor@default.service: Failed with result 'exit-code'.
Jun 10 09:57:13 torrelay systemd[1]: Failed to start tor@default.service - Anonymizing overlay network for TCP.
Jun 10 09:57:13 torrelay systemd[1]: tor@default.service: Scheduled restart job, restart counter is at 5.
Jun 10 09:57:13 torrelay systemd[1]: Stopped tor@default.service - Anonymizing overlay network for TCP.
Jun 10 09:57:13 torrelay systemd[1]: tor@default.service: Start request repeated too quickly.
Jun 10 09:57:13 torrelay systemd[1]: tor@default.service: Failed with result 'exit-code'.
Jun 10 09:57:13 torrelay systemd[1]: Failed to start tor@default.service - Anonymizing overlay network for TCP.

Here is my journalctl log:

Jun 04 03:02:39 torrelay Tor[25494]: tor_bug_occurred_(): Bug: ../src/lib/tls/tortls_openssl.c:1674: tor_tls_get_tlssecrets: Non-fatal assertion !(! master_key_len) failed. (on Tor 0.4.8.1>
Jun 04 03:02:39 torrelay Tor[25494]: Bug: Tor 0.4.8.11: Non-fatal assertion !(! master_key_len) failed in tor_tls_get_tlssecrets at ../src/lib/tls/tortls_openssl.c:1674. Stack trace: (on T>
Jun 04 03:02:39 torrelay Tor[25494]: Bug:     /usr/bin/tor(log_backtrace_impl+0x57) [0x55e48443fea7] (on Tor 0.4.8.11 )
Jun 04 03:02:39 torrelay Tor[25494]: Bug:     /usr/bin/tor(tor_bug_occurred_+0x169) [0x55e48444adf9] (on Tor 0.4.8.11 )
Jun 04 03:02:39 torrelay Tor[25494]: Bug:     /usr/bin/tor(tor_tls_get_tlssecrets+0x3b7) [0x55e484463eb7] (on Tor 0.4.8.11 )
Jun 04 03:02:39 torrelay Tor[25494]: Bug:     /usr/bin/tor(connection_or_compute_authenticate_cell_body+0x20f) [0x55e48457e06f] (on Tor 0.4.8.11 )
Jun 04 03:02:39 torrelay Tor[25494]: Bug:     /usr/bin/tor(connection_or_send_authenticate_cell+0x98) [0x55e48457e6f8] (on Tor 0.4.8.11 )
Jun 04 03:02:39 torrelay Tor[25494]: Bug:     /usr/bin/tor(channel_tls_handle_var_cell+0x10fc) [0x55e4844abd7c] (on Tor 0.4.8.11 )
Jun 04 03:02:39 torrelay Tor[25494]: Bug:     /usr/bin/tor(+0x1a72f3) [0x55e4844fc2f3] (on Tor 0.4.8.11 )
Jun 04 03:02:39 torrelay Tor[25494]: Bug:     /usr/bin/tor(+0x19d644) [0x55e4844f2644] (on Tor 0.4.8.11 )
Jun 04 03:02:39 torrelay Tor[25494]: Bug:     /usr/bin/tor(+0x70369) [0x55e4843c5369] (on Tor 0.4.8.11 )
Jun 04 03:02:39 torrelay Tor[25494]: Bug:     /lib/x86_64-linux-gnu/libevent-2.1.so.7(+0x21585) [0x7f6ddcac2585] (on Tor 0.4.8.11 )
Jun 04 03:02:39 torrelay Tor[25494]: Bug:     /lib/x86_64-linux-gnu/libevent-2.1.so.7(event_base_loop+0x49f) [0x7f6ddcac2c1f] (on Tor 0.4.8.11 )
Jun 04 03:02:39 torrelay Tor[25494]: Bug:     /usr/bin/tor(do_main_loop+0xf1) [0x55e4843c6671] (on Tor 0.4.8.11 )
Jun 04 03:02:39 torrelay Tor[25494]: Bug:     /usr/bin/tor(tor_run_main+0x1e5) [0x55e4843c1fa5] (on Tor 0.4.8.11 )
Jun 04 03:02:39 torrelay Tor[25494]: Bug:     /usr/bin/tor(tor_main+0x59) [0x55e4843be329] (on Tor 0.4.8.11 )
Jun 04 03:02:39 torrelay Tor[25494]: Bug:     /usr/bin/tor(main+0x19) [0x55e4843bdee9] (on Tor 0.4.8.11 )
Jun 04 03:02:39 torrelay Tor[25494]: Bug:     /lib/x86_64-linux-gnu/libc.so.6(+0x2724a) [0x7f6ddc18a24a] (on Tor 0.4.8.11 )
Jun 04 03:02:39 torrelay Tor[25494]: Bug:     /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7f6ddc18a305] (on Tor 0.4.8.11 )
Jun 04 03:02:39 torrelay Tor[25494]: Bug:     /usr/bin/tor(_start+0x21) [0x55e4843bdf31] (on Tor 0.4.8.11 )
Jun 04 03:02:39 torrelay Tor[25494]: Missing master key after handshake using TLSv1.3 (cipher: TLS_CHACHA20_POLY1305_SHA256, server: false) from 43.157.79.202:7443 ID=<none> RSA_ID=4923E0C>
Jun 04 03:02:39 torrelay Tor[25494]: Couldn't send authenticate cell

my system:

$ lsb_release
Distributor ID: Debian
Description:    Debian GNU/Linux 12 (bookworm)
Release:        12
Codename:       bookworm

$ cat /proc/version
Linux version 6.8.4-3-pve (build@proxmox) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40)

I searched for a fix online but found nothing. I don’t know what else I could do to because I am quite new to running a tor-relay.
I’ll be happy for any advice.
Thanks.

1 Like

Hi all

FWIW the following bug report was in the logs for a non-exit relay recently (tor 0.4.8.12).

2024-06-14T03:42:26.621Z x.x.x.x hostname Tor[62888]: No circuits are opened. Relaxed timeout for circuit 27264 (a Measuring circuit timeout 3-hop circuit in state doing handshakes with channel state open) to 62468ms. However, it appears the circuit has timed out anyway. [1 similar message(s) suppressed in last 3780 seconds]
2024-06-14T04:36:48.765Z x.x.x.x hostname Tor[62888]: tor_bug_occurred_: Bug: src/lib/tls/tortls_openssl.c:1674: tor_tls_get_tlssecrets: Non-fatal assertion !(! master_key_len) failed. (on Tor 0.4.8.12 )
2024-06-14T04:36:48.777Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc0620a991 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:36:48.777Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06218764 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:36:48.777Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06230e0e <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:36:48.777Z x.x.x.x hostname Tor[62888]: Bug: Tor 0.4.8.12: Non-fatal assertion !(! master_key_len) failed in tor_tls_get_tlssecrets at src/lib/tls/tortls_openssl.c:1674. Stack trace: (on Tor 0.4.8.12 )
2024-06-14T04:36:48.778Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc0607f939 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:36:48.778Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06086b6a <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:36:48.778Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc061a236f <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:36:48.778Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc061a27b6 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:36:48.779Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06067559 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:36:48.779Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc0607ab3e <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:36:48.779Z x.x.x.x hostname Tor[62888]: Bug:     0x2beba6b0b16 <event_base_assert_ok_nolock_+0xcf6> at /usr/local/lib/libevent_core.so.2.1 (on Tor 0.4.8.12 )
2024-06-14T04:36:48.780Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc060696df <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:36:48.780Z x.x.x.x hostname Tor[62888]: Bug:     0x2beba6abf4c <event_base_loop+0x59c> at /usr/local/lib/libevent_core.so.2.1 (on Tor 0.4.8.12 )
2024-06-14T04:36:48.781Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc060551ab <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:36:48.781Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc060554bf <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:36:48.781Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06056d31 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:36:48.781Z x.x.x.x hostname Tor[62888]: Missing master key after handshake using TLSv1.3 (cipher: TLS_CHACHA20_POLY1305_SHA256, server: false) from 38.181.34.91:7443 ID=<none> RSA_ID=9B9911DC58D5E7618C8F52858C77A8318407A38E
2024-06-14T04:36:48.782Z x.x.x.x hostname Tor[62888]: Couldn't send authenticate cell
2024-06-14T04:37:01.172Z x.x.x.x hostname Tor[62888]: tor_bug_occurred_: Bug: src/lib/tls/tortls_openssl.c:1674: tor_tls_get_tlssecrets: Non-fatal assertion !(! master_key_len) failed. (on Tor 0.4.8.12 )
2024-06-14T04:37:01.174Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc0620a991 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:37:01.174Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06218764 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:37:01.174Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06230e0e <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:37:01.174Z x.x.x.x hostname Tor[62888]: Bug: Tor 0.4.8.12: Non-fatal assertion !(! master_key_len) failed in tor_tls_get_tlssecrets at src/lib/tls/tortls_openssl.c:1674. Stack trace: (on Tor 0.4.8.12 )
2024-06-14T04:37:01.175Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc0607ab3e <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:37:01.175Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc0607f939 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:37:01.175Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06086b6a <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:37:01.175Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc061a236f <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:37:01.175Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc061a27b6 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:37:01.176Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06067559 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:37:01.176Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc060696df <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:37:01.176Z x.x.x.x hostname Tor[62888]: Bug:     0x2beba6abf4c <event_base_loop+0x59c> at /usr/local/lib/libevent_core.so.2.1 (on Tor 0.4.8.12 )
2024-06-14T04:37:01.176Z x.x.x.x hostname Tor[62888]: Bug:     0x2beba6b0b16 <event_base_assert_ok_nolock_+0xcf6> at /usr/local/lib/libevent_core.so.2.1 (on Tor 0.4.8.12 )
2024-06-14T04:37:01.177Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc060551ab <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:37:01.177Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc060554bf <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:37:01.177Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06056d31 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:37:01.177Z x.x.x.x hostname Tor[62888]: Missing master key after handshake using TLSv1.3 (cipher: TLS_CHACHA20_POLY1305_SHA256, server: false) from 8.208.76.239:7443 ID=<none> RSA_ID=10143B9D45F5C5319C29385A9D3503E25C8285BE
2024-06-14T04:37:01.178Z x.x.x.x hostname Tor[62888]: Couldn't send authenticate cell
2024-06-14T04:38:51.127Z x.x.x.x hostname Tor[62888]: tor_bug_occurred_: Bug: src/lib/tls/tortls_openssl.c:1674: tor_tls_get_tlssecrets: Non-fatal assertion !(! master_key_len) failed. (on Tor 0.4.8.12 )
2024-06-14T04:38:51.129Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc0620a991 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:38:51.129Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06218764 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:38:51.129Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06230e0e <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:38:51.129Z x.x.x.x hostname Tor[62888]: Bug: Tor 0.4.8.12: Non-fatal assertion !(! master_key_len) failed in tor_tls_get_tlssecrets at src/lib/tls/tortls_openssl.c:1674. Stack trace: (on Tor 0.4.8.12 )
2024-06-14T04:38:51.130Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc0607f939 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:38:51.130Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06086b6a <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:38:51.130Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc061a236f <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:38:51.130Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc061a27b6 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:38:51.131Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06067559 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:38:51.131Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc0607ab3e <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:38:51.131Z x.x.x.x hostname Tor[62888]: Bug:     0x2beba6abf4c <event_base_loop+0x59c> at /usr/local/lib/libevent_core.so.2.1 (on Tor 0.4.8.12 )
2024-06-14T04:38:51.131Z x.x.x.x hostname Tor[62888]: Bug:     0x2beba6b0b16 <event_base_assert_ok_nolock_+0xcf6> at /usr/local/lib/libevent_core.so.2.1 (on Tor 0.4.8.12 )
2024-06-14T04:38:51.132Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc060554bf <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:38:51.132Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06056d31 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:38:51.132Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc060696df <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:38:51.133Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc060551ab <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:38:51.133Z x.x.x.x hostname Tor[62888]: Couldn't send authenticate cell
2024-06-14T04:38:51.133Z x.x.x.x hostname Tor[62888]: Missing master key after handshake using TLSv1.3 (cipher: TLS_CHACHA20_POLY1305_SHA256, server: false) from 43.157.6.71:7443 ID=<none> RSA_ID=632BA403C7CD798408D0EF6D8A561529495E6A05
2024-06-14T04:43:11.217Z x.x.x.x hostname Tor[62888]: tor_bug_occurred_: Bug: src/lib/tls/tortls_openssl.c:1674: tor_tls_get_tlssecrets: Non-fatal assertion !(! master_key_len) failed. (on Tor 0.4.8.12 )
2024-06-14T04:43:11.218Z x.x.x.x hostname Tor[62888]: Bug: Tor 0.4.8.12: Non-fatal assertion !(! master_key_len) failed in tor_tls_get_tlssecrets at src/lib/tls/tortls_openssl.c:1674. Stack trace: (on Tor 0.4.8.12 )
2024-06-14T04:43:11.219Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc061a236f <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:43:11.219Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc061a27b6 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:43:11.219Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc0620a991 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:43:11.219Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06218764 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:43:11.219Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06230e0e <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:43:11.220Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06067559 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:43:11.220Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc0607ab3e <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:43:11.220Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc0607f939 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:43:11.220Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06086b6a <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:43:11.221Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc060696df <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:43:11.221Z x.x.x.x hostname Tor[62888]: Bug:     0x2beba6abf4c <event_base_loop+0x59c> at /usr/local/lib/libevent_core.so.2.1 (on Tor 0.4.8.12 )
2024-06-14T04:43:11.221Z x.x.x.x hostname Tor[62888]: Bug:     0x2beba6b0b16 <event_base_assert_ok_nolock_+0xcf6> at /usr/local/lib/libevent_core.so.2.1 (on Tor 0.4.8.12 )
2024-06-14T04:43:11.222Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc060551ab <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:43:11.222Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc060554bf <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:43:11.222Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06056d31 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:43:11.222Z x.x.x.x hostname Tor[62888]: Couldn't send authenticate cell
2024-06-14T04:43:11.222Z x.x.x.x hostname Tor[62888]: Missing master key after handshake using TLSv1.3 (cipher: TLS_CHACHA20_POLY1305_SHA256, server: false) from 8.208.76.239:7443 ID=<none> RSA_ID=10143B9D45F5C5319C29385A9D3503E25C8285BE
2024-06-14T04:49:42.508Z x.x.x.x hostname Tor[62888]: tor_bug_occurred_: Bug: src/lib/tls/tortls_openssl.c:1674: tor_tls_get_tlssecrets: Non-fatal assertion !(! master_key_len) failed. (on Tor 0.4.8.12 )
2024-06-14T04:49:42.510Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc0620a991 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:49:42.510Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06218764 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:49:42.510Z x.x.x.x hostname Tor[62888]: Bug: Tor 0.4.8.12: Non-fatal assertion !(! master_key_len) failed in tor_tls_get_tlssecrets at src/lib/tls/tortls_openssl.c:1674. Stack trace: (on Tor 0.4.8.12 )
2024-06-14T04:49:42.511Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06086b6a <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:49:42.511Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc061a236f <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:49:42.511Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc061a27b6 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:49:42.511Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06230e0e <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:49:42.512Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06067559 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:49:42.512Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc0607ab3e <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:49:42.512Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc0607f939 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:49:42.513Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc060696df <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:49:42.513Z x.x.x.x hostname Tor[62888]: Bug:     0x2beba6abf4c <event_base_loop+0x59c> at /usr/local/lib/libevent_core.so.2.1 (on Tor 0.4.8.12 )
2024-06-14T04:49:42.513Z x.x.x.x hostname Tor[62888]: Bug:     0x2beba6b0b16 <event_base_assert_ok_nolock_+0xcf6> at /usr/local/lib/libevent_core.so.2.1 (on Tor 0.4.8.12 )
2024-06-14T04:49:42.514Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc060551ab <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:49:42.514Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc060554bf <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:49:42.514Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06056d31 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:49:42.514Z x.x.x.x hostname Tor[62888]: Missing master key after handshake using TLSv1.3 (cipher: TLS_CHACHA20_POLY1305_SHA256, server: false) from 43.133.194.168:7443 ID=<none> RSA_ID=651FC32A62DF3EE612B89A6615B0A5A662982F3B
2024-06-14T04:49:42.515Z x.x.x.x hostname Tor[62888]: Couldn't send authenticate cell
2024-06-14T04:53:44.393Z x.x.x.x hostname Tor[62888]: No circuits are opened. Relaxed timeout for circuit 28457 (a Measuring circuit timeout 3-hop circuit in state doing handshakes with channel state open) to 60000ms. However, it appears the circuit has timed out anyway. [2 similar message(s) suppressed in last 2520 seconds]
2024-06-14T04:56:47.142Z x.x.x.x hostname Tor[62888]: tor_bug_occurred_: Bug: src/lib/tls/tortls_openssl.c:1674: tor_tls_get_tlssecrets: Non-fatal assertion !(! master_key_len) failed. (on Tor 0.4.8.12 )
2024-06-14T04:56:47.144Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc0620a991 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:56:47.144Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06218764 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:56:47.144Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06230e0e <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:56:47.144Z x.x.x.x hostname Tor[62888]: Bug: Tor 0.4.8.12: Non-fatal assertion !(! master_key_len) failed in tor_tls_get_tlssecrets at src/lib/tls/tortls_openssl.c:1674. Stack trace: (on Tor 0.4.8.12 )
2024-06-14T04:56:47.145Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc0607f939 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:56:47.145Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06086b6a <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:56:47.145Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc061a236f <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:56:47.145Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc061a27b6 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:56:47.146Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06067559 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:56:47.146Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc0607ab3e <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:56:47.146Z x.x.x.x hostname Tor[62888]: Bug:     0x2beba6abf4c <event_base_loop+0x59c> at /usr/local/lib/libevent_core.so.2.1 (on Tor 0.4.8.12 )
2024-06-14T04:56:47.146Z x.x.x.x hostname Tor[62888]: Bug:     0x2beba6b0b16 <event_base_assert_ok_nolock_+0xcf6> at /usr/local/lib/libevent_core.so.2.1 (on Tor 0.4.8.12 )
2024-06-14T04:56:47.147Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc060551ab <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:56:47.147Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc060554bf <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:56:47.147Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06056d31 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:56:47.147Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc060696df <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:56:47.147Z x.x.x.x hostname Tor[62888]: Missing master key after handshake using TLSv1.3 (cipher: TLS_CHACHA20_POLY1305_SHA256, server: false) from 47.91.17.236:7443 ID=<none> RSA_ID=17CE5C7E438121E7EEA2DB17039DEC6394BA5A4C
2024-06-14T04:56:47.148Z x.x.x.x hostname Tor[62888]: Couldn't send authenticate cell
2024-06-14T04:57:42.896Z x.x.x.x hostname Tor[62888]: tor_bug_occurred_: Bug: src/lib/tls/tortls_openssl.c:1674: tor_tls_get_tlssecrets: Non-fatal assertion !(! master_key_len) failed. (on Tor 0.4.8.12 )
2024-06-14T04:57:42.900Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc0620a991 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:57:42.900Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06218764 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:57:42.900Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06230e0e <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:57:42.900Z x.x.x.x hostname Tor[62888]: Bug: Tor 0.4.8.12: Non-fatal assertion !(! master_key_len) failed in tor_tls_get_tlssecrets at src/lib/tls/tortls_openssl.c:1674. Stack trace: (on Tor 0.4.8.12 )
2024-06-14T04:57:42.901Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06067559 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:57:42.901Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc0607ab3e <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:57:42.901Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc0607f939 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:57:42.901Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06086b6a <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:57:42.901Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc061a236f <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:57:42.901Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc061a27b6 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:57:42.901Z x.x.x.x hostname Tor[62888]: Bug:     0x2beba6abf4c <event_base_loop+0x59c> at /usr/local/lib/libevent_core.so.2.1 (on Tor 0.4.8.12 )
2024-06-14T04:57:42.901Z x.x.x.x hostname Tor[62888]: Bug:     0x2beba6b0b16 <event_base_assert_ok_nolock_+0xcf6> at /usr/local/lib/libevent_core.so.2.1 (on Tor 0.4.8.12 )
2024-06-14T04:57:42.902Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc06056d31 <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:57:42.902Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc060696df <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:57:42.903Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc060551ab <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:57:42.903Z x.x.x.x hostname Tor[62888]: Bug:     0x2bc060554bf <???> at /usr/local/bin/tor (on Tor 0.4.8.12 )
2024-06-14T04:57:42.903Z x.x.x.x hostname Tor[62888]: Couldn't send authenticate cell
2024-06-14T04:57:42.903Z x.x.x.x hostname Tor[62888]: Missing master key after handshake using TLSv1.3 (cipher: TLS_CHACHA20_POLY1305_SHA256, server: false) from 8.208.12.9:7443 ID=<none> RSA_ID=4C8557BA6655E6587B6219C9E2597F5E6302ACAA
2024-06-15T00:06:17.761Z x.x.x.x hostname Tor[62888]: Circuit handshake stats since last time: 1/1 TAP, 947985/947989 NTor.
2024-06-15T00:06:17.761Z x.x.x.x hostname Tor[62888]: Heartbeat: DoS mitigation since startup: 4 circuits killed with too many cells, 0 circuits rejected, 0 marked addresses, 0 marked addresses for max queue, 0 same address concurrent connections rejected, 0 connections rejected, 0 single hop clients refused, 0 INTRODUCE2 rejected.
2024-06-15T00:06:17.761Z x.x.x.x hostname Tor[62888]: Since startup we initiated 0 and received 0 v1 connections; initiated 0 and received 0 v2 connections; initiated 0 and received 0 v3 connections; initiated 0 and received 0 v4 connections; initiated 19926 and received 42542 v5 connections.

www16_bug_log.txt (19.7 KB)

2 Likes