Open Bug 1165811 Opened 5 years ago Updated 1 year ago

NS_ERROR_FAILURE attempting to sync tabs.

Categories

(Firefox :: Sync, defect, P3)

defect

Tracking

()

People

(Reporter: markh, Unassigned)

References

Details

(Whiteboard: [data-integrity])

From bug 1152116 comment 1, possibly when offline:

> 1428459899281	Sync.Engine.Tabs	WARN	Error creating record: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsISessionStore.getTabState]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: resource://gre/modules/services-sync/engines/tabs.js :: TabStore.prototype.getTabState :: line 121"  data: no] Stack trace: TabStore.prototype.getTabState()@resource://gre/modules/services-sync/engines/tabs.js:121 < TabStore.prototype.getAllTabs()@resource://gre/modules/services-sync/engines/tabs.js:137 < TabStore.prototype.createRecord()@resource://gre/modules/services-sync/engines/tabs.js:190 < SyncEngine.prototype._createRecord()@resource://services-sync/engines.js:854 < SyncEngine.prototype._uploadOutgoing()@resource://services-sync/engines.js:1451 < SyncEngine.prototype._sync()@resource://services-sync/engines.js:1522 < WrappedNotify()@resource://services-sync/util.js:148 < Engine.prototype.sync()@resource://services-sync/engines.js:668 < _syncEngine()@resource://services-sync/stages/enginesync.js:199 < sync()@resource://services-sync/stages/enginesync.js:149 < onNotify()@resource://gre/modules/services-sync/service.js:1298 < WrappedNotify()@resource://services-sync/util.js:148 < WrappedLock()@resource://services-sync/util.js:103 < _lockedSync()@resource://gre/modules/services-sync/service.js:1288 < sync/<()@resource://gre/modules/services-sync/service.js:1280 < WrappedCatch()@resource://services-sync/util.js:77 < sync()@resource://gre/modules/services-sync/service.js:1268 < <file:unknown>

We should gracefully handle that if possible.
I can't reproduce this. My next suggestion was to use telemetry to find how many people see this in practice, but it turns out we don't report these errors to telemetry - I opened bug 1329850 for that - when that is fixed we should measure this.
Depends on: 1329850
Priority: -- → P3
Whiteboard: [data-integrity]
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.