FS#52773 - [networkmanager] >= 1.6.0-1 connectifity check reports false positive
Attached to Project:
Arch Linux
Opened by Peter Weber (hoschi) - Monday, 30 January 2017, 10:10 GMT
Last edited by Jan Alexander Steffens (heftig) - Sunday, 19 June 2022, 09:53 GMT
Opened by Peter Weber (hoschi) - Monday, 30 January 2017, 10:10 GMT
Last edited by Jan Alexander Steffens (heftig) - Sunday, 19 June 2022, 09:53 GMT
|
Details
Description:
Hello! Looks like the new PKGBUILD contains an automatic connection-check and if it fails, it will add a 'question mark' about the connection icon in the System-Tray of GNOME. I'm here in a company with a regular (forward) proxy, which is configured for http, https and ftp inside NetworkManager. The internet connection works fine and I can access the URI 'http://pkgbuild.com/check_network_status.txt', so this is a false positive. Additional info: * package version(s): >= 1.6.0-1 * config and/or log files etc.: Jan 30 11:04:06 lap-lnx-pew NetworkManager[377]: <info> [1485770646.4526] connectivity: check for uri 'http://pkgbuild.com/check_network_status.txt' failed with 'Could not connect: Network is unreachable' Steps to reproduce: 1. upgrade to 1.6.0-1 or above 2. network behind a proxy e.g. squid + mcafee (in my case) 3. watch the top right corner of GNOME3 after the network is up (usually at login prompt or after login) Thanks PS: I've applied the file mode change for "install -dm700 "$pkgdir/etc/NetworkManager/system-connections", but that shouldn't be the problem, because everything works. |
This task depends upon
Closed by Jan Alexander Steffens (heftig)
Sunday, 19 June 2022, 09:53 GMT
Reason for closing: Not a bug
Additional comments about closing: Intended behavior of connectivity checking. Disable it if this bothers you.
Sunday, 19 June 2022, 09:53 GMT
Reason for closing: Not a bug
Additional comments about closing: Intended behavior of connectivity checking. Disable it if this bothers you.
Edit /etc/NetworkManager/NetworkManager.conf
add/edit the lines:
[connectivity]
interval=0
save the file then restart NetworkManager
Power-posting isn't particularly useful here. heftig *already* suggested disabling the check, and in a manner that is more appropriate.
You really should use/disable conf.d dropins rather than the main configuration file, as they are far easier to add and remove.
Meanwhile, if you just want to indicate that you are affected by this bug then you can simply vote for it...
I'm not sure what a power-post is, but I didn't mean to offend anyone. Please accept my humble apology. Admittedly, I skimmed the first comment and didn't recognize it as the work-around. I thought I was being helpful.
Proxies break TCP/IP networking present undefined behavior. NetworkManager checks if a direct connection is possible:
https://bugzilla.gnome.org/show_bug.cgi?id=738694#c14
And therefore it reports if a direct connection is not possible. Probably opinions differ here but I accept it.
Upstream marked the issue as "RESOLVED OBSOLET" and our wiki explains how to turn off the connectivity check:
https://wiki.archlinux.org/title/NetworkManager#Checking_connectivity
I will ask for closing this bug.