I know this is a bit more tech-support oriented, but I was hoping someone might have first or second hand experience fixing this, given what a nightmare it is to research and test.
I’m using a semi-recent Samsung phone, running their skin of Android 14. Currently, I’m using PIA as my vpn (yes, I know I should switch) through the OpenVPN app. I also experience this issue through PIA’s app leading me to think its an Android issue. I also leave both the “Always-on VPN” and “Block Connections without a VPN” enabled.
I’ve tried to do some research, but everything that I find is search engines directing to basic stuff like how to connect to wifi
Edit: I’m currently testing the memory management tweak, and Ill probably try wireguard next.
Edit 2: In case anyone ends up here from Google, I’ve swapped VPNand tried removing all restrictions on memory and battery usage with no luck. I have also found a bunch of people complaining about similar issues with other Samsung devices, so it may be related. For example, this threat from Reddit, with all the responses removed: https://old.reddit.com/r/nordvpn/comments/t8t1hf/connectivity_issues_with_new_phone_android/
deleted by creator
bro, thanks for this. never knew you could exclude apps from being killed for memory like that. might keep my headunitreloaded from crashing.
Sorry for pulling you back to an old thread, but you wouldn’t happen to have any other ideas, would you? Since before, I’ve tried everything you suggested and switched VPN. Its an A53, so it really shouldn’t be having trouble with memory or such.
I also found this older Reddit thread which describes basically the same thing, but all the comments are removed, if that helps: https://old.reddit.com/r/nordvpn/comments/t8t1hf/connectivity_issues_with_new_phone_android/
deleted by creator
Try wireguard (which PIA supports). Should be faster as well.
Have you tried a different vpn to see if the issue is with the app? I use Proton vpn, works like a charm. You could also lock the app from being shut down. Also, check power settings for the app, maybe it is automatically shut down to save power consumption.
Is it possible that your phone is killing the VPN client to free up memory? Does it reconnect immediately upon reopening OpenVPN?
Same issue with OpenVPNon Android. It really does not like even changing WiFi APs on the same network.
In my case, its even just if packet loss gets too high - not rare on wifi.
I’m going to try Arne Schwabe’s version of the app and see if that helps.
OpenVPN is a janky mess.
first, give a try to other VPNs - see if the problem’s solved.
second - try connecting to a different network or server.
I know I had problems with that, when my ISP would block vpn addresses. so either trying a different server, or connecting to a different network would solve the problem.
Terrible advice. Did you even read what he asked, about having to reconnect manually? Or did you just see “VPN” and had a story to tell?