mozilla-mobile / mozilla-vpn-client

A fast, secure and easy to use VPN. Built by the makers of Firefox.
https://vpn.mozilla.org
Other
451 stars 108 forks source link

"Background services error" While firewall is deactivated on windows 11 #9732

Open Bigmanda opened 1 month ago

Bigmanda commented 1 month ago

Describe the bug The VPN is unable to connect to any server and i get a "Background Service error" Despite my firewall green lighting it. I have uninstalled and reinstalled the service 6 times and have reset my network settings twice to no avail. the issues stem from wireguard being unable to create a tunnel but i am not an expert on this sort of thing. This has been going on for a day and i have been using this software for a year now. I am not sure how this started but it was very recent as i use it almost daily.

VPN version: 2.23.1 (2.202406271914)

Affected Platforms: Windows 11

Prerequisites: N/A

Steps to reproduce: Pressing the vpn on button and waiting for a variable amount of times, sometimes its a minute or 2 and sometimes its instant.

Expected result: VPN turns on and works as expected and advertised

Actual result: VPN never activates and will occasionally send a notification saying background service issues are at fault

Additional notes: Logs: Sending an excerpt as they are all the same just with diffrent timestamps

> >2024-07-16 16:10:42.445719: [TUN] [MozillaVPN] Starting WireGuard/0.3.15 (Windows 10.0.22631; amd64)
> 2024-07-16 16:10:42.445719: [TUN] [MozillaVPN] Watching network interfaces
> 2024-07-16 16:10:42.446755: [TUN] [MozillaVPN] Resolving DNS names
> 2024-07-16 16:10:42.446755: [TUN] [MozillaVPN] Creating Wintun interface
> 2024-07-16 16:10:42.485802: [TUN] [MozillaVPN] [Wintun] CreateAdapter: Creating adapter
> 2024-07-16 16:10:42.485802: [TUN] [MozillaVPN] [Wintun] CreateAdapter: Requested GUID {6FE9822F-51AC-2513-8C7D-AD8C29A0723A} has leftover residue
> 2024-07-16 16:10:42.537268: [TUN] [MozillaVPN] [Wintun] SelectDriver: Using existing driver 0.12
> 2024-07-16 16:10:52.754076: [TUN] [MozillaVPN] [Wintun] RegistryQueryStringWait: Timeout waiting for registry value \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}\0017\NetCfgInstanceId (status: 0x102)
> 2024-07-16 16:10:52.754076: [TUN] [MozillaVPN] [Wintun] CreateAdapter: Failed to get \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}\0017\NetCfgInstanceId
> 2024-07-16 16:10:52.791870: [TUN] [MozillaVPN] Unable to create Wintun interface: Error creating interface: The system cannot find the file specified.
> 2024-07-16 16:10:52.792400: [TUN] [MozillaVPN] Shutting down
> 2024-07-16 16:11:12.825128: [TUN] [MozillaVPN] Starting WireGuard/0.3.15 (Windows 10.0.22631; amd64)
> 2024-07-16 16:11:12.825128: [TUN] [MozillaVPN] Watching network interfaces
> 2024-07-16 16:11:12.826173: [TUN] [MozillaVPN] Resolving DNS names
> 2024-07-16 16:11:12.826173: [TUN] [MozillaVPN] Creating Wintun interface
> 2024-07-16 16:11:12.863078: [TUN] [MozillaVPN] [Wintun] CreateAdapter: Creating adapter
> 2024-07-16 16:11:12.863609: [TUN] [MozillaVPN] [Wintun] CreateAdapter: Requested GUID {6FE9822F-51AC-2513-8C7D-AD8C29A0723A} has leftover residue
> 2024-07-16 16:11:12.918112: [TUN] [MozillaVPN] [Wintun] SelectDriver: Using existing driver 0.12
> 2024-07-16 16:11:23.123234: [TUN] [MozillaVPN] [Wintun] RegistryQueryStringWait: Timeout waiting for registry value \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}\0017\NetCfgInstanceId (status: 0x102)
> 2024-07-16 16:11:23.123234: [TUN] [MozillaVPN] [Wintun] CreateAdapter: Failed to get \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}\0017\NetCfgInstanceId
> 2024-07-16 16:11:23.161056: [TUN] [MozillaVPN] Unable to create Wintun interface: Error creating interface: The system cannot find the file specified.
> 2024-07-16 16:11:23.161056: [TUN] [MozillaVPN] Shutting down

