new version of OpenVPN and Tasker: session timeout now

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
jenrick
OpenVpn Newbie
Posts: 1
Joined: Tue Feb 20, 2018 9:11 pm

new version of OpenVPN and Tasker: session timeout now

Post by jenrick » Tue Feb 20, 2018 9:17 pm

So a little background first:
I had tasker controlling my vpn connection and it would activate VPN :
When I was on Wifi and not at home
When I was on Cellular data
and if I went from Work Wifi to say the Car (cell) it would reconnect to the vpn.
I took instructions from here - https://collinmbarrett.com/android-tasker-openvpn/

With the new update, I used

Connect
Action: net.openvpn.openvpn.CONNECT
Cat: None
Mime Type: {blank}
Data: {blank}
Extra: net.openvpn.openvpn.AUTOSTART_PROFILE_NAME:AS {your_profile_name}
Extra: net.openvpn.openvpn.AUTOCONNECT:true
Extra: net.openvpn.openvpn.APP_SECTION:AS
Package: net.openvpn.openvpn
Class: net.openvpn.unified.MainActivity
Target: Activity

Disconnect
Action: net.openvpn.openvpn.DISCONNECT
Cat: None
Mime Type: {blank}
Data: {blank}
Extra: net.openvpn.openvpn.STOP:true
Extra: {blank}
Extra: {blank}
Package: net.openvpn.openvpn
Class: net.openvpn.unified.MainActivity
Target: Activity


But now when I switch from wifi to cellular, I get session timed out (whereas before openvpn would just reconnect).
Edit:
To be more precise - When I look at openvpn gui I see this :
Authentication Failed
SESSION: Your session has expired, please reauthenticate

Has anyone experienced this?

Post Reply