Steps to reproduce:
- Install OpenVPN plugin for NetworkManager (sudo apt install network-manager-openvpn-gnome)
- Download an OVPN file
- Open the Network tool
- Click the "+" button
- Select "Import from file..."
- Navigate to OVPN file, select it and click "Open" (an "Add VPN" window will appear)
- Fill in VPN credentials:
- Type (Automatic: "Password with certificates")
- User name
- Password
- Certificates and key (Automatic: files imported from OVPN file)
- Do not fill in "User key password" (not required)
- Click "Add"
- Activate VPN connection 1: Activate from GNOME desktop
- Activate VPN connection 2: Activate with nmcli: sudo nmcli connection up CONNECTION_NAME
- Activate VPN connection 3: Activate with openvpn: sudo openvpn --config FILENAME.ovpn
What should happen:
- VPN connection succeeds all three times.
What happens instead:
- Activate VPN connection 1: Immediately fails. No error message.
- Activate VPN connection 2: Fails with "Error: Connection activation failed: Unknown reason"
- Activate VPN connection 3: Succeeds. (correct)
Notes:
- Since the OpenVPN connection succeeds, we know there isn't a problem with the OVPN file.
- nmcli --version returns nmcli tool, version 1.10.2 on my up-to-date PureOS installation.
Installed packages:
- libc6: 2.26-4
- libglib2.0-0: 2.54.3-2
- libglib2.0-data: 2.54.3-2
- libgtk-3-0: 3.22.26-2
- libnm0: 1.10.2-4
- libnma0: 1.8.10-2
- libsecret-1-0: 0.18.5-5
- libsecret-common: 0.18.5-5
- network-manager: 1.10.2-4
- network-manager-openvpn: 1.8.0-2
- network-manager-openvpn-gnome: 1.8.0-2
- openvpn: 2.4.4-2
Related issues:
- https://bugzilla.gnome.org/show_bug.cgi?id=788226 (GNOME, original)
- https://bugzilla.gnome.org/show_bug.cgi?id=793334 (GNOME, duplicate)
- https://code.puri.sm/purist/services/issues/12 (Purist Services)