Network Manager fails to connect to VPN (AnyConnect) - [vpn-mana ger/nm-vpn-connection.c:1770] get_secrets_cb(): Failed to request VPN secrets #2 : (6) No agents were available for this request

Bug #1491844 reported by Wolf Rogner
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
In Progress
High
Unassigned

Bug Description

Installed vpnc
established vpn connection successfully
after restart, the vpn connection cannot be established any more

mbr NetworkManager[17397]: <error> [1441285066.578727] [vpn-mana
ger/nm-vpn-connection.c:1770] get_secrets_cb(): Failed to request VPN secrets #2
: (6) No agents were available for this request.

Workaround:

rm .gconf/apps/nm-applet
logout/login
connect to VPN works

This surely cannot be a normal procedure

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: network-manager 0.9.10.0-4ubuntu15.2
ProcVersionSignature: Ubuntu 3.19.0-28.30-generic 3.19.8-ckt5
Uname: Linux 3.19.0-28-generic x86_64
NonfreeKernelModules: nvidia wl
ApportVersion: 2.17.2-0ubuntu1.4
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Sep 3 15:10:53 2015
IfupdownConfig:
 # interfaces(5) file used by ifup(8) and ifdown(8)
 auto lo
 iface lo inet loopback
InstallationDate: Installed on 2013-05-17 (838 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64+mac (20130424)
IpRoute:
 default via 10.1.0.254 dev wlan0 proto static metric 400
 10.0.0.0/8 dev wlan0 proto kernel scope link src 10.1.0.104
 169.254.0.0/16 dev wlan0 scope link metric 1000
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
 WimaxEnabled=true
SourcePackage: network-manager
UpgradeStatus: Upgraded to vivid on 2015-04-25 (131 days ago)
nmcli-nm: Error: command ['nmcli', '-f', 'all', 'nm'] failed with exit code 2: Error: Object 'nm' is unknown, try 'nmcli help'.

Revision history for this message
Wolf Rogner (war-rsb) wrote :
summary: - Network Manager fails to connect to VPN (AnyConnect) - mbr
- NetworkManager[17397]: <error> [1441285066.578727] [vpn-mana ger/nm-vpn-
- connection.c:1770] get_secrets_cb(): Failed to request VPN secrets #2 :
- (6) No agents were available for this request
+ Network Manager fails to connect to VPN (AnyConnect) - [vpn-mana ger/nm-
+ vpn-connection.c:1770] get_secrets_cb(): Failed to request VPN secrets
+ #2 : (6) No agents were available for this request
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in network-manager (Ubuntu):
status: New → Confirmed
Changed in network-manager (Ubuntu):
importance: Undecided → High
Revision history for this message
Wolf Rogner (war-rsb) wrote :

ii network-manage 0.9.10.0-4ub amd64 network management framework (dae

Linux mbr 3.19.0-30-generic #34-Ubuntu SMP Fri Oct 2 22:08:41 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Problem still exists.

Revision history for this message
Wolf Rogner (war-rsb) wrote :

This bug still applies with kernel 3.19.0-31-generic #36-Ubuntu SMP

Revision history for this message
Miakoda Combies (hellomiakoda) wrote :

Somewhere in this thread, I saw a ppa to download a fixed version of network manager. This didn't work for me, as the PPA is 404. I really need a fix, VPN access is critical

Revision history for this message
Wolf Rogner (war-rsb) wrote :

This issue still exists in Linux 4.2.0-22-generic #27-Ubuntu SMP Thu Dec 17 22:57:08 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

This is what happens in the log file:
...
Dec 22 11:47:18 mbr wpa_supplicant[1000]: wlan0: WPA: Group rekeying completed with 60:e3:27:4f:bb:0e [GTK=TKIP]
Dec 22 11:47:25 mbr openconnect[9546]: CSTP Dead Peer Detection detected dead peer!
...

The average intervall is less than 1 minute.

Revision history for this message
Fred Schnittke (fschnittke) wrote :

Still seeing the same problem in Ububtu 15.10,
Kernel: 4.2.0-27-generic
OpenConnect: 7.0.6.2build1

Disconnects from vpn at least once every 45 minutes. Reconnects by itself (but that doesn't really help).
Error: CSTP Dead Peer Detection detected dead peer!

Changed in network-manager (Ubuntu):
status: Confirmed → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.