Closed Bug 602735 Opened 14 years ago Closed 14 years ago

Confusing error messages when Desktop has not yet fully synced

Categories

(Cloud Services Graveyard :: Firefox Home, defect)

Other
iOS 3
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: nhirata, Unassigned)

References

Details

1. on home log into account :
nh.test@yahoo.com
T3st1ngs
hgzqa-apxvw-vlhfa-hosco
2. on desktop machine log into the same account and add some more bookmarks, web browsing etc and sync
3. while the sync is taking place (on the desktop go to about:sync-log), refresh the sync on home
Expected : an error that states another machine is updating, and you do not get booted out of the account.
Actual : an error that states "wrong sync key" and home boots you out of the account

Note:
1. hard to reproduce
Not sure I'm following this. Did you set up a new account on your desktop and then immediately try to set up Home?

Also, it is not an error to have multiple clients updating at the same time. 

Please provide Firefox Sync version on desktop and Firefox Home version on iphone/ipod?
This could be a weird timing issue. Isn't it so that Before Home is able to sync, you will have to have synced with the desktop at least once. Otherwise the collections are not there. Maybe we should catch that corner case and show an appropriate message. Or simply retry a few moments later.

This is probably simple to reproduce on the python test server. I can do this.
I am guessing it's a timing issue with the read/write lock with a sync account that has a long list.

If you watch the sync-log on the desktop, it takes a while to sync 2000 webpages.
There is no read/write lock. I think what happens is that if the collections don't exist yet, Home freaks out and gives some unrelated error message.

We can handle this in a better way.
I see.  thanks for the info.
Flags: blocking-fx-home1.0.4+
Summary: Can get an error message of wrong sync key if another machine is updating the sync account while home is syncing → Confusing error messages when Desktop has not yet fully synced
Naoki, did this error happen after you had already done the first sync from the Desktop? Or did it happen during the initial sync? In other words: was there already data synced when you triggered this?
Naoki, one more question: did you happen to do a Reset Sync on the Desktop when you triggered this?
Naoki, any update on this?
Stefan: If I recall correctly, I did it when the data was already synced as well as on first load.
I am unable to reproduce this error.
Note to self : try to reproduce the error.
I think there's something wrong with the sync engine in Firefox.  There's nothing stating that it's trying to sync in the Synclogs when I try to sync.  Will need to talk to Tracy.
If you're using trunk nightlies, logging is off by default.
I haven't been able to reproduce the error today.  Marking as WFM for now.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
Product: Cloud Services → Cloud Services Graveyard
You need to log in before you can comment on or make changes to this bug.