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

Probe for no internet connection and captive portal on activation

Open data-sync-user opened this issue 1 year ago • 0 comments

Introduce a state machine NoSignalReason to the Controller to determine what went wrong on activation. Possible values are Unknown, NoInternetConnection, CaptivePortalDetected, FirewallDetected, ServerLocationUnavailable. These will log the reason to the console for now with no frontend component changes.

Acceptance Criteria:

  1. Create the State Machine
  2. If activation fails due to no internet connection, set NoSignalReason to NoInternetConnection and log that info to the console.
  3. If activation fails due to no internet connection, set NoSignalReason to CaptivePortalDetected and log that info to the console.
  4. Functional tests for both cases

┆Issue is synchronized with this Jira Task ┆Reporter: Gela Malek Pour

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