schwabe / ics-openvpn

OpenVPN for Android
3.25k stars 1.18k forks source link

Reconnect on network change should stop VPN first #1705

Open scruel opened 3 months ago

scruel commented 3 months ago

I have a profile which won't be able to connect with my WiFi, and when I switch back to this WiFi, the OpenVPN connection was still alive, but keep getting refused errors: Screenshot_2024-04-14-18-51-11-841_de.blinkt.openvpn-edit.jpg

Reproduce steps;

OpenVPN Connect didn't have this issue, it will disconnect the VPN if switched then wait until the server to be connectable (no timeout), rather than keep the dead VPN to be connected.

Version: 0.7.51 Android 13

schwabe commented 3 months ago

Please include a full log that also includes the network switch.