← Back to team overview

desktop-packages team mailing list archive

[Bug 508740] Re: PPTP VPN "no valid VPN secrets"

 

I use VPN in every Ubuntu version, usually pptp type.

Starting with Vivid new problem raised: the connection, which is
properly configured and working first time after the fresh OS
installation, does not initiate when the computer is rebooted.

Scenario:

- installing Vivid, from scratch
- configuring WiFi access
- connecting to the WiFi
- verifying: everything works fine, including Internet access and browsing
- using right-screen network icon, creating the VPN pptp tunnel
- connecting to the VPN, animated wifi icon runs and connects
- checking : everything works fine

reboot

- reconnecting to the WiFi with the menu icon: ok
- checking : Internet works, everything OK
- clicking on VPN name connection in the network menu in the right, upper side menu icon: nothing happens. There is no usual "connecting" animated icon, the VPN does not starts
- rebooting, restarting network manager, recreating the new VPN under the new name does not solve the problem.


Trying with the nmcli from Terminal au a normal user:

$ nmcli con up vpnname (or sudo nmcli con up vpnname)

nothing happens. After the 90 seconds, there is a time-out message .

Connecting as a root:

root@.... nmcli con up vpnname

instantaneous message : "No valid VPN secrets"

Restarting the network-manager does not solve the problem.

In /etc/NetworkManager/system-connections/ConnectionName there is a
small binary file under the VPN connexion name, it is impossible to edit
it.

-- 
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/508740

Title:
  PPTP VPN "no valid VPN secrets"

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

Bug description:
  Binary package hint: network-manager-pptp

  When trying to connect I immediately get a notification stating:
  "The VPN connection '<name>' failed. because there were no valid VPN secrets."

  I'm quite positive I've not made an error in setting it up.

  My syslog spits out this:
  Jan 17 13:51:26 lena NetworkManager: <info>  Starting VPN service 'org.freedesktop.NetworkManager.pptp'...
  Jan 17 13:51:26 lena NetworkManager: <info>  VPN service 'org.freedesktop.NetworkManager.pptp' started (org.freedesktop.NetworkManager.pptp), PID 8900
  Jan 17 13:51:26 lena NetworkManager: <info>  VPN service 'org.freedesktop.NetworkManager.pptp' just appeared, activating connections
  Jan 17 13:51:26 lena NetworkManager: nm-vpn-connection.c.828: NeedSecrets failed: dbus-glib-error-quark Rejected send message, 1 matched rules; type="method_call", sender=":1.2" (uid=0 pid=1051 comm="NetworkManager) interface="org.freedesktop.NetworkManager.VPN.Plugin" member="NeedSecrets" error name="(unset)" requested_reply=0 destination="org.freedesktop.NetworkManager.pptp" (uid=0 pid=8900 comm="/usr/lib/network-manager-pptp/nm-pptp-service))
  Jan 17 13:51:26 lena NetworkManager: <WARN>  connection_state_changed(): Rejected send message, 1 matched rules; type="method_call", sender=":1.2" (uid=0 pid=1051 comm="NetworkManager) interface="org.freedesktop.NetworkManager.VPN.Plugin" member="Disconnect" error name="(unset)" requested_reply=0 destination="org.freedesktop.NetworkManager.pptp" (uid=0 pid=8900 comm="/usr/lib/network-manager-pptp/nm-pptp-service))
  Jan 17 13:51:26 lena NetworkManager: <info>  Policy set 'Auto netgear' (eth1) as default for routing and DNS.
  Jan 17 13:51:38 lena NetworkManager: <debug> [1263732698.001156] ensure_killed(): waiting for vpn service pid 8900 to exit
  Jan 17 13:51:38 lena NetworkManager: <debug> [1263732698.001284] ensure_killed(): vpn service pid 8900 cleaned up

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