vajravrtti 0 Posted ... I'm trying to connect to AirVPN through Network Manager in a Kubuntu 14.04 system, but I always get a “VPN plugin failed: 1” error message.Even with the DEBUG option I couldn't find what is wrong.<info> Starting VPN service 'openvpn'...<info> VPN service 'openvpn' started (org.freedesktop.NetworkManager.openvpn), PID 2831<info> VPN service 'openvpn' appeared; activating connections<debug> [1486927751.762701] [nm-vpn-connection.c:1413] get_secrets(): (e605e7df-8936-4d9e-8099-17f69d0fe6dc/AirVPN_America_UDP-443) requesting VPN secrets pass #1<debug> [1486927751.762775] [nm-agent-manager.c:1104] nm_agent_manager_get_secrets(): Secrets requested for connection /org/freedesktop/NetworkManager/Settings/1 (vpn)<debug> [1486927751.762792] [nm-settings-connection.c:864] nm_settings_connection_get_secrets(): (e605e7df-8936-4d9e-8099-17f69d0fe6dc/vpn:2) secrets requested flags 0x80000004 hint '(null)'<debug> [1486927751.763244] [nm-agent-manager.c:1019] get_start(): (0xf0b190/vpn) system settings secrets sufficient<debug> [1486927751.763286] [nm-settings-connection.c:721] agent_secrets_done_cb(): (e605e7df-8936-4d9e-8099-17f69d0fe6dc/vpn:2) existing secrets returned<debug> [1486927751.763308] [nm-settings-connection.c:727] agent_secrets_done_cb(): (e605e7df-8936-4d9e-8099-17f69d0fe6dc/vpn:2) secrets request completed<debug> [1486927751.763776] [nm-settings-connection.c:767] agent_secrets_done_cb(): (e605e7df-8936-4d9e-8099-17f69d0fe6dc/vpn:2) new agent secrets processed<debug> [1486927751.763789] [nm-vpn-connection.c:1379] get_secrets_cb(): (e605e7df-8936-4d9e-8099-17f69d0fe6dc/AirVPN_America_UDP-443) asking service if additional secrets are required<debug> [1486927751.785041] [nm-vpn-connection.c:1349] plugin_need_secrets_cb(): (e605e7df-8936-4d9e-8099-17f69d0fe6dc/AirVPN_America_UDP-443) service indicated no additional secrets required<info> VPN plugin state changed: starting (3)<info> VPN connection 'AirVPN_America_UDP-443' (Connect) reply received.<warn> VPN plugin failed: 1<info> VPN plugin state changed: stopped (6)<info> VPN plugin state change reason: 0<debug> [1486927751.788185] [nm-dns-manager.c:1016] nm_dns_manager_begin_updates(): (vpn_connection_deactivated): queueing DNS updates (1)<debug> [1486927751.788192] [nm-dns-manager.c:1016] nm_dns_manager_begin_updates(): (update_routing_and_dns): queueing DNS updates (2)<info> Policy set 'Wired connection' (eth0) as default for IPv4 routing and DNS.<debug> [1486927751.788260] [nm-dns-manager.c:1034] nm_dns_manager_end_updates(): (nm_dns_manager_end_updates): DNS configuration did not change<debug> [1486927751.788266] [nm-dns-manager.c:1038] nm_dns_manager_end_updates(): (update_routing_and_dns): no DNS changes to commit (1)<debug> [1486927751.788272] [nm-dns-manager.c:1034] nm_dns_manager_end_updates(): (nm_dns_manager_end_updates): DNS configuration did not change<debug> [1486927751.788276] [nm-dns-manager.c:1038] nm_dns_manager_end_updates(): (vpn_connection_deactivated): no DNS changes to commit (0)<debug> [1486927751.788282] [nm-policy.c:1111] process_secondaries(): Secondary connection 'AirVPN_America_UDP-443' FAILED; active path '/org/freedesktop/NetworkManager/ActiveConnection/2'<warn> error disconnecting VPN: Could not process the request because no VPN connection was active.<info> VPN service 'openvpn' disappeared<debug> [1486927758.860257] [nm-vpn-service.c:274] ensure_killed(): waiting for VPN service pid 2831 to exit<debug> [1486927758.860274] [nm-vpn-service.c:276] ensure_killed(): VPN service pid 2831 cleaned up Quote Share this post Link to post
ma65547 7 Posted ... Seems to work on Kubuntu 16.10. Keys and certificates need to be included in the ovpn file though, otherwise the connection fails. Quote Share this post Link to post