Bug 409444

Summary: Connecting to WireGuard server fails with missing plugin
Product: [Plasma] plasmashell Reporter: Kiril Vladimirov <kiril>
Component: Networks widgetAssignee: Jan Grulich <jgrulich>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: jgrulich
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Kiril Vladimirov 2019-07-03 08:02:08 UTC
SUMMARY

This looks like a regression from plasma 5.15.x. I have added wireguard connection (via the configuration applet) which used to work just fine then. After 5.16.0 I'm able to connect to it only via `nmcli` (e.g. `nmcli c up <wireguard-connection-name>`). Simply choosing it from the applet fails with "Missing VPN plugin" notification. 

Funny side-effect after connecting via `nmcli` is that I see the wireguard connection listed twice under "Active connections" and disconnecting from there works.


STEPS TO REPRODUCE
1. Add wireguard connection
2. Try to connect to it using the "Connect" button in the applet from tray area (for instance)

OBSERVED RESULT

Connection is NOT getting activated and "Missing VPN plugin" notification is shown instead.

EXPECTED RESULT

WireGuard connection to become active.


SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
KDE Plasma Version: 5.16.2
KDE Frameworks Version: 5.59.0
Qt Version: 5.13.0
Kernel version: 5.1.15
OS Type: 64-bit
NetworkManager: 1.18.0

ADDITIONAL INFORMATION

To confirm that the issue is not miss-configured NetworkManager and WireGuard:

1. Execute "nmcli c up <name>" to confirm that networkmanager-wireguard is installed and working
2. Observe the connection listed twice under "Active connection"
3. Confirm that disconnecting works

Looking at journalctl logs of NetworkManager I see no messages whatsoever when trying to connect via the applet.
Comment 1 Jan Grulich 2019-07-08 09:14:58 UTC
You will have to create a new WG connection, the previous version of our WG support was using NetworkManager WG plugin, but that one was done wrong and a proper support was implemented directly in NetworkManager itself.
Comment 2 Ben Cooksley 2024-12-23 18:26:06 UTC
Bulk transfer as requested in T17796