2008-10-08 12:52:19 |
Thierry Carrez |
bug |
|
|
added bug |
2008-10-09 19:37:30 |
Thierry Carrez |
description |
Binary package hint: network-manager-openvpn
Using openvpn rc9-3ubuntu2 and network-manager-openvpn 0.7~~svn20080928t225540-0ubuntu1.
When openvpn sends itself a SIGUSR1, network-manager-openvpn calls nm-openvpn-service-openvpn-helper with the "restart" parameter but that fails, resulting in the tearing down of the openvpn connection :
nm-openvpn[5682]: [server] Inactivity timeout (--ping-restart), restarting
nm-openvpn[5682]: SIGUSR1[soft,ping-restart] received, process restarting
[...]
nm-openvpn[5682]: UDPv4 link remote: 192.168.122.1:1194
nm-openvpn[5682]: [server] Peer Connection Initiated with 192.168.122.1:1194
nm-openvpn[5682]: Preserving previous TUN/TAP instance: tun0
nm-openvpn[5682]: /usr/lib/network-manager-openvpn/nm-openvpn-service-openvpn-helper tun0 1500 1541 10.8.0.6 10.8.0.5 restart
NetworkManager: <info> VPN plugin failed: 2
nm-openvpn[5682]: script failed: external program exited with error status: 1
nm-openvpn[5682]: Exiting
NetworkManager: <info> VPN plugin failed: 1
NetworkManager: <info> VPN plugin state changed: 6
NetworkManager: <info> VPN plugin state change reason: 0
NetworkManager: <WARN> connection_state_changed(): Could not process the request because no VPN connection was active.
NetworkManager: nm_system_device_flush_ip4_routes_with_iface: assertion `iface_idx >= 0' failed
NetworkManager: nm_system_device_flush_ip4_addresses_with_iface: assertion `iface_idx >= 0' failed
NetworkManager: <info> Policy set (eth0) as default device for routing and DNS.
nm-dispatcher.action: Script '/etc/NetworkManager/dispatcher.d/01ifupdown' exited with error status 1.
NetworkManager: <debug> [1223468236.827482] ensure_killed(): waiting for vpn service pid 5674 to exit
NetworkManager: <debug> [1223468236.828433] ensure_killed(): vpn service pid 5674 cleaned up
That can occur by default just by inactivity : when connected using a udp-based openvpn, by default it uses "ping-restart 120" which will result in openvpn sending a SIGUSR1 to itself after 120 seconds of VPN inactivity.
Running "sudo /usr/lib/network-manager-openvpn/nm-openvpn-service-openvpn-helper tun0 1500 1541 10.8.0.6 10.8.0.5 restart" on an opened connection results in:
** (process:5944): WARNING **: <WARN> helper_failed(): nm-openvpn-service-openvpn-helper did not receive a valid VPN gateway from openvpn
Its return code is 1. |
Binary package hint: network-manager-openvpn
Using openvpn rc9-3ubuntu2 and network-manager-openvpn 0.7~~svn20080928t225540-0ubuntu1.
When openvpn sends itself a SIGUSR1, network-manager-openvpn calls nm-openvpn-service-openvpn-helper with the "restart" parameter but that fails, resulting in the tearing down of the openvpn connection :
nm-openvpn[5682]: [server] Inactivity timeout (--ping-restart), restarting
nm-openvpn[5682]: SIGUSR1[soft,ping-restart] received, process restarting
[...]
nm-openvpn[5682]: UDPv4 link remote: 192.168.122.1:1194
nm-openvpn[5682]: [server] Peer Connection Initiated with 192.168.122.1:1194
nm-openvpn[5682]: Preserving previous TUN/TAP instance: tun0
nm-openvpn[5682]: /usr/lib/network-manager-openvpn/nm-openvpn-service-openvpn-helper tun0 1500 1541 10.8.0.6 10.8.0.5 restart
NetworkManager: <info> VPN plugin failed: 2
nm-openvpn[5682]: script failed: external program exited with error status: 1
nm-openvpn[5682]: Exiting
NetworkManager: <info> VPN plugin failed: 1
NetworkManager: <info> VPN plugin state changed: 6
NetworkManager: <info> VPN plugin state change reason: 0
NetworkManager: <WARN> connection_state_changed(): Could not process the request because no VPN connection was active.
NetworkManager: nm_system_device_flush_ip4_routes_with_iface: assertion `iface_idx >= 0' failed
NetworkManager: nm_system_device_flush_ip4_addresses_with_iface: assertion `iface_idx >= 0' failed
NetworkManager: <info> Policy set (eth0) as default device for routing and DNS.
nm-dispatcher.action: Script '/etc/NetworkManager/dispatcher.d/01ifupdown' exited with error status 1.
NetworkManager: <debug> [1223468236.827482] ensure_killed(): waiting for vpn service pid 5674 to exit
NetworkManager: <debug> [1223468236.828433] ensure_killed(): vpn service pid 5674 cleaned up
That can occur by default just by inactivity : when connected using a udp-based openvpn, by default it uses "ping-restart 120" which will result in openvpn sending a SIGUSR1 to itself after 120 seconds of VPN inactivity. |
|
2008-10-13 13:57:07 |
Thierry Carrez |
network-manager-openvpn: importance |
Undecided |
Medium |
|
2008-10-13 13:57:07 |
Thierry Carrez |
network-manager-openvpn: statusexplanation |
|
|
|
2008-12-06 11:42:46 |
Vladimir Elizarov |
bug |
|
|
added attachment 'openvpn-log' (openvpn-log) |
2008-12-22 15:23:37 |
Alexander Sack |
bug |
|
|
assigned to network-manager |
2008-12-22 15:23:51 |
Alexander Sack |
network-manager-openvpn: status |
New |
Triaged |
|
2009-01-07 06:21:08 |
Bug Watch Updater |
network-manager: status |
Unknown |
Confirmed |
|
2010-01-04 12:17:28 |
dasdsadsada |
removed subscriber Retrry |
|
|
|
2010-09-16 15:51:03 |
Bug Watch Updater |
network-manager: importance |
Unknown |
High |
|
2010-09-28 06:27:40 |
elijah |
bug |
|
|
added subscriber elijah |
2010-12-16 09:06:09 |
Jonathan Ernst |
bug |
|
|
added subscriber Jonathan Ernst |
2011-02-27 23:43:55 |
Daniel Dumitrache |
bug watch added |
|
https://community.openvpn.net/openvpn/ticket/93 |
|
2011-02-27 23:49:13 |
Daniel Dumitrache |
bug |
|
|
added subscriber Daniel Dumitrache |
2011-02-27 23:51:09 |
Daniel Dumitrache |
removed subscriber Daniel Dumitrache |
|
|
|
2011-02-27 23:51:42 |
Daniel Dumitrache |
bug |
|
|
added subscriber Daniel Dumitrache |
2011-07-21 14:54:02 |
Colan Schwartz |
bug |
|
|
added subscriber Colan Schwartz |
2011-07-21 15:02:15 |
Colan Schwartz |
bug task added |
|
openvpn |
|
2011-07-22 08:15:44 |
Bug Watch Updater |
openvpn: status |
Unknown |
New |
|
2011-07-29 20:02:09 |
Craig |
bug |
|
|
added subscriber Craig |
2011-10-14 17:14:48 |
Colan Schwartz |
tags |
|
oneiric |
|
2012-04-24 15:08:56 |
Julian Alarcon |
bug |
|
|
added subscriber Julian Alarcon |
2012-04-24 15:09:28 |
Julian Alarcon |
tags |
oneiric |
oneiric precise |
|
2012-05-16 11:26:34 |
Thierry Carrez |
removed subscriber Thierry Carrez |
|
|
|
2013-05-25 04:44:05 |
ealbiter |
bug |
|
|
added subscriber ealbiter |
2014-04-24 06:46:56 |
Bug Watch Updater |
network-manager: status |
Confirmed |
Fix Released |
|
2020-07-21 09:22:10 |
sokai |
bug |
|
|
added subscriber sokai |
2023-02-26 15:33:48 |
bojo42 |
removed subscriber bojo42 |
|
|
|