← Back to team overview

desktop-packages team mailing list archive

[Bug 1483431] Re: PPTP VPN fails with 'Failed to request VPN secrets'

 

I have the same problem under Ubuntu 15.04 x64 for both PPTP and VPNC
(Cisco IPsec old vpn client) connections. Openvpn connections seems not
to be affected, but I did not test openvpn a lot.

I can find the same error on syslog:
[vpn-manager/nm-vpn-connection.c:1778] get_secrets_cb(): Failed to request VPN secrets #2: (6) No agents were available for this request.

It only happens at the first logon. If I logoff and then logon again, both PPTP and VPNC works fine.
I'm using logoff+logon as a workaround, but it's very annoying.

I did some debugging stopping and launching manually network manager with
 sudo NetworkManager -d --log-level DEBUG
The most useful thing I noticed comparing the debug output of a working logon session with a non working session, is the presence of the following line only on the working session

NetworkManager[5543]: <debug> [1440322623.554175] [settings/nm-agent-
manager.c:330] impl_agent_manager_register_with_capabilities():
(:1.182/org.freedesktop.nm-applet/1000) requesting permissions

The above line does not appear when I'm inside a "first logon" (not working) session.
It seems that nm-applet is unable to register as an agent to NetworkManager, but only at the first login.

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

Title:
  PPTP VPN fails with 'Failed to request VPN secrets'

Status in network-manager-pptp package in Ubuntu:
  Confirmed

Bug description:
  I've been being running Ubuntu 15.04 without problems until a recent
  system update.  Now, connecting to a PPTP VPN using Network Manager
  fails with the following in /var/log/syslog

  Aug 10 16:40:34 mycomputer NetworkManager[739]: <error>
  [1439239234.476337] [vpn-manager/nm-vpn-connection.c:1778]
  get_secrets_cb(): Failed to request VPN secrets #2: (6) No agents were
  available for this request.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: network-manager-pptp 0.9.10.0-1ubuntu1
  ProcVersionSignature: Ubuntu 3.19.0-25.26-generic 3.19.8-ckt2
  Uname: Linux 3.19.0-25-generic x86_64
  ApportVersion: 2.17.2-0ubuntu1.2
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Aug 10 19:07:48 2015
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2015-07-14 (27 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  SourcePackage: network-manager-pptp
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager-pptp/+bug/1483431/+subscriptions


References