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

Can't connect to Server error shown when connecting to VPN after linking to Win 11 Arm64 laptop #28942

Closed
MadhaviSeelam opened this issue Mar 7, 2023 · 7 comments

Comments

@MadhaviSeelam
Copy link

MadhaviSeelam commented Mar 7, 2023

Description

After logging into Win 11 Arm64 with existing Prod VPN credentials, clicked Refesh Brave VPN button and credentials successfully loaded. When enabled VPN, it failed with Can't connect to server error message

Steps to Reproduce

  1. Install 1.49.118
  2. launch Brave
  3. enable brave://flags/#brave-vpn
  4. login to Win 11 Arm64 with already purchased Brave prod VPN credentials
  5. click Refresh VPN button on the subscription page
  6. toggle On from Disconnected to Connected in the VPN panel

Actual result:

image

[21784:20716:0307/135246.586:WARNING:CONSOLE(952)] "Connection has failed", source: chrome-untrusted://vpn-panel.top-chrome/brave_vpn_panel.bundle.js (952)

Expected result:

No errors should be shown.

Reproduces how often:

Easily

Brave version (brave://version info)

Brave | 1.49.114 Chromium: 110.0.5481.177 (Official Build) beta (64-bit)
-- | --
Revision | f34f7ab2d4ca4ad498ef42aeba4f4eb2c1392d63-refs/branch-heads/5481@{#1239}
OS | Windows 11 Version 22H2 (Build 22621.1265)

Version/Channel Information:

  • Can you reproduce this issue with the current release? N/A
  • Can you reproduce this issue with the beta channel? Yes
  • Can you reproduce this issue with the nightly channel? N/A

Other Additional Information:

  • Does the issue resolve itself when disabling Brave Shields?
  • Does the issue resolve itself when disabling Brave Rewards?
  • Is the issue reproducible on the latest version of Chrome?

Miscellaneous Information:

@bsclifton
cc: @stephendonner

@MadhaviSeelam MadhaviSeelam changed the title Can't connect to Server error shown when connecting to VPN after linking to Win 11 Arm64 machine Can't connect to Server error shown when connecting to VPN after linking to Win 11 Arm64 laptop Mar 7, 2023
@bsclifton
Copy link
Member

Guessing this is related to the CustomIPSecPolicies field in the %APPDATA%\Microsoft\Network\Connections\Pbk\rasphone.pbk file. I'll look for a command to manually run in Powershell which can set this and then we can easily compare 🙂

@bsclifton
Copy link
Member

bsclifton commented Sep 15, 2023

@MadhaviSeelam this should be fixed now - after we switched the network step to Powershell (see PR here for more info).

Can you please retest? 😄

@Brave-Matt
Copy link

Seeing some users encountering this same issue as well — to clarify, after we pushed that fix the user should just be able to use VPN normally (no other steps are needed)?

@bsclifton
Copy link
Member

@Brave-Matt that is correct. If they encountered the problem once, they may need to change servers and then change back. That should fix them up

@bsclifton
Copy link
Member

Fix would have been 1.55 and higher - where PowerShell is used to set the VPN items. That should be working 100% - versus the old way which used a hardcoded bitmask (hardcoded for Win64 - likely why it failed for Win Arm64)

@MadhaviSeelam
Copy link
Author

MadhaviSeelam commented May 8, 2024

Verified the issue in and still seeing Can't connect to Server error message shown

Brave | 1.65.130 Chromium: 124.0.6367.159 (Official Build) (arm64)
-- | --
Revision | 67843557ad274aba4b206391773c789c174b7fad
OS | Windows 11 Version 23H2 (Build 22631.3527)

image

[20472:24188:0508/151848.897:WARNING:CONSOLE(886)] "Connection has failed", source: chrome-untrusted://vpn-panel.top-chrome/brave_vpn_panel.b[20472:24188:0508/151904.984:INFO:CONSOLE(0)] "Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort
'.", source:  (0)
2024-05-08_15h11_31.mp4

@mattmcalister mattmcalister added the priority/P3 The next thing for us to work on. It'll ride the trains. label Jul 1, 2024
@bsclifton
Copy link
Member

Happy to report that both WireGuard and IKEv2 are working great - huge thanks to @MadhaviSeelam for retesting recently 😄

Brave	1.68.128 Chromium: 127.0.6533.73 (Official Build) (arm64) 
Revision	800676fd9ede2eb4174bac98c186e53749c7201f
OS	Windows 11 Version 23H2 (Build 22631.3880)

WireGuard

image

IKEv2

image
image

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

4 participants