DoH region switch takes 2 weeks of roaming to trigger
Categories
(Core :: Networking: DNS, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox133 | --- | fixed |
People
(Reporter: tcampbell, Assigned: valentin)
References
(Blocks 1 open bug)
Details
(Whiteboard: [necko-triaged] [necko-priority-queue])
Attachments
(4 files)
In Bug 1859608, we tried to have DoH switch regions in response to the REGION_TOPIC observer. Unfortunately, the REGION_TOPIC is intended for long-term switching rather than travel/roaming. The default time interval the observer waits is 2 weeks.
As a result, when roaming (eg from Canada to US) the DoH region sticks as home (CIRA is default) which then has timeout or simply traffic throttling behaviour. This ends up with very frequent DoH issues when roaming. In "Increased Protection" or above, there is a lot of network problems experienced.
Assignee | ||
Comment 1•1 year ago
|
||
Thanks for reporting this, Ted. We were wondering why telemetry didn't immediately change after bug 1859608.
Do you happen to know a better way to immediately detect region changes?
Thanks!
Updated•1 year ago
|
Assignee | ||
Comment 2•1 year ago
|
||
From our discussion last week, we should force a region check on the daily-idle event or when a timezone change is detected.
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 3•11 months ago
|
||
This is not a constant, so it should defer to the pref as a source of truth.
Assignee | ||
Comment 4•11 months ago
|
||
Assignee | ||
Comment 5•11 months ago
|
||
The region change event is emitted after 2 weeks of being in a region.
Using the idle-daily event and checking if the current region has changed
should allow users to move to the correct DoH provider sooner.
Assignee | ||
Comment 6•11 months ago
|
||
A timezone change indicates that the user has just changed location.
This is the most relevant signal that we should change DoH region,
so we immediately do a region fetch and check if it matches the current
DoH region.
Comment 8•11 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/04bd60cbb83f
https://hg.mozilla.org/mozilla-central/rev/d9d9a6bb63d6
https://hg.mozilla.org/mozilla-central/rev/b2bc9b3dff39
https://hg.mozilla.org/mozilla-central/rev/c6e3a646b7d4
Description
•