Public bug reported: I have a vpn-connection here which was working fine till recently. The configuration was imported from an openvpn config file and when run directly via "openvpn <config>" everything's fine but networkmanager fails on it. When I try to connect the first time network manager reports "success" but fails indeed and no connection is brought up. But reports "failure" for any further tries.
I think the essential lines from syslog are: Oct 15 12:31:59 oz NetworkManager[1070]: <info> [1476527519.2525] vpn-connection[0x2a815c0,12137411-6bb9-4f00-b383-56a5cab8bd6d,"et",10:(tun0)]: VPN connection: (IP Config Get) complete Oct 15 12:31:59 oz nm-openvpn[9248]: UID set to nm-openvpn Oct 15 12:31:59 oz nm-openvpn[9248]: UDPv4 link local: [undef] Oct 15 12:31:59 oz nm-openvpn[9248]: UDPv4 link remote: [AF_INET]xxx.xxx.xx.xx:xxxx Oct 15 12:31:59 oz nm-openvpn[9248]: RAND_bytes() failed Oct 15 12:31:59 oz nm-openvpn[9248]: Assertion failed at crypto.c:1386 (rand_bytes (output, len)) Oct 15 12:31:59 oz nm-openvpn[9248]: Exiting due to fatal error ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: network-manager 1.2.2-0ubuntu0.16.04.3 ProcVersionSignature: Ubuntu 4.4.0-43.63-lowlatency 4.4.21 Uname: Linux 4.4.0-43-lowlatency x86_64 ApportVersion: 2.20.1-0ubuntu2.1 Architecture: amd64 CurrentDesktop: i3 Date: Sat Oct 15 12:27:37 2016 EcryptfsInUse: Yes IfupdownConfig: # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback InstallationDate: Installed on 2014-06-03 (865 days ago) InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417) NetworkManager.state: [main] NetworkingEnabled=true WirelessEnabled=true WWANEnabled=true WimaxEnabled=true SourcePackage: network-manager UpgradeStatus: Upgraded to xenial on 2016-04-24 (173 days ago) mtime.conffile..etc.NetworkManager.NetworkManager.conf: 2014-06-21T22:53:48.293505 nmcli-nm: RUNNING VERSION STATE STARTUP CONNECTIVITY NETWORKING WIFI-HW WIFI WWAN-HW WWAN running 1.2.2 connected started full enabled enabled enabled enabled enabled ** Affects: network-manager (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1633704 Title: network manager vpn stopped working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1633704/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs