Skip to content

Status reads "Connected" even though access to Tor is blocked and connection doesn't work

Steps to reproduce

  1. Configure Tor VPN with "None protected" and "Connect directly to Tor".

  2. Force stop Tor VPN.

  3. Connect to a Wi-Fi network that blocks Tor. I managed this with these firewall rules: https://gitlab.tails.boum.org/tails/ux/-/blob/master/network/raspi/ferm.conf.

  4. Open Tor VPN and click "Connect".

  5. I get a "Connected" status pretty quickly, but connecting to a website from Firefox doesn't work.

    In the Tor logs, I get lots of failure messages.

  6. If I stop Tor VPN, I can connect again to websites from Firefox.

Logs

08:04:14:728 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 110
08:04:14:722 W/onionmasq: tor_guardmgr::guard: Could not connect to guard [scrubbed]. We'll retry later, and let you know if it succeeds.
08:04:14:425 W/onionmasq: tor_guardmgr::guard: Could not connect to guard [scrubbed]. We'll retry later, and let you know if it succeeds.
08:04:13:548 W/onionmasq: tor_guardmgr::guard: Could not connect to guard [scrubbed]. We'll retry later, and let you know if it succeeds.
08:04:13:488 W/onionmasq: tor_chanmgr::transport::default: Connection to [scrubbed] failed: error: Network is unreachable (os error 101)
08:04:13:488 W/onionmasq: onion_tunnel::runtime: Arti failed to connect to [2001:8d8:1800:208::1]:9001: Network is unreachable (os error 101)
08:04:13:479 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 128
08:04:13:375 W/onionmasq: tor_chanmgr::transport::default: Connection to [scrubbed] failed: error: Network is unreachable (os error 101)
08:04:13:375 W/onionmasq: onion_tunnel::runtime: Arti failed to connect to [2a01:4f8:160:8410::2]:993: Network is unreachable (os error 101)
08:04:13:367 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 139
08:04:13:367 W/onionmasq: tor_chanmgr::transport::default: Connection to [scrubbed] failed: error: Network is unreachable (os error 101)
08:04:13:366 W/onionmasq: onion_tunnel::runtime: Arti failed to connect to [2a01:4f9:3081:414c::2]:9001: Network is unreachable (os error 101)
08:04:13:360 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 139
08:04:13:355 W/onionmasq: tor_chanmgr::transport::default: Connection to [scrubbed] failed: error: Network is unreachable (os error 101)
08:04:13:355 W/onionmasq: onion_tunnel::runtime: Arti failed to connect to [2a03:4000:28:174:3838:ceff:fe4b:a166]:9002: Network is unreachable (os error 101)
08:04:13:349 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 139
08:04:13:328 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 115
08:04:13:229 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 119
08:04:13:229 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 117
08:04:13:214 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 109
08:04:13:201 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 116
08:04:11:957 W/onionmasq: tor_chanmgr::transport::default: Connection to [scrubbed] failed: error: Network is unreachable (os error 101)
08:04:11:957 W/onionmasq: onion_tunnel::runtime: Arti failed to connect to [2a01:4f9:3b:468e::13]:9443: Network is unreachable (os error 101)
08:04:11:957 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 119
08:04:11:793 W/onionmasq: tor_chanmgr::transport::default: Connection to [scrubbed] failed: error: Network is unreachable (os error 101)
08:04:11:792 W/onionmasq: onion_tunnel::runtime: Arti failed to connect to [2a03:4000:8:61b:85e:b6ff:fefa:8752]:9001: Network is unreachable (os error 101)
08:04:11:789 W/onionmasq: tor_chanmgr::transport::default: Connection to [scrubbed] failed: error: Network is unreachable (os error 101)
08:04:11:789 W/onionmasq: onion_tunnel::runtime: Arti failed to connect to [2a01:4f8:211:cc::2]:8080: Network is unreachable (os error 101)
08:04:11:780 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 157
08:04:11:779 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 127
08:04:11:777 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 124
08:04:11:682 W/onionmasq: tor_chanmgr::transport::default: Connection to [scrubbed] failed: error: Network is unreachable (os error 101)
08:04:11:681 W/onionmasq: onion_tunnel::runtime: Arti failed to connect to [2a0b:f4c2:2:1::203]:443: Network is unreachable (os error 101)
08:04:11:639 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 154
08:04:11:639 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 155
08:04:11:631 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 153
08:04:11:631 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 95
08:04:11:631 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 152
08:04:11:631 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 120
08:04:11:631 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 121
08:04:11:504 W/onionmasq: tor_guardmgr::guard: Could not connect to guard [scrubbed]. We'll retry later, and let you know if it succeeds.
08:04:11:242 W/onionmasq: tor_guardmgr::guard: Could not connect to guard [scrubbed]. We'll retry later, and let you know if it succeeds.
08:04:11:242 W/onionmasq: tor_guardmgr::guard: Could not connect to guard [scrubbed]. We'll retry later, and let you know if it succeeds.
08:04:11:241 W/onionmasq: tor_guardmgr::guard: Could not connect to guard [scrubbed]. We'll retry later, and let you know if it succeeds.
08:04:11:237 W/onionmasq: tor_guardmgr::guard: Could not connect to guard [scrubbed]. We'll retry later, and let you know if it succeeds.
08:04:10:508 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 113
08:04:09:836 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 96
08:04:09:650 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 110
08:04:08:479 W/onionmasq: tor_chanmgr::transport::default: Connection to [scrubbed] failed: error: Network is unreachable (os error 101)
08:04:08:479 W/onionmasq: onion_tunnel::runtime: Arti failed to connect to [2001:8d8:1800:208::1]:9001: Network is unreachable (os error 101)
08:04:08:475 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 110
08:04:08:358 W/onionmasq: tor_chanmgr::transport::default: Connection to [scrubbed] failed: error: Network is unreachable (os error 101)
08:04:08:358 W/onionmasq: tor_chanmgr::transport::default: Connection to [scrubbed] failed: error: Network is unreachable (os error 101)
08:04:08:358 W/onionmasq: onion_tunnel::runtime: Arti failed to connect to [2a01:4f8:160:8410::2]:993: Network is unreachable (os error 101)
08:04:08:358 W/onionmasq: onion_tunnel::runtime: Arti failed to connect to [2a01:4f9:3081:414c::2]:9001: Network is unreachable (os error 101)
08:04:08:350 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 137
08:04:08:350 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 120
08:04:08:350 W/onionmasq: tor_chanmgr::transport::default: Connection to [scrubbed] failed: error: Network is unreachable (os error 101)
08:04:08:350 W/onionmasq: onion_tunnel::runtime: Arti failed to connect to [2a03:4000:28:174:3838:ceff:fe4b:a166]:9002: Network is unreachable (os error 101)
08:04:08:345 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 120
08:04:08:327 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 148
08:04:08:327 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 147
08:04:08:327 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 146
08:04:08:199 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 109
08:04:08:199 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 116
08:04:07:865 W/onionmasq: tor_guardmgr::guard: Could not connect to guard [scrubbed]. We'll retry later, and let you know if it succeeds.
08:04:07:697 W/onionmasq: tor_guardmgr::guard: Could not connect to guard [scrubbed]. We'll retry later, and let you know if it succeeds.
08:04:06:599 W/onionmasq: tor_chanmgr::transport::default: Connection to [scrubbed] failed: error: Network is unreachable (os error 101)
08:04:06:599 W/onionmasq: onion_tunnel::runtime: Arti failed to connect to [2a04:ecc0:8:a8:4567:906:0:1]:9600: Network is unreachable (os error 101)
08:04:06:592 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 120
08:04:06:442 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 95
08:04:04:829 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 117
08:04:04:827 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 96
08:04:04:483 W/onionmasq: tor_guardmgr::guard: Could not connect to guard [scrubbed]. We'll retry later, and let you know if it succeeds.
08:04:01:600 W/onionmasq: tor_chanmgr::transport::default: Connection to [scrubbed] failed: error: Network is unreachable (os error 101)
08:04:01:599 W/onionmasq: onion_tunnel::runtime: Arti failed to connect to [2a04:ecc0:8:a8:4567:906:0:1]:9600: Network is unreachable (os error 101)
08:04:01:591 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 96
08:04:01:577 I/onionmasq: tor_dirmgr::bootstrap: 1: Downloading a consensus.attempt=2
08:04:01:577 I/onionmasq: tor_dirmgr: Directory is complete.attempt=1
08:04:01:564 I/onionmasq: tor_dirmgr: Marked consensus usable.
08:04:01:443 D/onionmasq: onionmasq_mobile::scaffolding: AndroidScaffolding::protect() for fd 95
08:04:01:237 Bootstrap at: Bootstrapping complete
08:04:01:236 CONNECTED
08:04:01:193 I/onionmasq: onionmasq_mobile: Bootstrapping completed.
08:04:01:193 I/onionmasq: tor_dirmgr: Loaded a good directory from cache.
08:04:01:177 Bootstrap at: 77%: connecting to the internet; directory is fetching microdescriptors (7723/7723)
08:04:01:172 I/onionmasq: tor_dirmgr: Marked consensus usable.
08:03:59:333 I/onionmasq: onion_tunnel::dns: Starting DNS manager
08:03:59:333 D/onionmasq: onionmasq_mobile: starting bootstrap event listening ...
08:03:59:333 D/onionmasq: onionmasq_mobile: starting onionmasq...
08:03:59:333 D/onionmasq: onionmasq_mobile: successfully created tun interface
08:03:59:333 I/onionmasq: arti_client::client: Running without a keystore
08:03:59:332 D/onionmasq: onionmasq_mobile: creating onion_tunnel...
08:03:59:332 D/onionmasq: onionmasq_mobile: Onionmasq_runProxy on Android API 31
08:03:59:332 --------- beginning of main
08:03:58:991 169.254.42.1:45814->10.236.83.224:7275: FAILED: failed to connect to TorAddr { host: Ip(10.236.83.224), port: 7275 } via Arti: tor: target address disabled locally: Cannot connect to a local-only address without enabling allow_local_addrs
08:03:58:990 WARNING: Unknown FailedConnectionEvent with proxySrc:proxyDst tuple 169.254.42.1:45814:10.236.83.224:7275
08:03:58:989 169.254.42.1:45814->10.236.83.224:7275: FAILED connection to 10.236.83.224:7275: tor: target address disabled locally: Cannot connect to a local-only address without enabling allow_local_addrs (app 1021)
08:03:58:824 Bootstrap at: 0%: connecting to the internet; not downloading
08:03:58:681 Start reading onionmasq logs from logcat
08:03:58:627 CONNECTING
Edited by sajolida