Re: OpenVpn plugin NeedSecret



Hi,
sorry for delay.
Below the piace of log with log-legel DEBUG:

NetworkManager[3054]: <info> Starting VPN service 'openvpn'...
NetworkManager[3054]: <info> VPN service 'openvpn' started (org.freedesktop.NetworkManager.openvpn), PID 3089
NetworkManager[3054]: <info> VPN service 'openvpn' appeared; activating connections
NetworkManager[3054]: <debug> [1320230029.479049] [nm-vpn-connection.c:902] get_secrets(): (355653c0-34d3-4777-ad25-f9a498b7ef8e/VPNconnection) requesting VPN secrets pass #1
NetworkManager[3054]: <debug> [1320230029.481972] [nm-agent-manager.c:1100] nm_agent_manager_get_secrets(): Secrets requested for connection /org/freedesktop/NetworkManager/Settings/0 (vpn)
NetworkManager[3054]: <debug> [1320230029.485727] [nm-settings-connection.c:850] nm_settings_connection_get_secrets(): (355653c0-34d3-4777-ad25-f9a498b7ef8e/vpn:2) secrets requested flags 0x80000000 hint '(null)'
NetworkManager[3054]: <info> VPN plugin state changed: 1
NetworkManager[3054]: <debug> [1320230029.491319] [nm-agent-manager.c:1015] get_start(): (0xe1c10/vpn) system settings secrets sufficient
NetworkManager[3054]: <debug> [1320230029.492466] [nm-settings-connection.c:706] agent_secrets_done_cb(): (355653c0-34d3-4777-ad25-f9a498b7ef8e/vpn:2) existing secrets returned
NetworkManager[3054]: <debug> [1320230029.492907] [nm-settings-connection.c:712] agent_secrets_done_cb(): (355653c0-34d3-4777-ad25-f9a498b7ef8e/vpn:2) secrets request completed
NetworkManager[3054]: <debug> [1320230029.497663] [nm-settings-connection.c:751] agent_secrets_done_cb(): (355653c0-34d3-4777-ad25-f9a498b7ef8e/vpn:2) new agent secrets processed
NetworkManager[3054]: <debug> [1320230029.498118] [nm-vpn-connection.c:870] get_secrets_cb(): (355653c0-34d3-4777-ad25-f9a498b7ef8e/VPNconnection) asking service if additional secrets are required
NetworkManager[3054]: <error> [1320230029.511927] [nm-vpn-connection.c:823] plugin_need_secrets_cb(): (355653c0-34d3-4777-ad25-f9a498b7ef8e/VPNconnection) plugin NeedSecrets request #1 failed: dbus-glib-error-quark Invalid connection type.
NetworkManager[3054]: <info> Policy set 'MyConnection' (eth0) as default for IPv4 routing and DNS.
NetworkManager[3054]: <info> VPN service 'openvpn' disappeared
NetworkManager[3054]: <debug> [1320230037.2325] [nm-vpn-service.c:267] ensure_killed(): waiting for VPN service pid 3089 to exit
NetworkManager[3054]: <debug> [1320230037.2932] [nm-vpn-service.c:269] ensure_killed(): VPN service pid 3089 cleaned up

Thank you

On Mon, Oct 31, 2011 at 11:28 PM, Dan Williams <dcbw redhat com> wrote:
On Fri, 2011-10-28 at 18:34 +0200, Francesco Andrisani wrote:
> Hi,
> i'm newbie of Network manager, so sorry for any errors.
>
> I'm an Debian User. I've downloaded and conpiled Networkmanager-0.9.0
> with ModemManager 0.5 and NetworkManager-openvpn-0.9.0 plugin.
> Network manager work fine. I'm able with my custom python script to
> use ethernet and gsm at modem.
>
> My problem is when i try to start Openvpn (using NM) throught ethernet
> device.
> I continuosly see into NM logs:
>
> Oct 28 17:16:46 sheevaplug-debian NetworkManager[2327]: <info>
> Starting VPN service 'openvpn'...
> Oct 28 17:16:46 sheevaplug-debian NetworkManager[2327]: <info> VPN
> service 'openvpn' started (org.freedesktop.NetworkManager.openvpn),
> PID 2416
> tun: Universal TUN/TAP device driver, 1.6
> tun: (C) 1999-2004 Max Krasnyansky <maxk qualcomm com>
> Oct 28 17:16:47 sheevaplug-debian NetworkManager[2327]: <info> VPN
> service 'openvpn' appeared; activating connections
> Oct 28 17:16:47 sheevaplug-debian NetworkManager[2327]: <info> VPN
> plugin state changed: 1
> Oct 28 17:16:47 sheevaplug-debian NetworkManager[2327]: <error>
> [1319822207.127668] [nm-vpn-connection.c:823]
> plugin_need_secrets_cb():
> (355653c0-34d3-4777-ad25-f9a498b7ef8e/VPNconnection) plugin
> NeedSecret.
> Oct 28 17:16:47 sheevaplug-debian NetworkManager[2327]: <info> Policy
> set 'MyConnection' (eth0) as default for IPv4 routing and DNS.
> Oct 28 17:16:52 sheevaplug-debian NetworkManager[2327]: <info> VPN
> service 'openvpn' disappeared

The error message appears to be somewhat cut off; can you grab the full
message from [nm-vpn-connection.c:823] plugin_need_secrets_cb() for us?
That will have more information about where the problem may lie.

It should be something like:

(355653c0-34d3-4777-ad25-f9a498b7ef8e/VPNconnection) plugin NeedSecrets
request 1 failed: <message> <message2>

Dan




--
____________________________________________________
Francesco Andrisani
mailto:francesco andrisani acotel com
Acotel Spa
http://www.acotel.com
Via della Valle dei Fontanili, 29
00168 Roma
Tel +390661141200
Fax +39066149936
____________________________________________________

Le informazioni contenute nella comunicazione che precede possono essere riservate e sono, comunque, destinate esclusivamente alla persona o all’ente sopraindicati. La diffusione, distribuzione e/o copiatura non autorizzata del documento trasmesso da parte di qualsiasi soggetto è proibita. La sicurezza e la correttezza dei messaggi di posta elettronica non possono essere garantite. Se avete ricevuto questo messaggio per errore, Vi preghiamo di contattarci immediatamente. Grazie.

This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any transmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Thanks




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]