Comment 87 for bug 360818

Revision history for this message
Rene Jablonski (son-riab) wrote : Re: [Bug 360818] Re: NetworkManager.vpn fails -- nm-vpn-connection.c.900: NeedSecrets

I have the same error after a fresh installation of the openpvn plugin.

nm-vpn-connection.c.828: NeedSecrets failed: dbus-glib-error-quark
Rejected send message, 1 matched rules; type="method_call",
sender=":1.4" (uid=0 pid=991 comm="NetworkManager)
interface="org.freedesktop.NetworkManager.VPN.Plugin"
member="NeedSecrets" error name="(unset)" requested_reply=0
destination="org.freedesktop.NetworkManager.openvpn" (uid=0 pid=16481
comm="/usr/lib/network-manager-openvpn/nm-openvpn-servic"))

Looks like the same error but pay attention to the line.
vpnc: nm-vpn-connection.c.900
openvpn: nm-vpn-connection.c.828

After rebooting the only thing logged to syslog was

nm_vpn_connection_connect_cb(): VPN connection 'xyz' failed to connect:
'No VPN secrets!'

By the way, this is the way i use openvpn:

- authentication by certificates without a password for the keyfile
- lzo compression
- tun device
- udp
- rest -> default

Oh, i forgot: The vpnc-plugin is working without any problems!
I tried to find the error reported in the first post, but i can not find
it in syslog. I am using vpnc with an user and group password both
stored in the keyring. The rest are default values.

Alexander, i can not give you access to it, unfortunately. But using
openvpn in a terminal with a config file is working without problems.

- Rene