I understand this is an upstream bug. I'll just write this here anyway,
will post bug upstream later if nobody beats me to it.

Affects me too. The imported config said aes-256-cbc. That was read in
as BF-something-or-other. Blowfish, not AES. After setting that to
AES-256-CBC, the thing connects.

After some time, the following happens:

nm-openvpn[3577]: [integrity] Inactivity timeout (--ping-restart), restarting
nm-openvpn[3577]: SIGUSR1[soft,ping-restart] received, process restarting
nm-openvpn[3577]: NOTE: the current --script-security setting may allow this 
configuration to call user-defined scripts
nm-openvpn[3577]: TCP/UDP: Preserving recently used remote address: 
[AF_INET]<ip address>:<port>
nm-openvpn[3577]: UDP link local: (not bound)
nm-openvpn[3577]: UDP link remote: [AF_INET]<ip address>:<port>
nm-openvpn[3577]: [integrity] Peer Connection Initiated with [AF_INET]<ip 
address>:<port>
nm-openvpn[3577]: Preserving previous TUN/TAP instance: tun0
nm-openvpn[3577]: /usr/lib/NetworkManager/nm-openvpn-service-openvpn-helper 
--debug 0 3573 --bus-name org.freedesktop.NetworkManager.openvpn.Connection_8 
--tun -- tun0 1500 1558 <ip address> <mask> restart
nm-openvpn[3577]: WARNING: Failed running command (--up/--down): could not 
execute external program
nm-openvpn[3577]: Exiting due to fatal error
NetworkManager[667]: <error> [1496682880.1314] platform-linux: 
do-add-ip4-route[8: 0.0.0.0/0 50]: failure 101 (Nätverket kan inte nås)

It seems that nm-openvpn fails. Ideas on what to do?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager-openvpn in Ubuntu.
https://bugs.launchpad.net/bugs/1677198

Title:
  OpenVPN not Working in 17.04 via "Import a saved VPN configuration"

Status in NetworkManager:
  New
Status in network-manager-openvpn package in Ubuntu:
  Confirmed

Bug description:
  I can definitely confirm that Network Manager's OpenVPN is not working
  yet in Ubuntu 17.04.

  I set up my configuration via import:
  http://neartalk.com/ss/2017-03-29_001_633x332.png

  On all earlier versions of Ubuntu, after importing the configuration,
  I'm able to connect to the VPN. However, in 17.04, connection attempts
  always give this error immediately:

  "The VPN Connection disconnected because the VPN Service has stopped"

  Clearly the VPN Service has NOT stopped. I've confirmed that this
  error is false by taking the exact same import-file and I imported it
  into an Ubuntu 16.04 computer and then the VPN connected without
  issue. Also, with this same import-file I've had no issues in Ubuntu
  16.10.

  So I've thoroughly confirmed that there is no issue with the VPN
  service. The issue is with the client in Ubuntu 17.04.

  I cannot upgrade to 17.04 until this is fixed.

  ProblemType: Bug
  DistroRelease: Ubuntu 17.04
  Package: network-manager-openvpn-gnome 1.2.6-2ubuntu1
  ProcVersionSignature: Ubuntu 4.10.0-14.16-generic 4.10.3
  Uname: Linux 4.10.0-14-generic x86_64
  ApportVersion: 2.20.4-0ubuntu2
  Architecture: amd64
  CurrentDesktop: Unity:Unity7
  Date: Wed Mar 29 05:25:14 2017
  InstallationDate: Installed on 2017-01-30 (58 days ago)
  InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 
(20160719)
  SourcePackage: network-manager-openvpn
  UpgradeStatus: Upgraded to zesty on 2017-03-27 (2 days ago)

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to