Can't save openvpn connection (connection.gateway-ping-timeout: can not set property value 37892016)

Bug #1571658 reported by Yuriy Vidineev
64
This bug affects 12 people
Affects Status Importance Assigned to Milestone
NetworkManager-OpenVPN
New
Undecided
Unassigned
network-manager-openvpn (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hello
I have relatively simple openvpn connection config

[connection]
id=developer-vpn-la
uuid=3e6fc95d-0bc0-4118-a00a-7c6f3852c2fd
type=vpn
gateway-ping-timeout=71
permissions=
secondaries=

[vpn]
ta-dir=1
fragment-size=1400
connection-type=password-tls
password-flags=1
remote=some-server
cipher=AES-128-CBC
comp-lzo=yes
cert-pass-flags=4
port=1194
mssfix=yes
username=adept
ca=/home/adept/ownCloud/documents/openvpn/ca.crt
cert=/home/adept/ownCloud/documents/openvpn/adept.crt
key=/home/adept/ownCloud/documents/openvpn/adept.key
ta=/home/adept/.local/share/networkmanagement/certificates/ta.key
service-type=org.freedesktop.NetworkManager.openvpn

[ipv4]
dns-search=
method=auto

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

I want to add 'never-default=true' option via GUI (KDE) but it can't be saved. Error in logs:

Apr 18 18:25:26 adept-XPS13 NetworkManager[669]: <info> [1460985926.6646] audit: op="connection-update" uuid="3e6fc95d-0bc0-4118-a00a-7c6f3852c2fd" name="developer-vpn-la" result="fail" reason="connection.gateway-ping-timeout: can not set property: value "37892016" of type 'guint' is invalid or out of range for property 'gateway-ping-timeout' of type 'guint'"

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: network-manager-openvpn 1.1.93-1ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6
Uname: Linux 4.4.0-18-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CurrentDesktop: KDE
Date: Mon Apr 18 18:18:28 2016
EcryptfsInUse: Yes
SourcePackage: network-manager-openvpn
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Yuriy Vidineev (adeptg) wrote :
Revision history for this message
Yuriy Vidineev (adeptg) wrote :

nmcli works as expected
sudo nmcli connection modify uuid 3e6fc95d-0bc0-4118-a00a-7c6f3852c2fd ipv4.never-default true

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
Grief (iamgrief) wrote :

I receive the message "connection.gateway-ping-timeout: can not set property: value "xxxxxxxx" of type 'guint' is invalid or out of range for property 'gateway-ping-timeout' of type 'guint'" almost on every change of network connection properties

Revision history for this message
Jochen Gruse (lpnet) wrote :

Hi there,

the problem is even worse. Even the simplest network connections fail most of the time, as the value to be set for connection.gateway-ping-timeout varies randomly.

Steps to reproduce the problem (almost) consistently on Kubuntu Xenial are:

# Right-click systray/Networks
# Click Configure Network Connections
# In the Connection Editor, click "Add+".
# Click Wired Ethernet.
# Click OK
# If the connection really get added, you've been lucky: A plausible number was randomly set for connection.gateway-ping-timeout.
# Either retry from step 3 until adding fails or edit your new connection, change the name and click OK. The most tries I ever needed to get the error message was 3 times.

And please take a closer look at the config of the original bug reporter: "connection.gateway-ping-timeout=71" ist explicitly set, but NM tries to set a ridiciously large value which is not in the original config!

Regards,
Jochen

Revision history for this message
Jochen Gruse (lpnet) wrote :

I've just found bug #1569674, which already has a link to an fixed bug in upstream. This bug seems to be a duplicate.

Jochen

Revision history for this message
Yuriy Vidineev (adeptg) wrote :

Thanks, Jochen! I think you're right and it's a duplicate

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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