Closed
Bug 621934
Opened 15 years ago
Closed 13 years ago
unable to due sync due to history failed
Categories
(Firefox :: Sync, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: bugzilla, Unassigned)
Details
my nightly build wont sync:
2010-12-29 19:16:59 Service.Main DEBUG history failed: NS_ERROR_NOT_AVAILABLE JS Stack trace: Res_get()@resource.js:376 < SyncEngine__processIncoming()@engines.js:511 < ()@engines.js:203 < SyncEngine__sync()@engines.js:768 < wrappedSync(null)@util.js:168 < batchedSync()@util.js:174 < ()@engines.js:203 < WrappedNotify()@util.js:147 < Engine_sync()@engines.js:213 < WeaveSvc__syncEngine([object Object])@service.js:1738 < ()@service.js:1624 < WrappedNotify()@util.js:147 < WrappedLock()@util.js:119 < WrappedCatch()@util.js:97 < sync(false)@service.js:1529 < ([object Object])@service.js:554 < notify([object XPCWrappedNative_NoHelper])@util.js:1126
2010-12-29 19:16:59 Engine.Passwords DEBUG First sync, uploading all items
2010-12-29 19:17:00 Engine.Passwords INFO 44 outgoing items pre-reconciliation
2010-12-29 19:17:01 Store.Passwords DEBUG Adding login for https://aktiebog2.prod.bec.dk
2010-12-29 19:17:01 Engine.Passwords DEBUG Total (ms): sync 2093, processIncoming 643, syncStartup 1449, findDupe 6, reconcile 10, syncCleanup 1
2010-12-29 19:17:01 Service.Main DEBUG passwords failed: NS_ERROR_XPC_JS_THREW_STRING JS Stack trace: Res_get()@resource.js:376 < SyncEngine__processIncoming()@engines.js:511 < ()@engines.js:203 < SyncEngine__sync()@engines.js:768 < ()@engines.js:203 < WrappedNotify()@util.js:147 < Engine_sync()@engines.js:213 < WeaveSvc__syncEngine([object Object])@service.js:1738 < ()@service.js:1624 < WrappedNotify()@util.js:147 < WrappedLock()@util.js:119 < WrappedCatch()@util.js:97 < sync(false)@service.js:1529 < ([object Object])@service.js:554 < notify([object XPCWrappedNative_NoHelper])@util.js:1126
Comment 1•15 years ago
|
||
(In reply to comment #0)
> my nightly build wont sync:
>
> 2010-12-29 19:16:59 Service.Main DEBUG history failed:
> NS_ERROR_NOT_AVAILABLE JS Stack trace: Res_get()@resource.js:376 <
> SyncEngine__processIncoming()@engines.js:511 < ()@engines.js:203 <
> SyncEngine__sync()@engines.js:768 < wrappedSync(null)@util.js:168 <
> batchedSync()@util.js:174 < ()@engines.js:203 < WrappedNotify()@util.js:147 <
> Engine_sync()@engines.js:213 < WeaveSvc__syncEngine([object
> Object])@service.js:1738 < ()@service.js:1624 < WrappedNotify()@util.js:147 <
> WrappedLock()@util.js:119 < WrappedCatch()@util.js:97 <
> sync(false)@service.js:1529 < ([object Object])@service.js:554 < notify([object
> XPCWrappedNative_NoHelper])@util.js:1126
This is likely bug 621594 (not a few places where history sync can fail like that). Can you turn on trace logging for history (set services.sync.log.logger.engine.history to Trace in about:config).
> 2010-12-29 19:17:01 Engine.Passwords DEBUG Total (ms): sync 2093,
> processIncoming 643, syncStartup 1449, findDupe 6, reconcile 10, syncCleanup 1
> 2010-12-29 19:17:01 Service.Main DEBUG passwords failed:
> NS_ERROR_XPC_JS_THREW_STRING JS Stack trace: Res_get()@resource.js:376 <
> SyncEngine__processIncoming()@engines.js:511 < ()@engines.js:203 <
> SyncEngine__sync()@engines.js:768 < ()@engines.js:203 <
> WrappedNotify()@util.js:147 < Engine_sync()@engines.js:213 <
> WeaveSvc__syncEngine([object Object])@service.js:1738 < ()@service.js:1624 <
> WrappedNotify()@util.js:147 < WrappedLock()@util.js:119 <
> WrappedCatch()@util.js:97 < sync(false)@service.js:1529 < ([object
> Object])@service.js:554 < notify([object
> XPCWrappedNative_NoHelper])@util.js:1126
Could be bug 609380 or bug 621024. If you could turn on trace logging for the password engine as well we might find out what the record looks like (just make sure you replace the password with something else before you paste the logs ;)).
Thanks!
Updated•15 years ago
|
Component: Firefox Sync: Crypto → Firefox Sync: Backend
QA Contact: sync-crypto → sync-backend
| Reporter | ||
Comment 2•15 years ago
|
||
the log with url/username/passwd blabla'ed
2010-12-30 10:21:26 Engine.History INFO Uploading all of 53 records
2010-12-30 10:21:26 Collection DEBUG POST Length: 31320
2010-12-30 10:21:26 Tracker.History TRACE Saving json to disk: weave/changes/history.json
2010-12-30 10:21:27 Collection DEBUG POST success 200 https://phx-sync121.services.mozilla.com/1.0/gemal/storage/history
2010-12-30 10:21:27 Engine.History TRACE Finishing up sync
2010-12-30 10:21:27 Engine.History TRACE Event: weave:engine:sync:finish
2010-12-30 10:21:27 Engine.History DEBUG Total (ms): sync 2381, processIncoming 1, uploadOutgoing 1471, syncStartup 2, syncFinish 0, getChangedIDs 0, createRecord 119, syncCleanup 0
2010-12-30 10:21:27 Engine.Passwords TRACE Event: weave:engine:sync:start
2010-12-30 10:21:27 Engine.Passwords DEBUG First sync, uploading all items
2010-12-30 10:21:28 Tracker.Passwords TRACE Clearing changed ID list
2010-12-30 10:21:28 Engine.Passwords INFO 44 outgoing items pre-reconciliation
2010-12-30 10:21:28 Engine.Passwords TRACE Downloading & applying server changes
2010-12-30 10:21:29 Engine.Passwords TRACE Incoming: { id: {0010061d-28cb-407b-aab3-0d8221d6a59e}
index: 0
modified: 1292324751.03
payload: {"id":"{0010061d-28cb-407b-aab3-0d8221d6a59e}","hostname":"https://blabla1","formSubmitURL":"blabla2","httpRealm":null,"username":"blabla3","password":"blabla3","usernameField":"VPKontonummer","passwordField":"kode"}
collection: passwords }
2010-12-30 10:21:29 Engine.Passwords TRACE Reconcile step 1: Check for conflicts
2010-12-30 10:21:29 Engine.Passwords TRACE Reconcile step 2: Check for updates
2010-12-30 10:21:29 Store.Passwords TRACE No items matching {0010061d-28cb-407b-aab3-0d8221d6a59e} found. Ignoring
2010-12-30 10:21:29 Engine.Passwords TRACE Reconcile step 2.5: Don't dupe deletes
2010-12-30 10:21:29 Engine.Passwords TRACE Reconcile step 3: Find dupes
2010-12-30 10:21:29 Store.Passwords TRACE No items matching {0010061d-28cb-407b-aab3-0d8221d6a59e} found. Ignoring
2010-12-30 10:21:29 Store.Passwords DEBUG Adding login for blabla1
2010-12-30 10:21:29 Engine.Passwords TRACE Event: weave:engine:sync:error
2010-12-30 10:21:29 Engine.Passwords DEBUG Total (ms): sync 1937, processIncoming 435, syncStartup 1501, findDupe 4, reconcile 7, syncCleanup 1
2010-12-30 10:21:29 Service.Main DEBUG passwords failed: NS_ERROR_XPC_JS_THREW_STRING JS Stack trace: Res_get()@resource.js:376 < SyncEngine__processIncoming()@engines.js:511 < ()@engines.js:203 < SyncEngine__sync()@engines.js:768 < ()@engines.js:203 < WrappedNotify()@util.js:147 < Engine_sync()@engines.js:213 < WeaveSvc__syncEngine([object Object])@service.js:1738 < ()@service.js:1624 < WrappedNotify()@util.js:147 < WrappedLock()@util.js:119 < WrappedCatch()@util.js:97 < sync()@service.js:1529 < (8)@browser.js:5214
2010-12-30 10:21:29 Engine.Prefs INFO 0 outgoing items pre-reconciliation
2010-12-30 10:21:29 Engine.Prefs INFO Records: 0 applied, 0 reconciled.
2010-12-30 10:21:29 Engine.Prefs DEBUG Total (ms): sync 2, processIncoming 1, uploadOutgoing 0, syncStartup 1, syncFinish 0, getChangedIDs 0, syncCleanup 0
2010-12-30 10:21:29 Engine.Tabs INFO 1 outgoing items pre-reconciliation
2010-12-30 10:21:29 Engine.Tabs INFO Records: 0 applied, 0 reconciled.
2010-12-30 10:21:29 Engine.Tabs INFO Uploading all of 1 records
2010-12-30 10:21:29 Collection DEBUG POST Length: 5955
2010-12-30 10:21:29 Tracker.Passwords TRACE Saving json to disk: weave/changes/passwords.json
2010-12-30 10:21:30 Collection DEBUG POST success 200 https://phx-sync121.services.mozilla.com/1.0/gemal/storage/tabs
2010-12-30 10:21:30 Engine.Tabs DEBUG Total (ms): sync 1071, processIncoming 1, uploadOutgoing 1069, syncStartup 1, syncFinish 0, getChangedIDs 0, createRecord 160, syncCleanup 0
2010-12-30 10:21:30 Service.Main CONFIG Starting backoff, next sync at:Thu Dec 30 2010 11:46:20 GMT+0100 (Romance Standard Time)
2010-12-30 10:21:30 Service.Main DEBUG Exception: Some engines did not sync correctly No traceback available
Comment 3•15 years ago
|
||
(In reply to comment #2)
> 2010-12-30 10:21:26 Engine.History INFO Uploading all of 53 records
> 2010-12-30 10:21:26 Collection DEBUG POST Length: 31320
> 2010-12-30 10:21:26 Tracker.History TRACE Saving json to disk:
> weave/changes/history.json
> 2010-12-30 10:21:27 Collection DEBUG POST success 200
> https://phx-sync121.services.mozilla.com/1.0/gemal/storage/history
> 2010-12-30 10:21:27 Engine.History TRACE Finishing up sync
> 2010-12-30 10:21:27 Engine.History TRACE Event:
> weave:engine:sync:finish
> 2010-12-30 10:21:27 Engine.History DEBUG Total (ms): sync 2381,
> processIncoming 1, uploadOutgoing 1471, syncStartup 2, syncFinish 0,
> getChangedIDs 0, createRecord 119, syncCleanup 0
Hmm, so history seems to work for now... Weird!
> 2010-12-30 10:21:29 Engine.Passwords TRACE Incoming: { id:
> {0010061d-28cb-407b-aab3-0d8221d6a59e}
> index: 0
> modified: 1292324751.03
> payload:
> {"id":"{0010061d-28cb-407b-aab3-0d8221d6a59e}","hostname":"https://blabla1","formSubmitURL":"blabla2","httpRealm":null,"username":"blabla3","password":"blabla3","usernameField":"VPKontonummer","passwordField":"kode"}
> collection: passwords }
I can't find anything wrong with this record. Are hostname and formSubmitURL valid URIs?
If it weren't so unlikely my guess would be you're running into a UUID collision...
| Reporter | ||
Comment 4•15 years ago
|
||
I can send you the full log via mail with only the password changed
Comment 5•15 years ago
|
||
(In reply to comment #4)
> I can send you the full log via mail with only the password changed
Ok, let's try that. Thanks!
Comment 6•15 years ago
|
||
I'm running into this too with Nightly build 2011-01-04. here is a snippit of my logs with history set to trace
http://deinspanjer.pastebin.mozilla.org/909154
Comment 7•15 years ago
|
||
(In reply to comment #6)
> I'm running into this too with Nightly build 2011-01-04.
You're probably running into the history bit which is bug 621594, not the password bit.
> here is a snippit of my logs with history set to trace
>
> http://deinspanjer.pastebin.mozilla.org/909154
Unfortunately that snippet doesn't contain enough context. Either way, bug 621594 has been merged to trunk and should be fixed in tomorrow's nightlies. If you're still seeing problems then, please file a *new* bug with the complete log output (about:sync-log and about:sync-log.1). Thanks!
| Reporter | ||
Comment 8•14 years ago
|
||
I filed bug 654216 since suddenly I could not sync again!
Comment 9•13 years ago
|
||
Pretty sure this one was fixed a while ago. If you still see issues on Firefox 14, please reopen or file a new bug. Be sure to include a Sync log.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
| Assignee | ||
Updated•7 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
•