Screenshot of the wire guard tunnel in device manager failing to load Screenshot (3) the error it gives when inspecting properties is code 56

Bigmanda commented 1 month ago

Error, I accidentally posted the logs for Wireguard not Mozilla VPN, Here are the logs `MZ logs

[16.07.2024 16:50:49.668] (LocalSocketController) Debug: Cleanup logs [16.07.2024 16:50:54.669] (LocalSocketController) Error: Error occurred: 5 [16.07.2024 16:50:54.669] (ErrorHandler) Debug: Handling error ErrorHandler::ControllerError [16.07.2024 16:50:54.669] (ErrorHandler) Error: Alert: ErrorHandler::ControllerErrorAlert [16.07.2024 16:50:54.670] (Controller) Debug: Disconnected from state: Controller::StateOff [16.07.2024 16:50:54.670] (PingHelper) Debug: PingHelper deactivated [16.07.2024 16:50:54.670] (Rust) Info: Glean disabled: not submitting any pings. [16.07.2024 16:50:54.723] (AccessibleNotification) Debug: Background service error. [16.07.2024 16:50:55.170] (LocalSocketController) Debug: Connecting to: \.\pipe\mozillavpn [16.07.2024 16:50:55.170] (LocalSocketController) Error: Error occurred: 1 [16.07.2024 16:50:55.170] (LocalSocketController) Debug: Daemon connected [16.07.2024 16:50:55.170] (LocalSocketController) Debug: Check status [16.07.2024 16:50:55.671] (LocalSocketController) Error: Error occurred: 5 [16.07.2024 16:50:56.190] (LocalSocketController) Debug: Connecting to: \.\pipe\mozillavpn [16.07.2024 16:50:56.190] (LocalSocketController) Error: Error occurred: 1 [16.07.2024 16:50:56.191] (LocalSocketController) Debug: Daemon connected [16.07.2024 16:50:56.191] (LocalSocketController) Debug: Check status [16.07.2024 16:50:56.685] (LocalSocketController) Error: Error occurred: 5 [16.07.2024 16:50:56.803] (LogHandler) Debug: View log requested [16.07.2024 16:50:56.803] (LogHandler) Debug: View logs [16.07.2024 16:50:56.803] (LogHandler) Debug: Trying to save logs. [16.07.2024 16:50:56.803] (LogHandler) Warning: Logfile exists. Let's try a new filename [16.07.2024 16:50:56.803] (LogHandler) Debug: Filename found! 1 [16.07.2024 16:50:56.803] (LogHandler) Debug: Writing logs.

Settings

addons/addon/message_fpn_trial_subscription_expiring/state -> Installed addons/addon/message_survey/state -> Installed addons/addon/message_upgrade_to_annual_plan/state -> Installed addons/addon/message_whats_new_v2.23/state -> Disabled addons/message/message_whats_new_v2.23/state -> Dismissed captivePortal/ipv4Addresses -> [34.107.221.82] captivePortal/ipv6Addresses -> [] deviceKeyVersion -> 2.23.1 devices -> featuresFlippedOff -> [] featuresFlippedOn -> [] gleanEnabled -> false gleanLogPings -> false installationTime -> 2024-07-15T22:58:42.746 installedVersion -> 2.23.1 keyRegenerationTimeSec -> 1721098751 onboardingCompleted -> true onboardingDataCollectionEnabled -> false onboardingStarted -> true onboardingStep -> 0 previousLanguageCode -> en privateKey -> publicKey -> recentConnections2 -> sentry/dsn -> sentry/endpoint -> serverData -> servers -> subscriptionData -> token -> updateTime -> 2024-07-15T22:58:42.746 user/avatar -> user/displayName -> user/email -> user/maxDevices -> 5 user/subscriptionNeeded -> false

Mozilla VPN backend logs

No logs.

Device

ABI -> x86_64-little_endian-llp64 Machine arch -> x86_64 OS -> windows OS Version -> 22631 APP Version -> 2.23.1 Build ID -> 2.202406271914

`