question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

VPN connection is lost when device wakes up from sleep

See original GitHub issue

Description

VPN connection is lost when device wakes up from sleep

Steps to Reproduce

  1. Go to Power settings
  2. Set When plugged in, turn off my screen after - 5 mins
  3. Set When plugged in, put my device to sleep after - 30mins
  4. Clean Nightly profile
  5. Enable SKU Flag and VPN Flag
  6. Purchase a new VPN subscription
  7. Connect to VPN (US -East) and keep system idle for 30 mins
  8. System should go to sleep
  9. Restart/Wakeup the system, VPN is disconnected

Actual result:

VPN connection is lost when device wakes up from sleep

Expected result:

VPN should auto-reconnect after device comes back online

Reproduces how often:

Easy

Brave version (brave://version info)

<html> <body>
Brave 1.47.24 Chromium: 107.0.5304.68 (Official Build) nightly (64-bit)
Revision a4e93e89d3b3df1be22214603fba846ad0183ca5-refs/branch-heads/5304@{#991}
OS Windows 11 Version 22H2 (Build 22621.755)
</body> </html>

Version/Channel Information:

  • Can you reproduce this issue with the current release? NA
  • Can you reproduce this issue with the beta channel? Not chekced
  • Can you reproduce this issue with the nightly channel? Yes

Other Additional Information:

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

Miscellaneous Information:

Regression of #25773, #23070 cc: @brave/legacy_qa @simonhong @spylogsster @bsclifton

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
bscliftoncommented, Dec 1, 2022

Removed the bug label; this is the OS behavior, which may not be ideal… but we can address in a FAQ.

@simonhong has a commit removing the functionality we had trying to special case the sleep/restore cases here: https://github.com/brave/brave-core/pull/16163

0reactions
bscliftoncommented, Dec 1, 2022

Closing as wontfix

Read more comments on GitHub >

github_iconTop Results From Across the Web

Always On VPN Connection Issues After Sleep or Hibernate
To help address issues with Always On VPN connections failing after sleep or hibernate, open the group policy management console and navigate to ......
Read more >
VPN (and wifi) fails after coming out of sleep/hibernate mode
Opening Wifi via Settings works, but when you try to connect to a known network, it either fails or is unable to get...
Read more >
Why do VPN connections break when I sleep my computer?
I think Bob Somers hit the answer, but there's another possibility. You could be sleeping your computer through the rekey interval, ...
Read more >
7 Reasons Your VPN Keeps Disconnecting (And How to Fix It)
In this guide, you'll find a list of the most common reasons why a VPN would keep disconnecting and reconnecting, as well as...
Read more >
VPN not disconnected in Sleep Mode - windows 10 - Super User
I have checked the network adapter settings in Device Manager. ... user did tell me that she disconnects the VPN connection before leaving....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found