Currently I cannot find a way to keep the VPN connection across device sleep.
If "Reconnect on wakeup" is on, the app begins reconnecting a few seconds after device sleep (because of the ping packets?). Since an OTP code cannot be provided automatically, the connection attempt fails.
Code: Select all
2015-10-08 14:54:10 OS Event: SLEEP
2015-10-08 14:54:10 EVENT: PAUSE
2015-10-08 14:55:06 OS Event: WAKEUP
2015-10-08 14:55:09 RESUME TEST: ReachableViaWWAN
2015-10-08 14:55:09 EVENT: RESUME
2015-10-08 14:55:09 EVENT: RECONNECTING
Code: Select all
2015-10-08 16:14:45 OS Event: SLEEP
2015-10-08 16:14:45 EVENT: DISCONNECT_PENDING
2015-10-08 16:14:50 TUN reset routes
2015-10-08 16:14:50 EVENT: DISCONNECTED