You are not logged in.

#1 2018-07-11 07:17:50

yandere
Member
From: /dev/null
Registered: 2017-04-16
Posts: 6
Website

NetworkManager no longer be able to connect to OpenVPN after upgrade

Hi,
My NetworkManager no longer be able to connect to OpenVPN after upgrade to version 1.12.0-1.

NetworkManager 1.12.0-1
NetworkManager Applet - 1.8.14

The log wrote:

 audit: op="connection-activate" uuid="78396cbf-4b53-455c-b234-93c6c8b9905b" name="Express_KR_1" result="fail" reason="Cannot specify device when activating VPN"

configuration file for the VPN:

[connection]
id=Express_KR_1
uuid=78396cbf-4b53-455c-b234-93c6c8b9905b
type=vpn
autoconnect=false
permissions=
timestamp=1531292599

[vpn]
auth=SHA512
ca=/home/xxxxxxxxxxxxxx/.cert/nm-openvpn/my_expressvpn_south_korea_udp-ca.pem
cert=/home/xxxxxxxxxxxxxx/.cert/nm-openvpn/my_expressvpn_south_korea_udp-cert.pem
cert-pass-flags=0
cipher=AES-256-CBC
comp-lzo=adaptive
connection-type=password-tls
fragment-size=1300
key=/home/xxxxxxxxxxxxxx/.cert/nm-openvpn/my_expressvpn_south_korea_udp-key.pem
keysize=256
ns-cert-type=server
password-flags=1
remote=xxxxxxxxxxxxxxxxxxxx:xxxx
remote-random=yes
ta=/home/xxxxxxxxxxxxxxxx/.cert/nm-openvpn/my_expressvpn_south_korea_udp-tls-auth.pem
ta-dir=1
tunnel-mtu=1500
username=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
verify-x509-name=name-prefix:Server
service-type=org.freedesktop.NetworkManager.openvpn

[ipv4]
dns-search=
method=auto

[ipv6]
addr-gen-mode=stable-privacy
dns-search=
ip6-privacy=0
method=auto

but however, if i specify "Automatically connnect to VPN" to the VPN server, it connects.

Any idea on how to solve this?

thank you!


