Hi Sebastien, I'm using an the OpenVPN plugin. I'm imported an .ovpn config file into NetworkManager and filled my credentials.
I found some interesting log messages in journalctl: nov. 05 21:00:58 xxxx gnome-shell[2760]: Invalid connection type: vpn nov. 05 21:00:58 xxxx gnome-shell[2760]: Invalid connection type: vpn nov. 05 21:00:58 xxxx NetworkManager[1485]: <error> [1572984058.4210] vpn-connection[0x55e68ff9c730,50d6326e-03bc-49a9-9f04-40c353cf55b3,"protonvpn.udp.com",0]: Failed to request VPN secrets #3: No agents were available for this request. nov. 05 21:00:58 xxxx NetworkManager[1485]: <info> [1572984058.4212] device (wlo1): state change: secondaries -> failed (reason 'secondary-connection-failed', sys-iface-state: 'managed') The error seems to be the "agent" --> Failed to request VPN secrets #3: No agents were available for this request. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/1851322 Title: VPN auto-connect is not working Status in network-manager package in Ubuntu: Incomplete Bug description: Hi, This is a duplicate of bug: https://bugs.launchpad.net/network-manager/+bug/1718931 It is marked as fixed, but the feature is still broken for me. I configured my Wifi connection to automatically connect to a VPN, but it only works if I manually connect to the Wifi via NetworkManager. ProblemType: Bug DistroRelease: Ubuntu 19.10 Package: network-manager 1.20.4-2ubuntu2 ProcVersionSignature: Ubuntu 5.3.0-19.20-generic 5.3.1 Uname: Linux 5.3.0-19-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.20.11-0ubuntu8.1 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Tue Nov 5 04:07:00 2019 IfupdownConfig: # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback InstallationDate: Installed on 2019-09-26 (39 days ago) InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416) SourcePackage: network-manager UpgradeStatus: No upgrade log present (probably fresh install) nmcli-nm: RUNNING VERSION STATE STARTUP CONNECTIVITY NETWORKING WIFI-HW WIFI WWAN-HW WWAN running 1.20.4 connected started full enabled enabled enabled enabled enabled To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1851322/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp