ivpn / ios-app

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

App keeps reconnecting when manually disconnecting from the iOS VPN Settings #409

Open gorkapernas opened 7 months ago

gorkapernas commented 7 months ago

Description:

When Network Protection is enabled, but leaving all networks trust to default, if the user attempts to disconnect from the iOS VPN Settings, the app keeps reconnecting. It is possible to disconnect from the app, but not from the iOS Settings.

Expected result:

If there aren't any untrusted networks, the user should also be able to disconnect from the iOS VPN Settings.

Steps to reproduce:

  1. Install version 2.11.0/2.11.1.
  2. Login.
  3. Enable Network Protection.
  4. Connect with WireGuard to set the profile in the iOS Settings.
  5. Proceed to the iOS VPN Settings.
  6. Attempt to disconnect.
  7. Observe that the app keeps reconnecting.

Environment:

IVPN: 2.11.0/2.11.1 Devices: iPhone XR iOS 17.2, iPad 10 iPadOS 17.1.1

ZachT112 commented 7 months ago

Is this possibly an artifact of "Connect on Demand"? What happens if you turn connect on demand off first?