Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#30747 - [networkmanager-openconnect] auth dialog failure
Attached to Project:
Arch Linux
Opened by Brandon (hashstat) - Wednesday, 18 July 2012, 22:17 GMT
Last edited by Jan Alexander Steffens (heftig) - Sunday, 10 March 2013, 16:32 GMT
Opened by Brandon (hashstat) - Wednesday, 18 July 2012, 22:17 GMT
Last edited by Jan Alexander Steffens (heftig) - Sunday, 10 March 2013, 16:32 GMT
|
DetailsDescription:
When attempting to make a networkmanager-openconnect VPN connection using the gnome-shell applet, the connection fails immediately, with no prompts whatsoever. A similar bug was reported on launchpad https://bugs.launchpad.net/ubuntu/+source/network-manager-applet/+bug/985788 with a couple of suggestions to work around the issue, but none are working for me. In particular #21 suggests a soft link from /usr/lib/networkmanager/nm-openconnect-auth-dialog to /usr/lib/gnome-shell/nm-openconnect-auth-dialog, which at least gets me a prompt for credentials, but crashes gnome-shell upon connection. There is also an upstream report for networkmanager-pptp that is similar https://bugzilla.gnome.org/show_bug.cgi?id=679212 and appears to be Arch-specific. It is also unclear whether this is an upstream or Arch bug. Additional info: * package version(s) networkmanager-openconnect 0.9.4.0-1 * config and/or log files etc. Configuration: The VPN was added through the "Network Connections" dialog. All the defaults were used except the Gateway and the CA Certificate. Logged in /var/log/everything.log: Jul 18 14:41:27 localhost NetworkManager[642]: <info> Starting VPN service 'openconnect'... Jul 18 14:41:27 localhost NetworkManager[642]: <info> VPN service 'openconnect' started (org.freedesktop.NetworkManager.openconnect), PID 4960 Jul 18 14:41:27 localhost NetworkManager[642]: <info> VPN service 'openconnect' appeared; activating connections Jul 18 14:41:27 localhost NetworkManager[642]: <error> [1342647687.700487] [nm-vpn-connection.c:934] get_secrets_cb(): Failed to request VPN secrets #3: (6) No agents were available for this request. Jul 18 14:41:27 localhost NetworkManager[642]: <info> Policy set 'Wired connection 1' (eth0) as default for IPv4 routing and DNS. No errors were reported in .xsession-errors. Steps to reproduce: 1. Configure an openconnect VPN connection as described in Configuration above. 2. Click the network applet in the top panel and click the VPN connection |
This task depends upon
Closed by Jan Alexander Steffens (heftig)
Sunday, 10 March 2013, 16:32 GMT
Reason for closing: Fixed
Additional comments about closing: gnome-shell 3.6.3.1-3
Sunday, 10 March 2013, 16:32 GMT
Reason for closing: Fixed
Additional comments about closing: gnome-shell 3.6.3.1-3
pacman -Qs openconnect:
local/networkmanager-openconnect 0.9.6.2-1
NetworkManager VPN integration for openconnect
local/openconnect 1:4.06-1
Open client for Cisco AnyConnect VPN
An the log says:
Sep 13 21:44:25 alessandro-sammy NetworkManager[250]: <error> [1347565465.25645] [nm-vpn-connection.c:1405] get_secrets_cb(): Failed to request VPN secrets #3: (6) No agents were available for this
Sep 13 21:44:25 alessandro-sammy NetworkManager[250]: <info> Policy set 'alessandro-bedroom automatica' (wlan0) as default for IPv4 routing and DNS.
pacman -Qs openconnect
local/networkmanager-openconnect 0.9.6.2-1
NetworkManager VPN integration for openconnect
local/openconnect 1:4.06-1
Open client for Cisco AnyConnect VPN
Log reports:
Sep 18 10:09:30 flinthills NetworkManager[460]: <info> VPN service 'openconnect'
appeared; activating connections
Sep 18 10:09:35 flinthills NetworkManager[460]: <error> [1347988175.387285] [nm-vpn-connection.c:1405] get_secrets_cb(): Failed to request VPN secrets #3: (6) No agents were available for this request.
Sep 18 10:09:35 flinthills NetworkManager[460]: <info> Policy set 'ap-wifi' (wlan0) as default for IPv4 routing and DNS.
Sep 18 10:09:40 flinthills NetworkManager[460]: <info> VPN service 'openconnect' disappeared
Work around: (Sym link into /usr/lib/gnome-shell)
seanvk@flinthills:~$ cd /usr/lib/gnome-shell/
seanvk@flinthills:/usr/lib/gnome-shell$ sudo ln -s /usr/lib/networkmanager/nm-openconnect-auth-dialog .
After that I get the dialog.
The idea for the symlink work around came from comment #21 here - https://bugs.launchpad.net/ubuntu/+source/network-manager-applet/+bug/985788
seanvk@flinthills:~$ cd /usr/lib/gnome-shell/
seanvk@flinthills:/usr/lib/gnome-shell$ sudo ln -s /usr/lib/networkmanager/nm-openconnect-auth-dialog .
The attached patch was used to resolve the issue in Ubuntu. It sets a path for the auth dialog.
networkmanager-openconnect 0.9.6.2-1
and that the sym link workaround does work in my case. Thanks, Sean.
https://bbs.archlinux.org/viewtopic.php?pid=1199439#p1199439
Details on how I fixed it are updated in the forum
https://bbs.archlinux.org/viewtopic.php?pid=1201304#p1201304
# ln -s /usr/lib/networkmanager/nm-openconnect-auth-dialog /usr/lib/gnome-shell/
Afterwards a reboot is needed. Maybe this could be incorporated into the package with a post_install message telling the user to reboot.
The same issue applies to networkmanager-openconnect and networkmanager-vpnc.