-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Brave VPN connection failed initially with Failed to write the VPN config
error in the VPN panel and then connected successfully with intermittent failures
#30598
Comments
Thanks @MadhaviSeelam for sharing logs over Slack - here is an example of what is logged when the config write failure happens:
There may be a file lock issue. From the docs:
We could definitely enhance by calling |
The correct solution I think would be to get rid of the calls to For those, we can do what a lot of scripts do. PowerShell should be installed and we should be able to call a commandlet: When calling this without parameters, it'll ask for the values. Here are the ones I provided: Using the PowerShell method should work on Windows Arm64 also (this may fix #28942) |
I cannot reproduce in both cases, it looks similar to brave/brave-core#18510 and seems this could be fixed there. @stephendonner @MadhaviSeelam please recheck on latest Nightly if issue still actual? thanks |
Failed to write the VPN config
error in the VPN panel and then connected successfully with intermittetant failuresFailed to write the VPN config
error in the VPN panel and then connected successfully with intermittent failures
The above requires |
Verification PASSED on
Verified the STR's from the descriptionhttps://github.com//issues/30598#issue-1726279388 New User
1. Disable and Enable via Browser
2. Disable and Enable via network settings
2. Change the region
Existing User
Disconnect and reconnect in an upgraded profile 1.52.119
|
Verification
Verified using original STR #30598 (comment) Fresh Install:Confirmed connected to VPN successfully. No longer seeing
|
ex | ex |
---|---|
Upgraded profile:
Confirmed connected to VPN successfully. No longer seeing Failed to write the VPN config
error in the VPN panel.
ex | ex | ex |
---|---|---|
Connect/disconnect via OS settings
Confirmed connected to VPN successfully. No longer seeing Failed to write the VPN config
error in the VPN panel.
ex | ex |
---|---|
Note: Have seen intermittent Can't connect to server
in the VPN panel
Filed a followup issue for the |
Description
Brave VPN connection failed initially with
Failed to write the VPN config
error in the VPN panel. Tried to connect again and it connected successfully. Tested the connection with no other VPN entries (i.e Brave VPN Beta) and with other Brave VPN entries in the OS/Network settings. Fwiw, I have noticed that when VPN was not connected, phonebook entry was populated withBraveVPN
entry (previously for issue #30291, phonebook entry was not populated).Steps to Reproduce
Scenario 1: New install
Scenario 2: Upgrade from 1.51.x --> 1.52.x
Actual result:
Failed to write the VPN config
is shown in the VPN panel. Enabled again. Successfully connected.However, there are subsequent failures like quickly disconnect again from connected state or when switching servers,
Fresh Install:
Upgrade:
2023-05-25_10h36_01.mp4
Expected result:
Brave VPN should connect successfully without errors
Reproduces how often:
Easily
Brave version (brave://version info)
Version/Channel Information:
Other Additional Information:
Miscellaneous Information:
@simonhong @bsclifton @rebroncc: @brave/qa-team
The text was updated successfully, but these errors were encountered: