Closed Bug 1720221 Opened 3 years ago Closed 3 years ago

add direct failover for system principal requests

Categories

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

defect

Tracking

()

VERIFIED FIXED
92 Branch
Tracking Status
firefox-esr78 --- wontfix
firefox91 --- verified
firefox92 --- verified

People

(Reporter: mixedpuppy, Assigned: mixedpuppy)

References

Details

Attachments

(2 files)

When a configured proxy fails to work, fallback to a direct connect for system requests. This ensures various update requests have the best chance of succeeding.

Assignee: nobody → mixedpuppy
Status: NEW → ASSIGNED

Backed out changeset 2307d0bebc26 (Bug 1720221) for causing python failures in configure/lint.py
Backout link: https://hg.mozilla.org/integration/autoland/rev/6def2109b05afdfa6d771a3d1dc2ae9c8a1fb444
Push with failures, failure log.

Flags: needinfo?(mixedpuppy)

Comment on attachment 9230835 [details]
Bug 1720221 proxy failover to direct for system requests

Beta/Release Uplift Approval Request

  • User impact if declined: updates may become unavailable
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: PI request has details
  • List of other uplifts needed: None
  • Risk to taking this patch: Medium
  • Why is the change risky/not risky? (and alternatives if risky): Change in behavior with proxies, though it can be compiled out or pref'd off if necessary.
  • String changes made/needed: none
Flags: needinfo?(mixedpuppy)
Attachment #9230835 - Flags: approval-mozilla-beta?
Flags: qe-verify+

That is an early request since this is still in autoland, but wanted to get visibility to others.

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch

Comment on attachment 9230835 [details]
Bug 1720221 proxy failover to direct for system requests

Approved for 91 beta 5 and let's have it manually verified on beta as well, thanks.

Attachment #9230835 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Comment on attachment 9230835 [details]
Bug 1720221 proxy failover to direct for system requests

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration: per above beta request, but additionally this would be necessary if we pursue some AMO changes for further mitigation.
  • User impact if declined: per above beta request
  • Fix Landed on Version: 91
  • Risk to taking this patch: Medium
  • Why is the change risky/not risky? (and alternatives if risky): There are a number of changes in the proxy service since 78. I've looked through the code and feel that this particular change can apply and work just the same. There area couple merge conflicts that are simple to address by whoever would merge.
  • String or UUID changes made by this patch: none
Attachment #9230835 - Flags: approval-mozilla-esr78?
QA Whiteboard: [qa-triaged]

Comment on attachment 9232468 [details]
Bug 1720221 use failover proxy for NET_RESET errors

Beta/Release Uplift Approval Request

  • User impact if declined: per prior uplift requests
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: QA has steps in jira
  • List of other uplifts needed: None
  • Risk to taking this patch: Medium
  • Why is the change risky/not risky? (and alternatives if risky): this only adds checking for proxy failover on socket connection failures to a proxy
  • String changes made/needed: none

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration: If we uplift the prior patch to esr then this patch needs to go as well.
  • User impact if declined:
  • Fix Landed on Version: 91
  • Risk to taking this patch: Medium
  • Why is the change risky/not risky? (and alternatives if risky):
  • String or UUID changes made by this patch: none
Attachment #9232468 - Flags: approval-mozilla-esr78?
Attachment #9232468 - Flags: approval-mozilla-beta?

Resetting status so this doesn't fall off the uplift radar for the followup patch.

Attachment #9232468 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Hello,

Verified the patch on the latest Nightly (92.0a1/20210722214815) and Beta (91.0b6/20210722185635) under Windows 10 x64, Ubuntu 16.04 LTS and macOS 11.3.1.

With the proxy test add-on installed:

  • browser update checks are performed and work as intended (initial aus5 requests fail as a result of the proxy add-on but the browser will immediately send successful duplicate requests);
  • telemetry requests are sent (initial requests fail as a result of the proxy add-on but the browser will immediately send successful duplicate requests;
  • add-on updates work as intended i.e. add-ons are successfully updated;
  • recommendations are shown in Add-ons Manager;
  • remote tools shows list of data and no errors are present

, thus confirming the fix.

Status: RESOLVED → VERIFIED
Flags: qe-verify+

[Tracking Requested - why for this release]:

Shane, how important is it to have it on the esr 78 given that we have a new esr 91 branch that is replacing it soon? That patch would ship August 10 and the end of life of the esr78 branch is October 5.

Flags: needinfo?(mixedpuppy)

IIUC from the slack chat, we'll skip on esr78

Flags: needinfo?(mixedpuppy)

Comment on attachment 9230835 [details]
Bug 1720221 proxy failover to direct for system requests

Per comment 17.

Attachment #9230835 - Flags: approval-mozilla-esr78? → approval-mozilla-esr78-
Attachment #9232468 - Flags: approval-mozilla-esr78? → approval-mozilla-esr78-

Unhiding to provide context, this has been out for ages.

Group: mozilla-employee-confidential
See Also: → 1791689
See Also: → 1734992
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: