[BUG] On a GrapheneOS User Profile, Orbot fails SILENTLY, apps connect seamlessly over clearnet
Describe the Bug Orbot on new User Profile does not connect or provide VPN to any apps. (Graphene OS). Fails silently, despite onion icon visible. Apps connect in clearnet.
To Reproduce
- Make new user profile on GrapheneOS install (note, no relevant settings have been knowingly altered in Owner)
- Install Orbot from Google Play in Owner profile, push to new profile
- Launch profile, review settings in Orbot but make no changes (I'm a noob) - Orbot declares it will provide VPN to all apps. Note onion icon in tray.
- Separately, use Tor Browser with its own connection - works as expected.
- Use apps, Infinity_for_reddit, Vanadium browser.
- discover that Vanadium browser loads
whatismyisp.comwith correct, real ISP location - Freak out.
- Review settings: selecting apps does nothing; connection is by bridges <-- thought I saw that somewhere, but cannot find it in settings now (very tired).
- Tried different settings, (below), no success
Expected Behavior If the app says its providing a VPN for all apps, it should provide VPN for all apps.
It should NOT fail silently.
If there are special config considerations, they should be announced in a first-run dialog/wizard, in-app.
If the app needs to be integrated into the operation of e.g. Android VPN settings, instructions should be provided in-app (VPN settings are not self-evident).
Consider also a 'fail-safe' mode, where apps fail to make connections without functional Tor connection.
EDIT II : Actually, failsafe is apparently already built in to Android. See instructions here on Graphene OS forum. For this issue, I just don't understand why it didn't work.
EDIT I: The onion icon is displayed in the tray at all times, regardless of connection status. This is deceptive. If you insist on having an icon at all times, consider an 'empty onion' to indicate lack of connectivity, or a 'strikethrough onion' for no VPN services, or something like that. It has to indicate status.
What Custom Configuration Do You Use? Installation as above. Didn't understand the config options, so left them be for first couple of sessions. Later, tried the options:
isolate destination addresses- selected apps to use VPN
- change exit
- refresh but don't seem to have an effect
Screenshots No screenshot, but log highlights (different device, retyped here) include:
Tor is no longer dormantNo circuits are opened. Relaxed timeout for circuit 373... to 6000ms...Heartbeat: Tor's uptime is 6:00 hours, with 5 circuits open ... sent 3.29MB and received 2.43 MB- etc. There's not much, really.
Also the message:
Proxy Ports HTTP:8118 - SOCKS: 9050
Orbot 17.3.2-RC-1-tor-0.4.8.12 Tor v0.4.8.12
Smartphone (please complete the following information): Pixel 8a, GrapheneOS Android 14 (all updated)
Crash Logs (Advanced) If applicable, add crash logs collected using ADB Logcat.
Additional Context See additional steps in comments.
I really like your idea of a failsafe: Either a stable Tor connection or a forced failed connection to be able to safely keep apps offline until reconnected.
Tried closing and restarting, got a dialog about establishing a VPN.
Managed to briefly get a connection, but shortly after all connectivity failed.
Orbot declares "connected" in all cases.
Made new profile, only added Orbot (Vanadium default installed).
Got first run establishing VPN dialog. No other setting touched. Vanadium showed connection over Tor - whatismyipaddress.com shows exit in Saskatchewan, Canada.
Refreshed, doubled-checked exit nodes (global), refreshed again - each connection exits in same Canadian location, but IPv6 and 4 addresses are different.
Finally (not spending more time on this), its not re-establishing a connection in original profile.
Refresh, off-on again has no effect.
- Press the "Turn Tor off" option --> "Ready to connect" screen. Tray icons change.
- Without connecting again, all traffic on Vanadium is now/still blocked.
- checking with Orbot again, it says its "Connected" - I did not initiate that.
- all apps are deselected in Orbot, displaying "Full Device VPN"
@jcfyre
I really like your idea of a failsafe: Either a stable Tor connection or a forced failed connection to be able to safely keep apps offline until reconnected.
Actually, its apparently already built in to Android. See instructions here on Graphene OS forum.
How well that would work on stock or other variants (i.e. with functional Google Play), I don't know but wouldn't trust it.
For this issue, I just don't understand why it didn't work / didn't prompt me to set it up on first run (I can't remember which, it was days ago now).
@n8fr8 I'm wondering if this bug is limited to Grpahene or any Android that supports having multiple user profiles?
@new-phone I know it's been a while, when you're running Orbot in the additional user profile and are experiencing this bug do you also have Orbot running on your device's Owner profile
@new-phone I know it's been a while, when you're running Orbot in the additional user profile and are experiencing this bug do you also have Orbot running on your device's Owner profile
Orbot was only on one user profile when I experienced this. I have been too distrustful of it to ever use it again.
Orbot was only on one user profile when I experienced this.
...you know, if I am honest I would have to say I'm only 80% confident of that previous statement.
I am completely sure, however, that I have never had it running in Owner profile.