Closed
Bug 971059
Opened 11 years ago
Closed 11 years ago
Signed in on Android and Desktop, and nothing is syncing.
Categories
(Firefox for Android Graveyard :: Android Sync, defect)
Tracking
(firefox29 affected, firefox30 affected)
RESOLVED
DUPLICATE
of bug 967580
People
(Reporter: ibarlow, Unassigned)
Details
Attachments
(1 file, 1 obsolete file)
491.89 KB,
text/plain
|
Details |
Basically what the title says. I created and verified an account on my Mac, then logged into Nightly on Android, everything seemed to go successfully.
But now, ten minutes later, nothing is syncing.
If it helps, on Android I do *not* see the Sync Status page in settings with the options to turn checkboxes on and off. Rather I am seeing the "Account Verified, your data will begin syncing momentarily" screen. So maybe something is stuck?
Reporter | ||
Comment 2•11 years ago
|
||
Mac Nightly 30.0a1 (2014-02-09)
Android Nightly 30.0a1 (2014-02-11)
Will post an adb log shortly
Reporter | ||
Comment 3•11 years ago
|
||
Here you go Richard, let me know if there is anything useful in here
Comment on attachment 8375539 [details]
adb log
Hmm, I'm not seeing anything FxAccount or FxSync related at all. Could be a log tag level needs to be set, but we'd see errors at least. Did you run a Sync during this time, ibarlow?
Comment 5•11 years ago
|
||
I'm seeing the same issue here. I created and verified a FX account using Nightly for linux. After linking it to nightly for android, all indications were that it should sync.
If I go into the accounts and sync settings of android and manually start a sync for nightly, it looks to be working, and after a few seconds shows an updated time for when in last updated, but I see no change in the app itself.
Comment 6•11 years ago
|
||
(In reply to Chris DeCairos (:cade) from comment #5)
> I'm seeing the same issue here. I created and verified a FX account using
> Nightly for linux. After linking it to nightly for android, all indications
> were that it should sync.
>
> If I go into the accounts and sync settings of android and manually start a
> sync for nightly, it looks to be working, and after a few seconds shows an
> updated time for when in last updated, but I see no change in the app itself.
Likewise, can you attach a logcat from when you attempt to Sync.
Reporter | ||
Comment 7•11 years ago
|
||
Here's another one Nick. I initiated a Sync here, so maybe it will tell you more than the last one did
Attachment #8375539 -
Attachment is obsolete: true
Comment on attachment 8375668 [details]
Another adb log
Huh, token server credential error. Clock skew? Will look further.
Comment 9•11 years ago
|
||
Token failing every time seems… weird.
Comment 10•11 years ago
|
||
"invalid Hawk signature" could well be our old friend clock-skew striking again. Definitely need a distinct error code here.
Reporter | ||
Comment 11•11 years ago
|
||
Just a heads up that I blew away my Nightly on Android and started over, and ran into the same problem again.
Comment 12•11 years ago
|
||
Thanks for being patient with this, Ian.
Comment 13•11 years ago
|
||
Ian, can you please check whether the clock on your android device is correct? We hypothesized clock-skew as a cause above, it would be good to rule it in or out before digging further on this.
Flags: needinfo?(ibarlow)
Reporter | ||
Comment 14•11 years ago
|
||
It looks to be one minute offset from my laptop. Would that be enough to break it?
If so, we should probably make the clock-skew tolerance a little more forgiving...
Flags: needinfo?(ibarlow)
Comment 15•11 years ago
|
||
I think one minute is enough for 'correct' clocks.
I don't think a larger fudge factor is enough to solve this problem for incorrect clocks:
http://opensignal.com/reports/timestamps/
-- 3.5% of Android device clocks are wrong by more than an hour.
We need to either switch to a different protocol that isn't so dependent on clock alignment, or continue to pile up sandbags of clock skew correction.
Updated•11 years ago
|
status-firefox29:
--- → affected
status-firefox30:
--- → affected
Comment 16•11 years ago
|
||
The default timestamp window we allow on the storage servers is 60 seconds, so this could well be enough to cause at least intermittent failures.
> We need to either switch to a different protocol that isn't so dependent on clock alignment,
> or continue to pile up sandbags of clock skew correction.
Yeah, I even had to correct for clockskew in the syncstorage loadtests: https://github.com/mozilla-services/server-syncstorage/blob/master/loadtest/stress.py#L110
:rnewman please raise your concerns/proposal here on sync-dev. I feel like we're fairly committed to Hawk at this point, but at least for the storage servers, we may be able to find a better set of tradeoffs than the current scheme.
Reporter | ||
Comment 17•11 years ago
|
||
So just as an experiment I adjusted the clock on my phone by one minute and pressed "sync" and boom, my Aandroid Nightly started filling up with deskop bookmarks right away.
Updated•11 years ago
|
Component: FxA → General
Updated•11 years ago
|
Component: General → Android Sync
Product: Firefox for Android → Android Background Services
Comment 18•11 years ago
|
||
Ian mentioned in person that once he adjusted the time on his device Sync started working right away.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Updated•7 years ago
|
Product: Android Background Services → Firefox for Android
Updated•4 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
•