orbot icon indicating copy to clipboard operation
orbot copied to clipboard

Orbit VPN freezes

Open gbano opened this issue 5 years ago • 3 comments

Hello,

I‘ve been using Orbot and torify most apps usually via the VPN mode. But it often seems to freeze and with it it freezes internet access for all torified apps. Orbot itself is still running, VPN mode as well (both symbols appear at the top of the screen). But anything that’s torified often just won’t have internet access at all. Turn off VPN- everything works. Change TOR identity, keep VPN on- no change. When using torified apps and VPN is frozen, no data flow is shown in the Orbot app.

The only way to resolve it is to force-stop Orbot and restart both services. It seems to happen after the device went asleep, but haven’t exactly been able to verify this (it never happened during active use).

Some device info: Orbot 16.3.3-RC-1-tor-0.4.3.6 on a Galaxy J600FXXS9CTI2, Android 10, built QP1A.190711.020.J600FNXXS9CTI12, kernel 3.18.140-18765881. I have however seen this on various other (Samsung) devices going back to Andriod 4.2.2.

gbano avatar Dec 06 '20 14:12 gbano

Same here...I often have to close Orbot completely and restart it. Especially happens overnight / connection is not used for a while.

Michas0206 avatar Jan 14 '21 05:01 Michas0206

Same here, with various Pixel phones running "vanilla" Android 10 or 11, and both Orbot 16.3.3-RC-1-tor-0.4.3.6 (from F-Droid) and 16.4.0-RC-2a-tor-0.4.4.6 (playstore/aurora). Battery optimization for Orbot always disabled.

Sometimes all Orbot-VPN'd apps internet access "freezes" - as described by OP, but often, apps which "just" access the internet through Orbot VPN still work, while all (or some) apps using hidden services don't (but the hidden services are up as they can be accessed by other Android devices or tor on a computer at these times)

makotoror avatar Mar 10 '21 16:03 makotoror

We do see crashes of the tun2socks library which binds the VPN interface into Tor. If you can capture adb output somehow, to see if that is happening, that would help.

Otherwise, we are looking to move to tun2tor a RUST library, or tun2socks-go, a Go library, to have a more reliable and up-to-date solution.

n8fr8 avatar Mar 10 '21 17:03 n8fr8