mozilla-vpn-client icon indicating copy to clipboard operation
mozilla-vpn-client copied to clipboard

Mozilla VPN is blocked in “Disconnecting…” state after trying to connect to an unavailable server

Open data-sync-user opened this issue 2 years ago • 6 comments

Important details:

  • Force-quitting/sign-out the client removes the blocking state;
  • Not reproducing on Linux, Android and iOS;

Mozilla VPN used versions:

  • 2.19.0 (2.202311221018) - RC build;

Platform tested:

  • Windows 10;
  • MacOS 12/14;

Prerequisites:

  • Have an account with subscription for Mozilla VPN;

Steps to reproduce:

  1. Log in with the accounts from prerequisites;
  2. Have the VPN OFF and “Vienna” as selected location;
  3. Open the Inspector and run “force_server_unavailable”;
  4. Go to client and try to turn the VPN ON;

Expected result:

  • A server unavailable modal is displayed;

Actual result:

  • VPN remains blocked in “Disconnecting…” state;

Notes:

  • Reproducing on both MacOS and WIndows;

┆Issue is synchronized with this Jira Bug ┆Reporter: Valentina Virlics

data-sync-user avatar Nov 23 '23 10:11 data-sync-user

➤ Bianca Hidecuti commented:

We were able to experience a server not being available without triggering it via Inspector, and the issue is not reproducible → the modal is displayed and the user is not stuck in Disconnecting state.

data-sync-user avatar Nov 23 '23 15:11 data-sync-user

➤ Santiago Andrigo commented:

Categorizing as Medium as it’s an Inspector-Only issue, but we still need to address this, because otherwise this troubleshooting tool loses it’s value.

data-sync-user avatar Nov 23 '23 15:11 data-sync-user

➤ Bianca Hidecuti commented:

Still reproducing with Mozilla VPN 2.20.0 (2.202401140639).

data-sync-user avatar Jan 15 '24 13:01 data-sync-user

➤ Gela Malek Pour commented:

I think adding a check for state == StateDisconnecting in serverUnavailable() here ( https://github.com/mozilla-mobile/mozilla-vpn-client/blob/main/src/controller.cpp#L293 ) should resolve this.

data-sync-user avatar Jan 19 '24 18:01 data-sync-user

➤ Beatriz Rizental Machado commented:

{quote}Categorizing as Medium as it’s an Inspector-Only issue, but we still need to address this, because otherwise this troubleshooting tool loses it’s value.{quote}

Although this is easier to reproduce with the inspector, this is not a inspector only issue. I have experienced this multiple times on MacOS with an actual unavailable server.

data-sync-user avatar Feb 20 '24 18:02 data-sync-user

➤ Valentina Virlics commented:

This is also reproducing while using Mozilla VPN 2.22.0 (2.202404222212).

data-sync-user avatar Apr 24 '24 07:04 data-sync-user