Closed Bug 905729 Opened 11 years ago Closed 3 years ago

Updater fails on Aurora/Nightly if the system time is wrong

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(fennec+)

RESOLVED INCOMPLETE
Tracking Status
fennec + ---

People

(Reporter: kbrosnan, Assigned: snorp)

Details

I had a HTC One X+ that had the wrong system date/time set. When I started up Aurora or Nightly an update was not found. When I manually checked for an update no update was found. As soon as I set the correct date/time Aurora found the update and started downloading it.
That's interesting I guess, but a whole bunch of stuff can fail when the time is off by a lot. We should try to fix, though.
Assignee: nobody → snorp
tracking-fennec: ? → +
Richard - Thoughts?
We could compute clock drift on the update server, or in the update response handler on the client -- after all, when the request is made we know the server and client clocks on both ends. Think of this as shitty NTP propagation :P

That would then let us fix the "I last updated at time X" assertion that I assume the updater sends (or checks locally).

That doesn't help us address Android alarm issues to do with incorrect clocks, but we can do things like always re-triggering the updater alarm when Fennec runs, so worst-case you don't get update checks until you launch the browser once, if your clock skews at runtime.

There's some code in the Product Announcements client to do sanity checking for timestamps, but it's probably not 100% applicable to this case.
filter on [mass-p5]
Priority: -- → P5
Priority: P5 → --
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
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.