Closed
Bug 958893
Opened 10 years ago
Closed 3 years ago
Implement backoff protocol for Android FxAccountClient20
Categories
(Firefox for Android Graveyard :: Android Sync, defect, P5)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: nalexander, Unassigned)
References
Details
We need to be extra careful to backoff from the auth server when it's under water. https://github.com/mozilla/fxa-auth-server/blob/master/docs/api.md#backoff-protocol
Reporter | ||
Comment 1•10 years ago
|
||
This ticket tracks parsing the 503 responses from the auth server, and also bubbling the responses up to the application level (login state machine and ultimately sync adapter).
Updated•10 years ago
|
tracking-fennec: --- → 29+
Comment 2•10 years ago
|
||
Relevant, I think: https://github.com/mozilla/fxa-auth-server/pull/323
Reporter | ||
Updated•10 years ago
|
Priority: -- → P2
Updated•10 years ago
|
tracking-fennec: 29+ → 30+
Reporter | ||
Comment 4•10 years ago
|
||
(In reply to Richard Newman [:rnewman] from comment #3) > Nick, did this already get done? I don't think so.
Flags: needinfo?(nalexander)
Reporter | ||
Comment 5•10 years ago
|
||
In general, we want to obey all backoffs, all the time. In this case, I believe that the sync adapter mechanism as a whole will back off our syncs so that we won't hammer the auth server at any time (including when it is underwater and asking for backoff). So this is a correctness ticket that won't have great impact in the wild.
tracking-fennec: 30+ → ---
Reporter | ||
Comment 6•10 years ago
|
||
(In reply to Nick Alexander :nalexander from comment #5) > In general, we want to obey all backoffs, all the time. In this case, I > believe that the sync adapter mechanism as a whole will back off our syncs > so that we won't hammer the auth server at any time (including when it is > underwater and asking for backoff). So this is a correctness ticket that > won't have great impact in the wild. This is true for the auth server, but *not* the token and storage servers. We do back off as needed for token and storage.
Comment 7•7 years ago
|
||
To expand on Comment 5, we have pretty strict rate limiting in the client, so this does indeed seem like a correctness ticket that shouldn't have much impact.
Priority: P2 → P5
Updated•7 years ago
|
Product: Android Background Services → Firefox for Android
Comment 8•6 years ago
|
||
Re-triaging per https://bugzilla.mozilla.org/show_bug.cgi?id=1473195 Needinfo :susheel if you think this bug should be re-triaged.
Comment 9•3 years ago
|
||
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•