Closed Bug 1693225 Opened 4 years ago Closed 4 years ago

Visiting https://radio.garden infinitely redirects.

Categories

(Core :: Networking, defect, P2)

defect

Tracking

()

VERIFIED FIXED
88 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox85 --- unaffected
firefox86 --- unaffected
firefox87 --- disabled
firefox88 --- fixed

People

(Reporter: emilio, Assigned: kershaw)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [necko-triaged])

Attachments

(1 file)

This is an issue with HTTPS-only mode and with DoH. But the DoH thing is (IMO) unexpected, and it's a regression:

https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=7c861a1895759bd3878692c4e01f17a9b1a6847b&tochange=7a032ef812aafd3320c10195a78b15feac7612f0

STR:

  • mozregression --launch 2021-02-15 --pref network.trr.mode:2 -a https://radio.garden (bad)
  • mozregression --launch 2021-02-15 --pref network.trr.mode:5 -a https://radio.garden (good)

This was initially reported here: https://github.com/webcompat/web-bugs/issues/67181

Flags: needinfo?(kershaw)

For reference, the site redirects from https: to the http: version using JS.

But there's something more to it, because something like this works...

(In reply to Emilio Cobos Álvarez (:emilio) from comment #2)

But there's something more to it, because something like this works...

We redirect to https because the site above has HTTPS RR dns record. We should exclude checking HTTPS RR records if a site is doing a redirect.

but this is worth mentioning at ietf.

Severity: -- → S4
Priority: -- → P2
Whiteboard: [necko-triaged]

Set release status flags based on info from the regressing bug 1686421

I reported Bug 1692774 which was a similar or the same problem with site http://slither.io.
The advice was:
slither.io has an HTTPS RR record, so Firefox will try to upgrade to HTTPS.
To disable this feature, you could turn off the pref network.dns.upgrade_with_https_rr.
The reason of the infinite loading loop is caused by the code of slither.io below.
if (((window.location.href+'').toLowerCase()).indexOf('https:') == 0) {
window.location = 'http:'+window.location.href.substr(6);
}
My response is:
This was working in Firefox Nightly until Thursday or Friday, 11~12Feb2021.
In my preferences, I have "Don't Enable HTTPS-Only Mode" set.
Maybe there needs to be another choice "Don't attempt to redirect to https".
Ideally there would be an allow/deny list similar to other Preference options,
i.e. attempt to upgrade to https unless the site was in the 'don't attempt' list.

Assignee: nobody → kershaw
Flags: needinfo?(kershaw)
Pushed by kjang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7490d86b91d5 Don't do HTTPS upgrade if a site is redirecting to HTTP r=necko-reviewers,valentin,dragana
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch

¡Hola y'all!

Confirmed that https://radio.garden now loads on Firefox Nightly built from https://hg.mozilla.org/mozilla-central/rev/fe11dc32ac201b7a69172afbbb473d286a167a1d

¡Gracias!
Alex

Status: RESOLVED → VERIFIED

@smolnar this issue still seems to be present. And it's also reproducible on ung-chromium

Please file a new bug for the issue you're seeing. This was closed nearly a year ago.

Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: