After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 750260 - wired network icon in menu bar has an inexplicable question mark in it
wired network icon in menu bar has an inexplicable question mark in it
Status: RESOLVED OBSOLETE
Product: NetworkManager
Classification: Platform
Component: general
unspecified
Other Mac OS
: Normal normal
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2015-06-02 03:12 UTC by Chris Murphy
Modified: 2020-11-13 02:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screen shot (45.73 KB, image/png)
2015-06-02 03:12 UTC, Chris Murphy
Details
journal for this boot (385.19 KB, text/plain)
2015-06-02 03:15 UTC, Chris Murphy
Details

Description Chris Murphy 2015-06-02 03:12:42 UTC
Created attachment 304401 [details]
screen shot

control-center-3.16.2-1.fc22.x86_64

There is a question mark icon in the upper right corner that turns out to be for the wired connection. A ? used in this manner suggests the system is confused about something, and wants me to know that it's confused, hoping I can do something about it. So I'd expect there'd be a notification or a way to get more information about what the confusion is about.
Comment 1 Chris Murphy 2015-06-02 03:15:42 UTC
Created attachment 304402 [details]
journal for this boot
Comment 2 Bastien Nocera 2015-06-02 10:14:57 UTC
The menu bar is part of gnome-shell. The "?" you're seeing though means that the connectivity check failed.

[ 3920.153840] f21v.localdomain NetworkManager[826]: <info>  Connectivity check for uri 'https://fedoraproject.org/static/hotspot.txt' failed with 'Peer failed to perform TLS handshake'.

It's either a Fedora infrastructure problem, or a NetworkManager one. Reassigning to NetworkManager.

See bug 750268 for a follow-up on the icon not being self-explanatory enough.
Comment 3 Thomas Haller 2015-06-03 09:56:08 UTC
This is the same as downstream bug https://bugzilla.redhat.com/show_bug.cgi?id=1176316
Comment 4 Jan Vlug 2015-08-31 09:48:34 UTC
I have a similar problem with an unexplained question mark for a wireless connection that works fine.
I seem to have this issue when I'm behind a proxy (both for wired and wireless network connections).
Comment 5 Thomas Haller 2015-09-08 10:38:43 UTC
(In reply to Bastien Nocera from comment #2)
> 
> [ 3920.153840] f21v.localdomain NetworkManager[826]: <info>  Connectivity
> check for uri 'https://fedoraproject.org/static/hotspot.txt' failed with
> 'Peer failed to perform TLS handshake'.

In this case, the connectivity check failed because of the SSL connection.

It is anyway a bad idea to use https for connectivity checking.

We fixed that upstream in bug 747866 and commit
http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=2a3a4eb16f9119bf434a28adc94c2684da8fd5e4


Note that this is largely a configuration issue. So, users must rectify their configuration, or (if the distribution installed configuration snippets) the distribution must fix the configuration file.


For downstream/Fedora, https://bugzilla.redhat.com/show_bug.cgi?id=1176316 this will be done.



Closing BZ as fixed.
Comment 6 Bastien Nocera 2015-09-08 14:34:09 UTC
(In reply to Thomas Haller from comment #5)
> (In reply to Bastien Nocera from comment #2)
> > 
> > [ 3920.153840] f21v.localdomain NetworkManager[826]: <info>  Connectivity
> > check for uri 'https://fedoraproject.org/static/hotspot.txt' failed with
> > 'Peer failed to perform TLS handshake'.
> 
> In this case, the connectivity check failed because of the SSL connection.
> 
> It is anyway a bad idea to use https for connectivity checking.

Why? It protects the user's privacy, at least a tiny bit.

> We fixed that upstream in bug 747866 and commit
> http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/
> ?id=2a3a4eb16f9119bf434a28adc94c2684da8fd5e4

If by "fixed" you mean "worked around", then yes.

> Note that this is largely a configuration issue. So, users must rectify
> their configuration, or (if the distribution installed configuration
> snippets) the distribution must fix the configuration file.
> 
> 
> For downstream/Fedora, https://bugzilla.redhat.com/show_bug.cgi?id=1176316
> this will be done.
> 
> 
> 
> Closing BZ as fixed.

This really isn't fixed.
Comment 7 Thomas Haller 2015-09-08 14:45:12 UTC
(In reply to Bastien Nocera from comment #6)
> (In reply to Thomas Haller from comment #5)
> > (In reply to Bastien Nocera from comment #2)
> > > 
> > > [ 3920.153840] f21v.localdomain NetworkManager[826]: <info>  Connectivity
> > > check for uri 'https://fedoraproject.org/static/hotspot.txt' failed with
> > > 'Peer failed to perform TLS handshake'.
> > 
> > In this case, the connectivity check failed because of the SSL connection.
> > 
> > It is anyway a bad idea to use https for connectivity checking.
> 
> Why? It protects the user's privacy, at least a tiny bit.

there is nothing private about the connectivity-check request. Especially does the HTTP header not contain fields beside:

  GET /static/hotspot.txt HTTP/1.1
  Host: fedoraproject.org
  Connection: close
Comment 8 Thomas Haller 2015-09-08 15:00:14 UTC
(In reply to Bastien Nocera from comment #6)
> (In reply to Thomas Haller from comment #5)
> > (In reply to Bastien Nocera from comment #2)
> > > 
> > > [ 3920.153840] f21v.localdomain NetworkManager[826]: <info>  Connectivity
> > > check for uri 'https://fedoraproject.org/static/hotspot.txt' failed with
> > > 'Peer failed to perform TLS handshake'.
> > 
> > In this case, the connectivity check failed because of the SSL connection.
> > 
> > It is anyway a bad idea to use https for connectivity checking.
> 
> Why? It protects the user's privacy, at least a tiny bit.

it's a bad idea, because it works bad with detecting captive portals.

And a portal might not handle SSL connections at all (which means we would detect "no-connectivity", instead of "portal").

If the portal does handle SSL connections it present an invalid certificate and the connection fails again (and to NM it's again not clear that this indicates "portal").

Also, we warn now about HTTPS use: http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=eab32a5252e82361a563154cd8bfc3949aaad119
Comment 9 Bastien Nocera 2015-09-08 15:27:34 UTC
(In reply to Thomas Haller from comment #8)
> (In reply to Bastien Nocera from comment #6)
> > (In reply to Thomas Haller from comment #5)
> > > (In reply to Bastien Nocera from comment #2)
> > > > 
> > > > [ 3920.153840] f21v.localdomain NetworkManager[826]: <info>  Connectivity
> > > > check for uri 'https://fedoraproject.org/static/hotspot.txt' failed with
> > > > 'Peer failed to perform TLS handshake'.
> > > 
> > > In this case, the connectivity check failed because of the SSL connection.
> > > 
> > > It is anyway a bad idea to use https for connectivity checking.
> > 
> > Why? It protects the user's privacy, at least a tiny bit.
> 
> it's a bad idea, because it works bad with detecting captive portals.
> 
> And a portal might not handle SSL connections at all (which means we would
> detect "no-connectivity", instead of "portal").
> 
> If the portal does handle SSL connections it present an invalid certificate
> and the connection fails again (and to NM it's again not clear that this
> indicates "portal").
> 
> Also, we warn now about HTTPS use:
> http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/
> ?id=eab32a5252e82361a563154cd8bfc3949aaad119

I'd rather have a fallback to HTTP in those cases where HTTPS fails, to ensure the problem is actually with the network and not with the connection, rather than actually hit HTTP in the wide internet all the time when connected.
Comment 10 Jan Vlug 2015-10-05 09:12:31 UTC
A question marks occurs also when you are behind a proxy, because the proxy settings are not being used when testing the connectivity. See this issue in the Fedora Bugzilla for more details:
https://bugzilla.redhat.com/show_bug.cgi?id=1184406
Comment 11 Jan Vlug 2015-10-05 09:18:45 UTC
See also:
https://bugzilla.gnome.org/show_bug.cgi?id=738694
Comment 12 Daniel van Vugt 2018-02-22 05:00:14 UTC
Also tracking in Ubuntu bug:
https://launchpad.net/bugs/1722256

I'm seeing inconsistent behaviour between different machines on the same network. Plus no other desktop environment besides Gnome exhibits the problem, so it's a bad look regardless of the cause.
Comment 13 Jan Vlug 2019-07-21 10:02:48 UTC
I just made a comment in Launchpad, which on second thought probably could have better been made here.

See: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1722256/comments/35
Comment 14 André Klapper 2020-11-12 14:30:49 UTC
bugzilla.gnome.org is being shut down in favor of a GitLab instance. 
We are closing all old bug reports and feature requests in GNOME Bugzilla which have not seen updates for a long time.

If you still use NetworkManager and if you still see this bug / want this feature in a recent and supported version of NetworkManager, then please feel free to report it at https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/

Thank you for creating this report and we are sorry it could not be implemented (workforce and time is unfortunately limited).
Comment 15 Daniel van Vugt 2020-11-13 02:03:47 UTC
Related: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2310