Can't create ovpn

Bug #2037011 reported by Martin Randau
26
This bug affects 6 people
Affects Status Importance Assigned to Milestone
gnome-control-center
Fix Released
Unknown
gnome-control-center (Ubuntu)
Fix Released
High
Sebastien Bacher
network-manager-openvpn (Fedora)
New
Undecided
Unassigned

Bug Description

Settings -> Network -> Add VPN -> Import from file to import an .ovpn file does nothing after clicking Add, it just returns to the Add VPN page and no VPN connection is added. The same .ovpn file works fine in 22.04.

ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: network-manager-openvpn 1.10.2-3
ProcVersionSignature: Ubuntu 6.5.0-5.5-generic 6.5.0
Uname: Linux 6.5.0-5-generic x86_64
ApportVersion: 2.27.0-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Thu Sep 21 22:12:58 2023
InstallationDate: Installed on 2023-09-18 (3 days ago)
InstallationMedia: Ubuntu 23.10 "Mantic Minotaur" - Daily amd64 (20230918)
SourcePackage: network-manager-openvpn
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Martin Randau (cmmrandau) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in network-manager-openvpn (Ubuntu):
status: New → Confirmed
Revision history for this message
Caleb McKay (caleb-9) wrote :

Not just OpenVPN. Tested importing a wireguard config as well - same results.

Revision history for this message
Alexander Koskovich (nexusprism) wrote :

Worth noting this looks to be a bug in the official GNOME 45 release?

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

I can confirm the same, neither importing nor adding a VPN via the gui works.
You clock "add" after importing or configuring one, click add and then ... as if nothing had happened.

I ran `gnome-control-center` directly and followed journal, no related error message shows up.

It is not just visualization, `nmcli con` does also not list the connection that now should be known.

It seems to be a UI only issue, as I can import a connection via:
 $ nmcli connection import type openvpn file myfile.conf

Same for using the connection afterwars.
Clicking the UI enable toggle seems to do nothing.

But via cli it works:
 $ nmcli connection up myconection
 $ ip route
   ... shows pushed routes ...

Not that it would work, even connected I still can't reach anything. But it at least connects I guess?

Revision history for this message
Alexander Koskovich (nexusprism) wrote :

This looks to be the official bug report in GNOME: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2668

Changed in network-manager-openvpn (Ubuntu):
importance: Undecided → High
Changed in gnome-control-center (Ubuntu):
importance: Undecided → High
Changed in network-manager-openvpn (Ubuntu):
status: Confirmed → Invalid
no longer affects: network-manager-openvpn (Ubuntu)
Changed in gnome-control-center (Ubuntu):
assignee: nobody → Sebastien Bacher (seb128)
status: New → In Progress
Changed in gnome-control-center:
status: Unknown → New
Changed in gnome-control-center (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-control-center - 1:45.0-1ubuntu2

---------------
gnome-control-center (1:45.0-1ubuntu2) mantic; urgency=medium

  * debian/patches/gitlab-fix-vpn.patch:
    - cherry pick an upstream fix for a recent regression in the VPN
      configuration (lp: #2037011)

 -- Sebastien Bacher <email address hidden> Tue, 03 Oct 2023 12:01:57 +0200

Changed in gnome-control-center (Ubuntu):
status: Fix Committed → Fix Released
Changed in gnome-control-center:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.