I also cannot connect to a VPN:

Nov 23 23:44:10 hostname NetworkManager[932]: <info>  [1511477050.1357] audit: 
op="connection-activate" uuid="6efe21fb-3251-41d3-936d-7f1ee0e3ca9d" name="VPN" 
pid=1776 uid=1000 result="success"
Nov 23 23:44:10 hostname NetworkManager[932]: <info>  [1511477050.1855] 
vpn-connection[0x560ddf83c0e0,6efe21fb-3251-41d3-936d-7f1ee0e3ca9d,"VPN",0]: 
Started the VPN service, PID 31904
Nov 23 23:44:10 hostname NetworkManager[932]: <info>  [1511477050.1958] 
vpn-connection[0x560ddf83c0e0,6efe21fb-3251-41d3-936d-7f1ee0e3ca9d,"VPN",0]: 
Saw the service appear; activating connection
Nov 23 23:44:10 hostname gnome-shell[1776]: Invalid VPN service type (cannot 
find authentication binary)
Nov 23 23:44:10 hostname gnome-shell[1776]: Invalid VPN service type (cannot 
find authentication binary)
Nov 23 23:44:10 hostname NetworkManager[932]: <error> [1511477050.3692] 
vpn-connection[0x560ddf83c0e0,6efe21fb-3251-41d3-936d-7f1ee0e3ca9d,"VPN",0]: 
Failed to request VPN secrets #3: No agents were availabl
Nov 23 23:44:10 hostname NetworkManager[932]: <info>  [1511477050.3712] 
vpn-connection[0x560ddf83c0e0,6efe21fb-3251-41d3-936d-7f1ee0e3ca9d,"VPN",0]: 
VPN plugin: state changed: stopped (6)
Nov 23 23:44:18 hostname NetworkManager[932]: <info>  [1511477058.5777] audit: 
op="connection-activate" uuid="6efe21fb-3251-41d3-936d-7f1ee0e3ca9d" name="VPN" 
pid=31913 uid=1000 result="success"
Nov 23 23:44:18 hostname NetworkManager[932]: <info>  [1511477058.6045] 
vpn-connection[0x560ddf83c2d0,6efe21fb-3251-41d3-936d-7f1ee0e3ca9d,"VPN",0]: 
Started the VPN service, PID 31921
Nov 23 23:44:18 hostname NetworkManager[932]: <info>  [1511477058.6195] 
vpn-connection[0x560ddf83c2d0,6efe21fb-3251-41d3-936d-7f1ee0e3ca9d,"VPN",0]: 
Saw the service appear; activating connection
Nov 23 23:44:18 hostname gnome-shell[1776]: Invalid VPN service type (cannot 
find authentication binary)
Nov 23 23:44:18 hostname gnome-shell[1776]: Invalid VPN service type (cannot 
find authentication binary)
Nov 23 23:44:18 hostname NetworkManager[932]: <error> [1511477058.6728] 
vpn-connection[0x560ddf83c2d0,6efe21fb-3251-41d3-936d-7f1ee0e3ca9d,"VPN",0]: 
Failed to request VPN secrets #3: No agents were availabl
Nov 23 23:44:18 hostname NetworkManager[932]: <info>  [1511477058.6930] 
vpn-connection[0x560ddf83c2d0,6efe21fb-3251-41d3-936d-7f1ee0e3ca9d,"VPN",0]: 
VPN service disappeared


However, manually starting the VPN, i.e.

    nmcli --ask connection up VPN

works.

If I don't provide the --ask, I get:

    $ nmcli connection up VPN
    A password is required to connect to 'VPN'.
    Warning: password for 'vpn.secrets.password' not given in 'passwd-file' and 
nmcli cannot ask without '--ask' option.
    Error: Connection activation failed: No valid secrets


This seems to be similar to https://bugzilla.redhat.com/show_bug.cgi?id=1394977

** Bug watch added: Red Hat Bugzilla #1394977
   https://bugzilla.redhat.com/show_bug.cgi?id=1394977

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager-applet in Ubuntu.
https://bugs.launchpad.net/bugs/1725062

Title:
  Network Manager Applet can't connect to VPN, but nmtui does

Status in Network Manager Applet:
  Confirmed
Status in network-manager-applet package in Ubuntu:
  Triaged

Bug description:
  1) Ubuntu 17.10 Fresh install
  2) network-manager-pptp/artful,now 1.2.4-4 amd64
  VPN connection, created in network manager can't even turn on - slider goes 
back to off right after your click on it. Connect via "connect" does nothing 
too. I've tried to change option - store password/do not store password. No 
errors shown,except syslog:
  Oct 20 03:13:27 sabertooth NetworkManager[824]: <info>  [1508458407.5923] 
audit: op="connection-activate" uuid="709047eb-3254-419f-a152-0a8ff0c3a04b" 
name="Schastye" pid=1603 uid=1000 result="success"
  Oct 20 03:13:27 sabertooth NetworkManager[824]: <info>  [1508458407.5966] 
vpn-connection[0x55b89ac6b2c0,709047eb-3254-419f-a152-0a8ff0c3a04b,"Schastye",0]:
 Started the VPN service, PID 5992
  Oct 20 03:13:27 sabertooth NetworkManager[824]: <info>  [1508458407.6019] 
vpn-connection[0x55b89ac6b2c0,709047eb-3254-419f-a152-0a8ff0c3a04b,"Schastye",0]:
 Saw the service appear; activating connection
  Oct 20 03:13:27 sabertooth gnome-shell[1603]: Invalid VPN service type 
(cannot find authentication binary)
  Oct 20 03:13:27 sabertooth gnome-shell[1603]: Invalid VPN service type 
(cannot find authentication binary)
  Oct 20 03:13:27 sabertooth NetworkManager[824]: <error> [1508458407.6336] 
vpn-connection[0x55b89ac6b2c0,709047eb-3254-419f-a152-0a8ff0c3a04b,"Schastye",0]:
 Failed to request VPN secrets #3: No agents were available for this request.
  Oct 20 03:13:27 sabertooth NetworkManager[824]: <info>  [1508458407.6347] 
vpn-connection[0x55b89ac6b2c0,709047eb-3254-419f-a152-0a8ff0c3a04b,"Schastye",0]:
 VPN plugin: state changed: stopped (6)

  If i try to connect to VPN via nmtui - everything works fine.

To manage notifications about this bug go to:
https://bugs.launchpad.net/network-manager-applet/+bug/1725062/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to