Fail to sync from Firefox desktop
Categories
(Firefox :: Sync, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox151 | --- | fixed |
People
(Reporter: cso, Assigned: skhamis)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxsync-])
Attachments
(1 file)
Starting on Oct 4, some Firefox iOS sync integration tests fail (See *_desktop ones) due to an error from Sync from the staging server. Here Firefox desktop attempts to sync some bookmarks with the server. Those errors occurred before Firefox iOS was launched and attempts to sync
1759596984683 Sync.SyncScheduler TRACE Handling weave:engine:sync:finish
1759596984683 Sync.Telemetry TRACE observed weave:engine:sync:finish bookmarks
1759596984683 Sync.Synchronizer INFO Sync completed at 2025-10-04 09:56:24 after 0.33 secs.
1759596984683 Sync.Service TRACE Event: weave:service:sync:error
1759596984684 Sync.ErrorHandler TRACE Handling weave:service:sync:error
1759596984684 Sync.ErrorHandler ERROR Sync encountered an error: [Exception... "Failure" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://services-sync/stages/enginesync.sys.mjs :: sync :: line 216" data: no] Stack trace: sync()@resource://services-sync/stages/enginesync.sys.mjs:216
2025-10-04 09:56:24.686 CROSSWEAVE ERROR: [phase phase1] Sync error; aborting test - JS Stack trace: DumpError@tps.sys.mjs:160:37
TPS__observe@tps.sys.mjs:218:18
notify@observers.sys.mjs:83:18
notify@util.sys.mjs:183:19
WrappedNotify@util.sys.mjs:193:17
1759596984942 SessionStore DEBUG SessionWriter.write wrote 872 bytes in 3ms
console.error: services.settings:
Object
- prototype Object
- columnNumber = 0
- data = null
- filename = resource://gre/modules/ServiceRequest.sys.mjs
- lineNumber = 126
- location = {"name":"open","filename":"resource://gre/modules/ServiceRequest.sys.mjs","sourceId":26,"lineNumber":126,"columnNumber":11,"asyncCause":null,"asyncCaller":null,"caller":{"filename":"resource://services-settings/Utils.sys.mjs","name":"fetch/<","sourceId":25,"lineNumber":272,"columnNumber":15,"asyncCause":null,"asyncCaller":null,"caller":{"filename":"resource://services-settings/Utils.sys.mjs","name":"fetch","sourceId":25,"lineNumber":223,"columnNumber":12,"asyncCause":null,"asyncCaller":null,"caller":{"filename":"resource://services-settings/Utils.sys.mjs","name":"fetchLatestChanges","sourceId":25,"lineNumber":433,"columnNumber":34,"asyncCause":null,"asyncCaller":null,"caller":{"filename":"resource://services-settings/RemoteSettingsClient.sys.mjs","name":"sync","sourceId":23,"lineNumber":658,"columnNumber":42,"asyncCause":null,"asyncCaller":null,"caller":{"filename":"resource://services-settings/RemoteSettingsClient.sys.mjs","name":"get/this._importingPromise<","sourceId":23,"lineNumber":496,"columnNumber":28,"asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"get/this._importingPromise<@resource://services-settings/RemoteSettingsClient.sys.mjs:496:28\n","nativeSavedFrame":{}},"formattedStack":"sync@resource://services-settings/RemoteSettingsClient.sys.mjs:658:42\nget/this._importingPromise<@resource://services-settings/RemoteSettingsClient.sys.mjs:496:28\n","nativeSavedFrame":{}},"formattedStack":"fetchLatestChanges@resource://services-settings/Utils.sys.mjs:433:34\nsync@resource://services-settings/RemoteSettingsClient.sys.mjs:658:42\nget/this._importingPromise<@resource://services-settings/RemoteSettingsClient.sys.mjs:496:28\n","nativeSavedFrame":{}},"formattedStack":"fetch@resource://services-settings/Utils.sys.mjs:223:12\nfetchLatestChanges@resource://services-settings/Utils.sys.mjs:433:34\nsync@resource://services-settings/RemoteSettingsClient.sys.mjs:658:42\nget/this._importingPromise<@resource://services-settings/RemoteSettingsClient.sys.mjs:496:28\n","nativeSavedFrame":{}},"formattedStack":"fetch/<@resource://services-settings/Utils.sys.mjs:272:15\nfetch@resource://services-settings/Utils.sys.mjs:223:12\nfetchLatestChanges@resource://services-settings/Utils.sys.mjs:433:34\nsync@resource://services-settings/RemoteSettingsClient.sys.mjs:658:42\nget/this._importingPromise<@resource://services-settings/RemoteSettingsClient.sys.mjs:496:28\n","nativeSavedFrame":{}},"formattedStack":"open@resource://gre/modules/ServiceRequest.sys.mjs:126:11\nfetch/<@resource://services-settings/Utils.sys.mjs:272:15\nfetch@resource://services-settings/Utils.sys.mjs:223:12\nfetchLatestChanges@resource://services-settings/Utils.sys.mjs:433:34\nsync@resource://services-settings/RemoteSettingsClient.sys.mjs:658:42\nget/this._importingPromise<@resource://services-settings/RemoteSettingsClient.sys.mjs:496:28\n","nativeSavedFrame":{}}
- message =
- name =
- result = 2152071198
- stack = open@resource://gre/modules/ServiceRequest.sys.mjs:126:11|fetch/<@resource://services-settings/Utils.sys.mjs:272:15|fetch@resource://services-settings/Utils.sys.mjs:223:12|fetchLatestChanges@resource://services-settings/Utils.sys.mjs:433:34|sync@resource://services-settings/RemoteSettingsClient.sys.mjs:658:42|get/this._importingPromise<@resource://services-settings/RemoteSettingsClient.sys.mjs:496:28|
- prototype Object
Comment 1•10 months ago
|
||
The severity field is not set for this bug.
:skhamis, could you have a look please?
For more information, please visit BugBot documentation.
| Assignee | ||
Updated•10 months ago
|
Updated•10 months ago
|
Updated•9 months ago
|
I've encountered an error on sync keys. Could someone let me know if there's something missing on my end to get TPS working?
if 'CROSSWEAVE ERROR: ' in line:
> raise TPSError(line.partition('CROSSWEAVE ERROR: ')[-1])
E SyncIntegrationTests.tps.TPSError: [phase phase1] Configuring sync failed. - Error: User does not have sync keys(resource://services-sync/service.sys.mjs:1000:13) JS Stack trace: configure@service.sys.mjs:1000:13
Note that the error occurred on the desktop's side, not Firefox iOS mobile.
The logs when all tests passed:
https://storage.googleapis.com/mobile-reports/public/firefox-ios-M1/result_1115/firefox-ios/firefox-ios-tests/Tests/SyncIntegrationTests/results/index.html?sort=result
:markh Do you recall any changes in sync or TPS around the end of September and the beginning of October?
I just had a brief chat with Sammy K. We confirmed that the errors are from the recent changes in sync, not from Firefox iOS.
| Assignee | ||
Comment 6•4 months ago
|
||
Updated•4 months ago
|
Comment 8•4 months ago
|
||
| bugherder | ||
Updated•4 months ago
|
Description
•