"reconnect on reboot" not working in Android 11 and 12

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
jofre
OpenVpn Newbie
Posts: 15
Joined: Sun Apr 15, 2012 6:01 pm

"reconnect on reboot" not working in Android 11 and 12

Post by jofre » Tue Nov 16, 2021 1:25 pm

Hello,
the funcionality "reconnect on reboot" is not working.
After rebooting the Android the application does not start. This behaviour has been seen in
* Samsung Galaxy A52s 5G, with Android 11
* Google Pixel 5, with Android 12

Application Open VPN Connect v3.2.5 (7182)

The VPN tunnel is using certificate based authentication and hence no human interaction is needed
The application has permissions for "Read content of your shared storage" but also as "other capabilites" the following, amongst others, are listed: "Run foreground service" and "run at startup"

Any idea why this is not working?
Any idea how to fix this?
Thanks

TinCanTech
OpenVPN Protagonist
Posts: 11136
Joined: Fri Jun 03, 2016 1:17 pm

Re: "reconnect on reboot" not working in Android 11 and 12

Post by TinCanTech » Tue Nov 16, 2021 2:32 pm

Perhaps the VPN cannot connect due to an error, check your logs.

jofre
OpenVpn Newbie
Posts: 15
Joined: Sun Apr 15, 2012 6:01 pm

Re: "reconnect on reboot" not working in Android 11 and 12

Post by jofre » Tue Nov 16, 2021 4:34 pm

The connection is working fine when the user manually connects after reboot.
Once the android reboots the appllication does not start and there is not connection attempt logged in the server.
Looking at the Android logs there is no traces of OpenVPN Connect application activity either.

salto_castelo
OpenVpn Newbie
Posts: 1
Joined: Thu Feb 10, 2022 3:53 pm

Re: "reconnect on reboot" not working in Android 11 and 12

Post by salto_castelo » Thu Feb 10, 2022 5:36 pm

Hello
Facing the same issue wiht a shield tv pro Android 11 and openvpn connect 3.2.6 (can connect manaualy but no auto reconnect after reboot despiste the parameter activation).

Any solution to reconnect on reboot automaticaly?

Regards

batori
OpenVpn Newbie
Posts: 2
Joined: Wed Mar 16, 2022 10:40 pm

Re: "reconnect on reboot" not working in Android 11 and 12

Post by batori » Wed Mar 16, 2022 10:42 pm

Hi
I can confirm the same.

Any solution?

CasaVerde
OpenVpn Newbie
Posts: 1
Joined: Mon Apr 18, 2022 4:02 pm

Re: "reconnect on reboot" not working in Android 11 and 12

Post by CasaVerde » Mon Apr 18, 2022 4:11 pm

I am getting the same on Samsung galaxy tablet with android version 11.

Giant
OpenVpn Newbie
Posts: 2
Joined: Wed Apr 27, 2022 8:43 am

Re: "reconnect on reboot" not working in Android 11 and 12

Post by Giant » Wed Apr 27, 2022 8:47 am

Here the same problem on a Nvidia Shield 2019 (tube model). It used to work perfect in Android 9. Today I upgraded to Android 11 and the OpenVPN client will not reconnect on reboot anymore.
Is there a solution to be expected?

TinCanTech
OpenVPN Protagonist
Posts: 11136
Joined: Fri Jun 03, 2016 1:17 pm

Re: "reconnect on reboot" not working in Android 11 and 12

Post by TinCanTech » Wed Apr 27, 2022 10:29 am

@Giant the solution is in the post.

Giant
OpenVpn Newbie
Posts: 2
Joined: Wed Apr 27, 2022 8:43 am

Re: "reconnect on reboot" not working in Android 11 and 12

Post by Giant » Wed Apr 27, 2022 10:49 am

TinCanTech wrote:
Wed Apr 27, 2022 10:29 am
@Giant the solution is in the post.
Thanks! But what post do you mean? (I'm new here...)

batori
OpenVpn Newbie
Posts: 2
Joined: Wed Mar 16, 2022 10:40 pm

Re: "reconnect on reboot" not working in Android 11 and 12

Post by batori » Fri Jun 17, 2022 6:09 pm

Any solution to this?

Ingo Barrenpohl
OpenVpn Newbie
Posts: 1
Joined: Tue Jun 11, 2024 5:46 am

Re: "reconnect on reboot" not working in Android 11 and 12

Post by Ingo Barrenpohl » Thu Jun 13, 2024 1:07 pm

HI,
I have Android 13 and the "reconnect on reboot" don't work.
Also in the newest Version 3.4.2 is no Checkbox to do this.
Is there any Solution for this problem?
Best regards Ingo

Post Reply