nm-l2tp / NetworkManager-l2tp

L2TP and L2TP/IPsec support for NetworkManager
GNU General Public License v2.0
488 stars 84 forks source link

Failed to request VPN secrets #73

Closed ikus060 closed 6 years ago

ikus060 commented 6 years ago

I give it a try and I cannot get the VPN working. I'm not very knowladgable about L2TP and Network manager, so I will need help to get this issue resolved.

Thanks.

Jan 31 11:00:30 ikus060-gb NetworkManager[4157]: <info>  [1517414430.6036] audit: op="connection-activate" uuid="fdb2629f-68e8-4ec1-b7ac-ac721a25ec47" name="prospec" pid=5933 uid=1000 result="success"
Jan 31 11:00:30 ikus060-gb NetworkManager[4157]: <info>  [1517414430.6105] vpn-connection[0x561578dde7c0,fdb2629f-68e8-4ec1-b7ac-ac721a25ec47,"prospec",0]: Started the VPN service, PID 26344
Jan 31 11:00:30 ikus060-gb NetworkManager[4157]: <info>  [1517414430.6157] vpn-connection[0x561578dde7c0,fdb2629f-68e8-4ec1-b7ac-ac721a25ec47,"prospec",0]: Saw the service appear; activating connection
Jan 31 11:00:30 ikus060-gb gnome-shell[5933]: JS LOG: Invalid VPN service type (cannot find authentication binary)
Jan 31 11:00:30 ikus060-gb gnome-shell[5933]: JS LOG: Invalid VPN service type (cannot find authentication binary)
Jan 31 11:00:30 ikus060-gb NetworkManager[4157]: <error> [1517414430.6380] vpn-connection[0x561578dde7c0,fdb2629f-68e8-4ec1-b7ac-ac721a25ec47,"prospec",0]: Failed to request VPN secrets #3: No agents were available for this request.
Jan 31 11:00:30 ikus060-gb NetworkManager[4157]: <info>  [1517414430.6390] vpn-connection[0x561578dde7c0,fdb2629f-68e8-4ec1-b7ac-ac721a25ec47,"prospec",0]: VPN plugin: state changed: stopped (6)
J
dkosovic commented 6 years ago

It's a bug with gnome-shell:

Restarting Gnome Shell or rebooting should fix the issue you are having.

dkosovic commented 6 years ago

Forgot to mention, "Failed to request VPN secrets" just means NetworkManager failed to obtain the password for the VPN connection.

Normally gnome-shell obtains the secret i.e. password, but doesn't work with some versions immediately after a NetworkManager VPN client is installed.

dkosovic commented 6 years ago

Added an entry in the wiki regarding this issue: