The domain fedora uses for wifi login detection is in the HSTS preload list

not to be disrespectful, but it Doesnt Work when you do that

to be clear, i’m not suggesting taking off fedoraproject.org off the HSTS preload list (i’m surprised it wasn’t on there before?), but switching the test URL to a different domain, or just using mozilla’s

I think that hotspot.txt is something infra uses to do a status check on the Apache servers and proxies. That might be why SSL isn’t required on that one specific file. Anyway, it’s a question for the infrastructure team.

You aren’t supposed to go to that url manually…
but perhaps you are using KDE and it’s going there to try and log you in to the portal?

If thats the case you can see all the fun history in:

We do plan to move it to another domain at some point, but also I am hoping kde will do what gnome does and not care about hsts for hotspot login. (which would also fix the other problem that if you have https everywhere enabled in your browser it would break then for you too).

2 Likes

KDE doesn’t seem to care by itself for me and still shows the login notification. However, that does not at all stop Firefox or other browsers from caring. Additionally, DNS over HTTPS will stop the DNS request from working, the only way you can get it to work is to whitelist fedoraproject.org, which is not a good thing to do. I don’t see why you’d override networkcheck.kde.org which it used to use on Fedora and works perfectly fine, which is what I usually manually open in Firefox now.
I don’t know if this is default, but in my Firefox, this is whitelisted:

If it’s not, this should definitely be added to the default configuration, as well as whatever domain Fedora ends up using in future. That domain should also be completely independent from any existing Fedora domain, so they are unaffected by any HSTS configuration.