Edit: It might be a network-manager-applet problem (https://bugs.debian.org/cgi-bin/bugrepo … bug=903109)

Last edited by yandere (2018-07-11 07:21:57)

Offline

#2 2018-07-11 09:24:06

seiichiro0185
Member
From: Leipzig/Germany
Registered: 2009-04-09
Posts: 226
Website

Re: NetworkManager no longer be able to connect to OpenVPN after upgrade

I have the same problem since updating to NM 1.12.0-1. Problem seems to be the nm-applet. You can still activate the VPN using the nmcli command on the commandline:

nmcli connection up <VPN_UUID>

You can list all your connections and their UUIDs with nmcli conncetion

Last edited by seiichiro0185 (2018-07-11 09:24:41)


My System: Dell XPS 13 | i7-7560U | 16GB RAM | 512GB SSD | FHD Screen | Arch Linux
My Workstation/Server: Supermicro X11SSZ-F | Xeon E3-1245 v6 | 64GB RAM | 1TB SSD Raid 1 + 6TB HDD ZFS Raid Z1 | Proxmox VE
My Stuff at Github: github
My Homepage: Seiichiros HP

Offline

#3 2018-07-11 10:05:55

IrvineHimself
Member
From: Scotland
Registered: 2016-08-21
Posts: 275

Re: NetworkManager no longer be able to connect to OpenVPN after upgrade

I am also having problems establishing a connection to openvpn using nm-applet, however I can still connect to the openvpn  daemon through the terminal with

sudo openvpn /etc/openvpn/client/<yourclient.config>

To restore the  nm-applet functionality, a temporary fix is to revert the most recent update to networkmanager with

sudo pacman -U /var/cache/pacman/pkg/networkmanager-1.10.10-1-x86_64.pkg.tar.xz

This suggests the problem is not nm-applet, but networkmanager (?)
Irvine

edit: corrected spelling mistakes

Last edited by IrvineHimself (2018-07-11 12:08:09)


Et voilà, elle arrive. La pièce, le sous, peut-être qu'il arrive avec vous!

Offline

#4 2018-07-11 11:02:09

seiichiro0185
Member
From: Leipzig/Germany
Registered: 2009-04-09
Posts: 226
Website

Re: NetworkManager no longer be able to connect to OpenVPN after upgrade

It seems they introduced some incompatiblity between the versions of NetworkManager and nm-applet currently available in Arch (they do a stricter checking for used parameters in NM 1.12 now). Details also in this NM pull request: https://github.com/NetworkManager/Netwo … r/pull/159


My System: Dell XPS 13 | i7-7560U | 16GB RAM | 512GB SSD | FHD Screen | Arch Linux
My Workstation/Server: Supermicro X11SSZ-F | Xeon E3-1245 v6 | 64GB RAM | 1TB SSD Raid 1 + 6TB HDD ZFS Raid Z1 | Proxmox VE
My Stuff at Github: github
My Homepage: Seiichiros HP

Offline

#5 2018-07-18 15:45:18

rakotomandimby
Member
From: Madagascar
Registered: 2014-05-07
Posts: 20
Website

Re: NetworkManager no longer be able to connect to OpenVPN after upgrade

It seems they applied the fix to NetworkManager... do you know if the NetworkManager package has it now?

Offline

#6 2018-07-18 16:11:47

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,784
Website

Re: NetworkManager no longer be able to connect to OpenVPN after upgrade

You know when the patch was merged, and you can check the build time of the package with pacman -Qi/-Si. You can answer this question yourself. wink

See also: https://bugs.archlinux.org/task/59326


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#7 2018-07-19 11:13:23

AndyD
Member
Registered: 2014-11-25
Posts: 13

Re: NetworkManager no longer be able to connect to OpenVPN after upgrade

WorMzy wrote:

You know when the patch was merged, and you can check the build time of the package with pacman -Qi/-Si. You can answer this question yourself. wink

Out of curiosity*, how is it decided when this package will be rebuilt? Does Arch wait for some kind of minor upstream version number, or is it whenever a volunteer finds the time to build and test it?

*and definitely not because I just stupidly deleted my pacman cache because a package wouldn't build, even though I knew I needed the 1.10 version of networkmanager...

Offline

#8 2018-07-19 12:09:38

IrvineHimself
Member
From: Scotland
Registered: 2016-08-21
Posts: 275

Re: NetworkManager no longer be able to connect to OpenVPN after upgrade

A simple Google search reveals  this wiki article on how to find outdated packages roll

Irvine

Edit: mistyped link

Last edited by IrvineHimself (2018-07-19 12:13:06)


Et voilà, elle arrive. La pièce, le sous, peut-être qu'il arrive avec vous!

Offline

#9 2018-07-19 13:17:36

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,784
Website

Re: NetworkManager no longer be able to connect to OpenVPN after upgrade

AndyD wrote:
WorMzy wrote:

You know when the patch was merged, and you can check the build time of the package with pacman -Qi/-Si. You can answer this question yourself. wink

Out of curiosity*, how is it decided when this package will be rebuilt? Does Arch wait for some kind of minor upstream version number, or is it whenever a volunteer finds the time to build and test it?

*and definitely not because I just stupidly deleted my pacman cache because a package wouldn't build, even though I knew I needed the 1.10 version of networkmanager...

See https://wiki.archlinux.org/index.php/Ar … Principles

Beyond this, it's up to the maintainer to decide how they want to handle the situation. For fast-moving software projects, with frequent releases, the maintainer may opt to wait for a point release rather than backporting a fix. This is why it is wise to keep an eye on the bug report.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#10 2018-07-24 05:49:36

stanna
Member
From: melb.au
Registered: 2017-03-24
Posts: 99

Re: NetworkManager no longer be able to connect to OpenVPN after upgrade

still broken after nearly a month!? or am i missing something?

I have downgraded to 1.10.10-1 in the meantime. Thanks for the heads up.

Offline

#11 2018-07-26 14:28:21

rakotomandimby
Member
From: Madagascar
Registered: 2014-05-07
Posts: 20
Website

Re: NetworkManager no longer be able to connect to OpenVPN after upgrade

Offline

#12 2018-07-27 06:03:11

seiichiro0185
Member
From: Leipzig/Germany
Registered: 2009-04-09
Posts: 226
Website

Re: NetworkManager no longer be able to connect to OpenVPN after upgrade

I can confirm this as solved for me, after todays update I can start VPNs from nm-applet again.


My System: Dell XPS 13 | i7-7560U | 16GB RAM | 512GB SSD | FHD Screen | Arch Linux
My Workstation/Server: Supermicro X11SSZ-F | Xeon E3-1245 v6 | 64GB RAM | 1TB SSD Raid 1 + 6TB HDD ZFS Raid Z1 | Proxmox VE
My Stuff at Github: github
My Homepage: Seiichiros HP

Offline

Board footer

Powered by FluxBB