Cannot connect to BraveVPN, the parameter is incorrect (Error 87) Follow
Some Windows users may run into a problem when connecting to Brave VPN. The VPN’s configuration will get added to the system, but you can’t connect in Brave.
If you try to connect using the built into Windows VPN interface, you get a generic error:
Can't connect to BraveVPN
The parameter is incorrect.
If you were using Event Viewer to troubleshoot, you’ll find information under the source RasClient with an error message:
The user [user] dialed a connection named BraveVPN which has failed. The error code returned on failure is 87.
This error shows up when there is a problem with the Windows networking stack. The exact root cause is not known - but there is a work-around which will resolve the issue:
- In Windows, launch
Windows Powershell
as Administrator - Copy/paste the following command into the Powershell (then hit enter):
netsh int ip reset netsh int ipv6 reset netsh winsock reset
- Restart your computer
- Once restarted, launch
Windows Device Manager
- Expand the
Network Adaptors
section - Right-click on the
WAN Miniport (IKEv2)
item - Select
Uninstall device
from the context menu - Repeat steps 6-8 for all
WAN Miniport (...)
items - Click
Action
from the menu bar, thenScan for hardware changes
- All uninstalled
WAN Miniport
entries should return - Restart your computer one more time, then try to connect to BraveVPN again
Note: The steps above were originally provided by AtlasVPN