OpenVPN Connect launched by Tasker won't work during locked screen, but does as soon as I unlock.

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
John_Kap
OpenVpn Newbie
Posts: 1
Joined: Tue Nov 07, 2023 12:17 am

OpenVPN Connect launched by Tasker won't work during locked screen, but does as soon as I unlock.

Post by John_Kap » Tue Nov 07, 2023 12:18 am

OpenVPN Connect:3.3.4
Tasker:6.1.32
Android:14

I've got a task configured following this setup - https://openvpn.net/faq/how-do-i-use-ta ... r-android/ which works perfectly when the screen is unlocked.

However, when the screen is locked and the trigger to launch the VPN connection is launched, it doesn't connect automatically, but as soon as I unlock the screen, OpenVPN Connect application is in the foreground and the VPN connection launches successfully.

I've tried different options with the notification settings with no luck.

Both Tasker & OpenVPN Connect are set for unrestricted battery usage.

Any help appreciated.

Post Reply