sing-box
sing-box copied to clipboard
Sing-box with gvisor stack stopping but vpn service doesn't [Android]
Operating system
Android
System version
Realme GT Master Edition, Realme UI 4, Android 13
Installation type
sing-box for Android Graphical Client
If you are using a graphical client, please provide the version of the client.
1.6.0(134)
Version
No response
Description
Sometimes, trying to stop the sing-box in the graphical interface results in the sing-box seeming to turn off, but the vpn service continues to work. At the same time, there is no Internet. I have to either start the singbox service again and stop it or force stop
application in system settings.
Also this happens to Nekobox for Android
Actually is duplicate of #921 but with logs :)
Reproduction
- Choose "gvisor" stack. There is no such bug when use "system" stack
- Use sing-box for a long time (30 minutes or more)
Logs
Client config: client_config.json sing-box service log: singbox-log.txt Logcat: logcat.zip
yes, I had the same issue while using gvisor stack. System stack seems OK.
the same with openwrt linux-arm64. internet stuck after 30min+. the connections was under direct rule. the other things when the stack ok, I can't do speedtest.net cli. socket error something. changed to system seems ok.
I think the old sing-box service is not entirely terminated, if I try to restart the VPN multiple times, I can see that the memory usage in the dashboard will ramp up, unless I force stop the app. The initial memory usage is around 8-10MB but restarting I'd get 17-20MB, maybe even more if I continue to restart. Tested with SFA-1.6.5-arm64-v8a.apk, both system and gvisor stack.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days