Closed Bug 1885801 Opened 1 year ago Closed 1 year ago

Secure DNS causes delayed website loading at startup

Categories

(Core :: Networking: DNS, defect, P1)

Firefox 123
defect

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: georges, Assigned: kershaw)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged] [necko-priority-queue])

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:123.0) Gecko/20100101 Firefox/123.0

Steps to reproduce:

Enable DNS over HTTPS, turn session restore ON. Quit firefox with a tab open then reopen.

I tried this in safe mode, and confirmed it still happens unles DNA over HTTPS (set to always) is changed.

Actual results:

Firefox starts promptly and the UI is resposnive, tabs are restored however the websites do not load for anywhere between 5-10 seconds.

Expected results:

Firefox starts promptly, websites load promtply.

The Bugbug bot thinks this bug should belong to the 'Core::Networking: DNS' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Networking: DNS
Product: Firefox → Core

Hi Reporter,

Could you try to record a http log? Since this happens during startup, please set the correct environment variables (MOZ_LOG and MOZ_LOG_FILE) before starting Firefox. Then, please send the log file to necko@mozilla.com.

Thanks.

Flags: needinfo?(georges)

Hello, this has been. Thank you.

Flags: needinfo?(georges)

(In reply to georges from comment #3)

Hello, this has been. Thank you.

Typo, it has been sent.

NI for log review

Flags: needinfo?(valentin.gosu)
Flags: needinfo?(kershaw)

Thanks for the log.

It shows that the delay by the following things:

  1. Firefox tried to load the PAC URL (http://wpad/wpad.dat).
  2. Firefox tried to resolve wpad via TRR.
  3. The TRR mode was TRR_ONLY_MODE, so the TRR request timeouted after 30s.
  4. All HTTP requests were delayed for 30s.

I think we should not try to resolve wpad vis TRR, since it's not resolvable.

Assignee: nobody → kershaw
Blocks: doh
Severity: -- → S3
Flags: needinfo?(valentin.gosu)
Flags: needinfo?(kershaw)
Priority: -- → P1
Whiteboard: [necko-triaged] [necko-priority-queue]
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #9393511 - Attachment description: Bug 1885801 - Add wpad to excluded list, r=#necko → Bug 1885801 - Disable TRR for PAC channel, r=#necko
Pushed by kjang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/55e08b64e59d Disable TRR for PAC channel, r=necko-reviewers,jesup,valentin
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
QA Whiteboard: [qa-126b-p2]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: