You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to keep the vpn and service running for more than days. Boot up is handled by the open vpn service but after one day vpn service gets terminated. I have written work manager to periodically monitor OpenVPNService but it doesnt restarts. It starts but some how management thread is null and then it ends service.
Note that I have not written any server side pinging mechanism. So I want to stick with android solution. Let me know if im going or thinking in right direction. Also provide solutions to keep vpn connected no matter what and if gets terminated by OS then it should open again and make vpn connected. Thanks
The text was updated successfully, but these errors were encountered:
According to our logs, the service restarted by work manager but it didn't survive and ended up immediately. So the vpn stayed disconnected and the service ended as well. What we are trying is to revive the service of OpenVPN by monitoring with work manager periodically. Work manager r
uns according to logs, service also starts and it shows notification OpenVPN along with no process running but it gets in the management thread check which is always null and eventually service ends. For reference im attaching vpn logs here and notification reference image here logcache.txt
Can we achieve always on feature without navigating to Android System UI? It works for always on feature but we need to enable it by default for open vpn app.
I want to keep the vpn and service running for more than days. Boot up is handled by the open vpn service but after one day vpn service gets terminated. I have written work manager to periodically monitor OpenVPNService but it doesnt restarts. It starts but some how management thread is null and then it ends service.
Note that I have not written any server side pinging mechanism. So I want to stick with android solution. Let me know if im going or thinking in right direction. Also provide solutions to keep vpn connected no matter what and if gets terminated by OS then it should open again and make vpn connected. Thanks
The text was updated successfully, but these errors were encountered: