Android OpenVPN 3.3.4 tasker intent stopped working properly

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
xdj
OpenVpn Newbie
Posts: 1
Joined: Thu Jul 27, 2023 6:54 pm

Android OpenVPN 3.3.4 tasker intent stopped working properly

Post by xdj » Thu Jul 27, 2023 7:05 pm

Hi,

since latest update to 3.3.4 the tasker intent for connection does not work properly when the OpenVPN app has more than one profile configured. Disconnect works fine.

I did the tasker configuration as described here: https://openvpn.net/faq/how-do-i-use-ta ... r-android/
And also tried out this version: viewtopic.php?p=76843#p76843

Now the problem is that the given profile name is being ignored and instead the profile is connected which is at the 1st position in the list of the OpenVPN Connect App.

e.g. you have two profiles configured in the app:
[profile1]
[profile2]

Regardless what profile is set in this line:

Code: Select all

Extra: net.openvpn.openvpn.AUTOSTART_PROFILE_ID:'[profile2]'
always the first one in the list is going to be connected.

Also tried without the apostrophe:

Code: Select all

Extra: net.openvpn.openvpn.AUTOSTART_PROFILE_ID: [profile2]
I have experienced this problem on a Huawei with Android 9 and on a Samsung with Android 13.

Did the intent maybe changed?

Post Reply