Closed
Bug 618288
Opened 15 years ago
Closed 15 years ago
Sync Error: Wrong Sync Key
Categories
(Firefox :: Sync, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 618935
People
(Reporter: glandium, Unassigned)
Details
On latest mozilla-central, I'm getting a Sync error saying "Wrong Sync Key" when doing a sync (Sync Now) with my existing account: glandium.
The full sync-log is as follows:
2010-12-10 15:39:28 Service.Main INFO Logging in user glandium
2010-12-10 15:39:29 Net.Resource DEBUG GET success 200 https://phx-sync298.services.mozilla.com/1.0/glandium/info/collections
2010-12-10 15:39:29 Service.Main DEBUG Fetching global metadata record
2010-12-10 15:39:29 Service.Main DEBUG Weave Version: @weave_version@ Local Storage: 5 Remote Storage: 5
2010-12-10 15:39:29 Service.Main INFO Sync key is up-to-date: no need to upgrade.
2010-12-10 15:39:29 Service.Main DEBUG Fetching and verifying -- or generating -- symmetric keys.
2010-12-10 15:39:29 Net.Resource DEBUG GET success 200 https://phx-sync298.services.mozilla.com/1.0/glandium/info/collections
2010-12-10 15:39:29 Service.Main INFO Testing info/collections: {"clients":1291926302.06,"crypto":1291321688.19,"forms":1291321715.77,"history":1291321718.67,"keys":1286453585.7,"meta":1291926301.82,"bookmarks":1291321710.13,"prefs":1291321720.41,"passwords":1291321719.61}
2010-12-10 15:39:29 CollectionKeys INFO Testing for updateNeeded. Last modified: 0
2010-12-10 15:39:29 Service.Main INFO CollectionKeys reports that a key update is needed.
2010-12-10 15:39:29 Net.Resource DEBUG GET success 200 https://phx-sync298.services.mozilla.com/1.0/glandium/storage/crypto/keys
2010-12-10 15:39:29 CollectionKeys INFO Updating collection keys...
2010-12-10 15:39:29 CollectionKeys WARN Got exception "Record SHA256 HMAC mismatch: should be 6fc785a3681a8ddaf56eff85db8a1a99c5646845336c68ed1be26e9c9cb14c46, is a42d01fb2d954d31fc11499b432e2b456606b366ab072ab03e04944310845d4d" decrypting storage keys with sync key.
2010-12-10 15:39:29 CollectionKeys INFO Aborting updateContents. Rethrowing.
2010-12-10 15:39:29 Service.Main WARN Got exception "Record SHA256 HMAC mismatch: should be 6fc785a3681a8ddaf56eff85db8a1a99c5646845336c68ed1be26e9c9cb14c46, is a42d01fb2d954d31fc11499b432e2b456606b366ab072ab03e04944310845d4d" fetching cryptoKeys.
2010-12-10 15:39:29 Service.Main WARN Failed to fetch symmetric keys. Failing remote setup.
2010-12-10 15:39:29 Service.Main WARN Remote setup failed.
2010-12-10 15:39:29 Service.Main DEBUG Exception: Login failed: error.login.reason.synckey No traceback available
2010-12-10 15:39:29 Service.Main DEBUG Autoconnect failed: error.login.reason.synckey; retry in 138 sec.
| Reporter | ||
Comment 1•15 years ago
|
||
(In reply to comment #0)
> On latest mozilla-central, I'm getting a Sync error saying "Wrong Sync Key"
> when doing a sync (Sync Now) with my existing account: glandium.
Existing account in an existing profile.
Now that I look a bit more into it, I don't actually know when it started happening for sure. I could well be an old issue.
| Reporter | ||
Comment 2•15 years ago
|
||
So, I never updated firefox to a recent nightly since 4.0b7, so I was still getting the error message: "You need to update Firefox sync to continue syncing your data". So my setup is older than the sync changes.
I also just tried a nightly from 1st december, and the error message shows up with it too. So it looks like the upgrade path doesn't work as expected... not that I care much about what was synced (I actually don't care at all, I was merely testing), but it would be better if that wouldn't happen for end users. OTOH, if I'm the only one to see this, there's maybe something odd with my setup...
| Reporter | ||
Comment 3•15 years ago
|
||
The sad thing is that I can't check whether my 4.0b7 setup actually worked, since the servers want the new sync :-/
Comment 4•15 years ago
|
||
(In reply to comment #3)
> The sad thing is that I can't check whether my 4.0b7 setup actually worked,
> since the servers want the new sync :-/
Just to clarify: the servers are content-agnostic. If you:
* Sync with a version with a more recent storage version
* Do not wipe the server
* Attempt to sync with an older version
you'll get a message saying you need to upgrade. That's because the old client checks the record stored by the new client, sees a later version, and tells you.
If you want to roll back to an earlier version of sync, you need to force the issue with a reset.
| Reporter | ||
Comment 5•15 years ago
|
||
(In reply to comment #4)
> (In reply to comment #3)
> > The sad thing is that I can't check whether my 4.0b7 setup actually worked,
> > since the servers want the new sync :-/
>
> Just to clarify: the servers are content-agnostic. If you:
>
> * Sync with a version with a more recent storage version
> * Do not wipe the server
> * Attempt to sync with an older version
>
> you'll get a message saying you need to upgrade. That's because the old client
> checks the record stored by the new client, sees a later version, and tells
> you.
>
> If you want to roll back to an earlier version of sync, you need to force the
> issue with a reset.
Which means I'm basically screwed (though I don't care) and suggests the bug is undebuggable, except if I can manage to reproduce it from scratch.
| Reporter | ||
Comment 6•15 years ago
|
||
As I was afraid, I can't reliably reproduce the issue. The only way I now get "Wrong Sync Key" is the very one that previously told me I needed to update sync:
- I did generate a new key with 4.0b7.
- I then ran latest nightly and hit sync now
- I tried to sync now with 4.0b7 again, which led to "Wrong Sync Key".
| Reporter | ||
Comment 7•15 years ago
|
||
FWIW, with a 1st December nightly, I get "Unknown error" instead of "Wrong Sync Key"
| Reporter | ||
Comment 8•15 years ago
|
||
4.0b7 logs:
2010-12-11 10:37:58 Service.Main INFO Loading Weave @weave_version@
2010-12-11 10:37:58 Engine.Bookmarks DEBUG Engine initialized
2010-12-11 10:37:58 Engine.Forms DEBUG Engine initialized
2010-12-11 10:37:58 Engine.History DEBUG Engine initialized
2010-12-11 10:37:58 Engine.Passwords DEBUG Engine initialized
2010-12-11 10:37:58 Engine.Prefs DEBUG Engine initialized
2010-12-11 10:37:58 Engine.Tabs DEBUG Engine initialized
2010-12-11 10:37:58 Engine.Tabs DEBUG Resetting tabs last sync time
2010-12-11 10:37:58 Service.Main INFO Mozilla/5.0 (X11; Linux x86_64; rv:2.0b7) Gecko/20101111 Firefox/4.0b7 Iceweasel/4.0b7
2010-12-11 10:37:58 Service.Main DEBUG Caching URLs under storage user base: https://phx-sync298.services.mozilla.com/1.0/glandium/
2010-12-11 10:37:58 Service.Main INFO Logging in user glandium
2010-12-11 10:37:59 Net.Resource DEBUG GET success 200 https://phx-sync298.services.mozilla.com/1.0/glandium/info/collections
2010-12-11 10:37:59 Net.Resource DEBUG GET success 200 https://phx-sync298.services.mozilla.com/1.0/glandium/storage/keys/pubkey
2010-12-11 10:37:59 Net.Resource DEBUG GET success 200 https://phx-sync298.services.mozilla.com/1.0/glandium/storage/keys/privkey
2010-12-11 10:37:59 Service.Main DEBUG Exception: Login failed: error.login.reason.synckey No traceback available
1st December nightly logs:
2010-12-11 10:39:02 Service.Main INFO Loading Weave @weave_version@
2010-12-11 10:39:02 Engine.Bookmarks DEBUG Engine initialized
2010-12-11 10:39:02 Engine.Forms DEBUG Engine initialized
2010-12-11 10:39:02 Engine.History DEBUG Engine initialized
2010-12-11 10:39:02 Engine.Passwords DEBUG Engine initialized
2010-12-11 10:39:02 Engine.Prefs DEBUG Engine initialized
2010-12-11 10:39:02 Engine.Tabs DEBUG Engine initialized
2010-12-11 10:39:02 Engine.Tabs DEBUG Resetting tabs last sync time
2010-12-11 10:39:02 Service.Main INFO Mozilla/5.0 (X11; Linux x86_64; rv:2.0b8pre) Gecko/20101201 Firefox/4.0b8pre
2010-12-11 10:39:02 Service.Main DEBUG Caching URLs under storage user base: https://phx-sync298.services.mozilla.com/1.0/glandium/
2010-12-11 10:39:02 Service.Main INFO Logging in user glandium
2010-12-11 10:39:02 Net.Resource DEBUG GET success 200 https://phx-sync298.services.mozilla.com/1.0/glandium/info/collections
2010-12-11 10:39:02 Service.Main DEBUG Fetching global metadata record
2010-12-11 10:39:02 Net.Resource DEBUG GET success 200 https://phx-sync298.services.mozilla.com/1.0/glandium/storage/meta/global
2010-12-11 10:39:02 Service.Main DEBUG Weave Version: @weave_version@ Local Storage: 4 Remote Storage: 5
2010-12-11 10:39:02 Service.Main WARN Upgrade required to access newer storage version.
2010-12-11 10:39:02 Service.Main WARN Remote setup failed.
2010-12-11 10:39:02 Service.Main DEBUG Exception: Login failed: success.login No traceback available
Sadly, I can't get latest m-c to issue a Wrong Sync Key error, which was my original problem...
Comment 9•15 years ago
|
||
I believe what you were seeing was the rather bumpy upgrade path we had in the early December nightlies. This is tracked in bug 618935.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
| Assignee | ||
Updated•8 years ago
|
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in
before you can comment on or make changes to this bug.
Description
•