Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After update (APK/F-Droid), app reconnects to unexpected VPN server #225

Open
jordan-ivpn opened this issue Apr 24, 2023 · 1 comment
Open
Assignees
Milestone

Comments

@jordan-ivpn
Copy link

Bug report

Describe your environment

  • Device: _____
  • OS name and version: Android 8.1.0, CalyxOS 4.8.0_
  • IVPN app version: 2.8.5, 2.8.6_

Describe the problem

After updating the IVPN App via the website APK or via F-Droid, the app reconnects to an unexpected or unwanted VPN server location. For example, the app is connected to Japan before the update and the app reconnects to South Africa after the update. One customer reports the app reconnecting to an unexpected VPN server after a system update and a device reboot:

It happened to me after the first reboot after my OS updated recently and then once again after IVPN updated itself from F-droid store. It’s not happening anymore. I have been rebooting a lot.

Steps to reproduce:

  1. Clear install (log out from app, clear app data and cache via Android Settings > Apps, uninstall, device reboot, reinstall 2.8.5)
  2. [Optional?] Add a few servers to "Fastest server" and "Favorites" lists (my lists did not include South Africa)
  3. Connect to one of the fastest/favourite servers (I use WireGuard for testing)
  4. Reboot the device and notice reconnection to same VPN server from step 3 above
  5. Update app to 2.8.6 and check server location on reconnect (mine was South Africa)
  6. Reboot the device (mine reconnected to same server from step 3)

Observed Results:

Immediately after the app update, the app reconnects to an unexpected server (South Africa in my case). The customer reported being connected to East and West Coast US servers, which was neither expected nor wanted. The customer had EU servers in the fastest/favourite lists.

Expected Results:

Reconnect to the same server from before the update or pick a server from the fastest/favourite list.

Might be associated with #206 in that a blacklist would prevent the app from reconnecting to an unexpected or unwanted server location.

--

Thanks.

@jurajhilje jurajhilje self-assigned this Apr 27, 2023
@jurajhilje jurajhilje added this to the 2.9.0 milestone Apr 27, 2023
@jurajhilje jurajhilje modified the milestones: 2.9.0, 2.10.0 Jul 5, 2023
@jurajhilje jurajhilje modified the milestones: 2.10.0, 2.11.0 Jul 25, 2023
@gorkapernas
Copy link
Member

@jurajhilje I also observe this issue frequently, but there are simpler steps to reproduce it.

Steps:

  1. Enable Always-on, so the app connects at launch.
  2. Select the fastest server (not ZA).
  3. If connected to the VPN, disconnect.
  4. Close the app and relaunch it.
  5. Observe that the app connects to ZA, Johannesburg (even if ZA is disabled in the faster server configuration).

It looks like the app connects to the VPN before pinging all servers, so by default ZA is selected first which is normally the last in the list of servers. I'm not sure if we can improve this at this point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants