Bug 410362

Summary: VPN doesn't reconnect after resuming from long suspend.
Product: [Plasma] plasmashell Reporter: leftcrane <leftcrane>
Component: Networking in generalAssignee: Jan Grulich <jgrulich>
Status: RESOLVED NOT A BUG    
Severity: normal CC: jgrulich
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description leftcrane 2019-07-29 16:53:01 UTC
SUMMARY


STEPS TO REPRODUCE
1. connect to VPN
2. suspend
3. Wait (not sure how long, but long enough)
4. Resume
5. Connection to VPN is lost.

(I've noticed that if you resume immediately, the VPN connection resumes - not sure if this is a pattern or a fluke)


This bug also causes insurmountable problems with KDE Connect, which craps out if the network interface changes while it's not running.Bug #410316

Operating System: Kubuntu 19.04
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2
Kernel Version: 5.0.0-21-generic
OS Type: 64-bit
Processors: 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz
Comment 1 Jan Grulich 2019-07-31 10:12:03 UTC
You would need to configure your VPN connection to be automatically connected, which can be only be tied to a specific connection so you need to go to the connection which you e.g. use at work and set that once the connection is activated, then NetworkManager should connect automatically to the desired VPN.
Comment 2 leftcrane 2019-07-31 18:40:54 UTC
Shouldn't it automatically reconnect on wake, by default? When you resume from sleep, you expect everything that was running to continue running. Wifi reconnects automatically, so VPN should be the same.

It may also contribute to a nasty bug that makes KDE Connect unusable.


I urge you to change the default. This behavior just doesn't make sense.
Comment 3 Ben Cooksley 2024-12-23 18:23:45 UTC
Bulk transfer as requested in T17796