Kubuntu 16.04 LTS network connection (VPN, and WPA2 WLAN) fails: "connection.gateway-ping-timeout: cannot set property: value of "###" of type 'guint' is invalid or out of range for property type 'gateway-ping-timeout' of type 'guint'"

Bug #1574826 reported by Thomas Dreibholz
320
This bug affects 13 people
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Just freshly installed Kubuntu 16.04. When trying to create a VPN in the network manager settings, the following error occurs:

"connection.gateway-ping-timeout: cannot set property: value of "###" of type 'guint' is invalid or out of range for property type 'gateway-ping-timeout' of type 'guint' "

"###" is sometimes a different value and sometimes repeating.

The issue happens for PPTP VPN as well as OpenConnect VPN (network-manager-openconnect was installed for this). It seems to be currently not possible to use Kubuntu 16.04 with a VPN, due to this bug. Therefore, it is quite critical for mobile usage (laptop) in public WLANs.

$ apt-show-versions | grep network-manager
network-manager:amd64/xenial 1.1.93-0ubuntu4 uptodate
network-manager:i386 not installed
network-manager-openconnect:amd64/xenial 1.0.2-1build1 uptodate
network-manager-openconnect:i386 not installed
network-manager-pptp:amd64/xenial 1.1.93-1ubuntu1 uptodate
network-manager-pptp:i386 not installed

Other users seem to have the problem as well:
- https://askubuntu.com/questions/761646/intermittent-networkmanager-error-on-importing-ovpn-files-or-editing-such-conne
- http://ubuntuforums.org/showthread.php?t=2321553

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: network-manager 1.1.93-0ubuntu4
ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
Uname: Linux 4.4.0-21-generic x86_64
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CurrentDesktop: KDE
Date: Mon Apr 25 21:28:45 2016
InstallationDate: Installed on 2016-04-25 (0 days ago)
InstallationMedia: Ubuntu-Server 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.3)
IpRoute:
 default via 172.31.255.254 dev wlp3s0 proto static metric 600
 default dev enp0s25 scope link metric 1002 linkdown
 169.254.0.0/16 dev enp0s25 proto kernel scope link src 169.254.13.163 linkdown
 172.31.255.0/24 dev wlp3s0 proto kernel scope link src 172.31.255.121 metric 600
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
SourcePackage: network-manager
UpgradeStatus: No upgrade log present (probably fresh install)
nmcli-con:
 NAME UUID TYPE TIMESTAMP TIMESTAMP-REAL AUTOCONNECT AUTOCONNECT-PRIORITY READONLY DBUS-PATH ACTIVE DEVICE STATE ACTIVE-PATH
 Forskningsnettverk Sognsvann 2bbff8c3-4a62-43e1-8bca-11af323eead6 802-11-wireless 1461612320 Mo 25 Apr 2016 21:25:20 CEST yes 0 no /org/freedesktop/NetworkManager/Settings/0 yes wlp3s0 activated /org/freedesktop/NetworkManager/ActiveConnection/0
nmcli-dev:
 DEVICE TYPE STATE DBUS-PATH CONNECTION CON-UUID CON-PATH
 wlp3s0 wifi connected /org/freedesktop/NetworkManager/Devices/2 Forskningsnettverk Sognsvann 2bbff8c3-4a62-43e1-8bca-11af323eead6 /org/freedesktop/NetworkManager/ActiveConnection/0
 enp0s25 ethernet unmanaged /org/freedesktop/NetworkManager/Devices/0 -- -- --
 lo loopback unmanaged /org/freedesktop/NetworkManager/Devices/1 -- -- --
nmcli-nm: Error: command ['nmcli', '-f', 'all', 'nm'] failed with exit code 2: Error: Object 'nm' is unknown, try 'nmcli help'.

Revision history for this message
Thomas Dreibholz (dreibh) wrote :
summary: - VPN creation fails
+ VPN creation fails (Kubuntu 16.04 LTS)
information type: Public → Public Security
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: VPN creation fails (Kubuntu 16.04 LTS)

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

Changed in network-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
Thomas Dreibholz (dreibh) wrote :

The bug not only affects VPN but also connecting to WLAN with WPA2 Enterprise via Tunnelled TLS. When trying to connect to such a WLAN, saving the configuration aborts with the same error message.

summary: - VPN creation fails (Kubuntu 16.04 LTS)
+ Kubuntu 16.04 LTS network connection (VPN, and WPA2 WLAN) fails:
+ "connection.gateway-ping-timeout: cannot set property: value of "###" of
+ type 'guint' is invalid or out of range for property type 'gateway-ping-
+ timeout' of type 'guint'"
Revision history for this message
Maxiride (maxiride-gmail) wrote :

Having the same issue on Kubuntu 16.04 while connecting to a regular PEAP, MSCHAPv2 wifi network.
Changing settings in the network manager doesn't seems to work, everything gets reverted back when closing the window.

Revision history for this message
Max (maxisoft-it) wrote :

Kubuntu 16.04. Same problem: when i try to make static ip connection. It is really annoying. I have to delete connection and make a new one every time.

Revision history for this message
Shinjo Park (peremen) wrote :

Kubuntu 16.04, same problem when I try to change nearly any setting. I tried following things:

* Changing status of IPv4/IPv6 enabled (wired/wireless)
* Changing APN of integrated 3G modem

Sometimes it works, sometimes it does not.

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

This too is a duplicate of bug #1569674, which already links to an upstream bug fix.

Jochen

Revision history for this message
Cyberpunk21 (cyberpunk21) wrote :

This bug has been reported and they have provided a patch to the networkmanager-qt package. I am looking for people to test it. If you can install one of the following packages (one is for amd64 and the second is i386)

https://launchpad.net/~clivejo/+archive/ubuntu/xenial/+files/libkf5networkmanagerqt6_5.18.0-0ubuntu2~ubuntu16.04~ppa1_amd64.deb

https://launchpad.net/~clivejo/+archive/ubuntu/xenial/+files/libkf5networkmanagerqt6-dbg_5.18.0-0ubuntu2~ubuntu16.04~ppa1_i386.deb

It worked for me. Please let me know if the patched package solves your problem.

Revision history for this message
Cynthia (c2588551) wrote :

I can confirm that this patch solved the issue.

I highley appreciate the quick and proper action on this.

Kind Regards

Revision history for this message
gnagnibu (gnagnibu) wrote :

It works!

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

Other bug subscribers

Remote bug watches

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