-
-
Notifications
You must be signed in to change notification settings - Fork 23
[Feature] Auto reconnect on connection drop #159
Comments
From what I've seen it does so after a very long time, at least in my case |
Hmm okay, will check in a bit. |
Is there any service online I can use for a keepalive ping target that works for everybody? I know there's a lot of restrictions in China and a significant portion of my userbase is currently in China so I would prefer to make something that's functional for them as well. |
1.1.1.1? I don't know, but it shouldn't be blocked in China, wouldn't hurt for someone to test it. The keepalive ping target could also be set to just be the VPN endpoint's IP. If it's unreachable due to some other factor, a user would usually also trigger a reconnect. |
Oh yes, endpoint IP would actually be perfect. Thanks for your input! |
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 7 days |
@github-actions[bot] Bump |
This stale thing is just guilt trip via cron |
I'm not sure how related this is but its specific to my android device as the wireguard iOS devices I own do not exhibit an issue (on official app). Device info: That said, unless i use a keepalive of 4sec or less the device eventually stops receiving notifications. As long as the screen is on notifications appear to arrive timely while on wg. This implies there should be no firewall/whitelisting or things like that i need to tweak. I've tried removing any battery optimizations related to viscerion. Thoughts? |
I have this issue on my Samsung device as well (SM-M307FZBDINS), appears to be a thing in Samsung's userspace since the Pixel 2 has not been able to reproduce it. Maybe some of the fixes from https://dontkillmyapp.com/samsung will be able to alleviate the situation for you. |
I've tried that as well, as well as playing with some doze settings with no luck. |
@Fzndox If you have root, there is a last resort thing — make WireGuard/Viscerion a priviledged system app (move the apk to /system/priv-app) |
I tried it, still no luck. I'm at a loss. |
Hello,
It could be a nice feature for Viscerion to be able to reconnect to the VPN after a connection drop.
This could be done by periodically pinging a server and also watching for the CONNECTIVITY_CHANGED broadcast intent
The text was updated successfully, but these errors were encountered: