ivpn / ios-app

Official IVPN iOS app
https://www.ivpn.net/apps-ios
GNU General Public License v3.0
439 stars 92 forks source link

When passcode disabled, app keeps trying to reconnect with WireGuard after upgrading the IVPN version #292

Open gorkapernas opened 1 year ago

gorkapernas commented 1 year ago

Description:

iOS passcode is disabled - If the user is logged in and connected with WireGuard, if upgrades the IVPN version, the user will be logged out, but the app will keep trying to connect permanently with the following WireGuard error popping up.

app keeps trying to connect

Expected result:

A validation should be implemented in this escenario, probably the alert about enabling the passcode should be presented (see https://github.com/ivpn/ios-app/issues/290) and the app should not try to establish connection to the VPN.

Steps to reproduce:

  1. Install App Store build 2.6.3.
  2. Login.
  3. Connect with WireGuard.
  4. Disabled iOS passcode.
  5. Update IVPN version (TF version 2.7.0)
  6. Observe the issue.

Environment:

IVPN: 2.6.3, 2.7.0 Device: iPhone XR iOS 16.2

gorkapernas commented 1 year ago

@jurajhilje there is another variation of the issue which is much more straightforward. You can simply connect either with OpenVPN and WireGuard and then disabled the passcode, the IVPN app will remain connected, but the account will be logged out. Also if the network is set to untrusted, the app will try to connect indefinitely.