brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.81k stars 2.33k forks source link

VPN is in connected state without internet connection for Wireguard protocol #33582

Open MadhaviSeelam opened 1 year ago

MadhaviSeelam commented 1 year ago

Description

Found while testing https://github.com/brave/brave-browser/issues/33405. After logged in and connected to VPN via Wireguard protocol, and if internet/WiFi connection is disconnected state, VPN doesn't get disconnected. However, if VPN is connected via IKEv2 protocol, VPN gets disconnected state if internet/WiFi connection is disconnected.

Steps to Reproduce

  1. Install 1.60.87
  2. launch Brave
  3. purchase, configure & connect to Wireguard Brave VPN
  4. disconnect internet/WiFi connection

Actual result:

VPN button & System tray icon both show (green checkmark) in connected state

https://github.com/brave/brave-browser/assets/98358127/0eff8c4e-adaf-4c6c-ac47-3c263c47f29e

Expected result:

VPN should be in disconnected state

Reproduces how often:

Easily

Brave version (brave://version info)

Brave | 1.60.87 Chromium: 118.0.5993.70 (Official Build) beta (64-bit)
-- | --
Revision | 854c1e600054dfca6842cebaf729f100f4b0f066
OS | Windows 11 Version 22H2 (Build 22621.2283)

Version/Channel Information:

Other Additional Information:

Miscellaneous Information:

@rebron @bsclifton cc: @stephendonner

GeetaSarvadnya commented 1 year ago

Reproduced the issue on Windows 11 x64 - 1.60.86

After disconnecting the wifi internet, waited for almost 12 mins, the VPN status in the VPN panel is Connected and the VPN icon in the system tray shows the Connected status with green bubble image

bsclifton commented 6 months ago

Confirmed this is still an open issue. Basically, I connected to VPN and then disabled the adapter in Windows