Closed Bug 1854274 Opened 2 years ago Closed 2 years ago

does not sync

Categories

(Firefox :: Sync, defect)

Firefox 117
defect

Tracking

()

RESOLVED DUPLICATE of bug 1449796

People

(Reporter: lamaison.marc, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0

Steps to reproduce:

Logged into my Firefox account on a new computer
Clicked Sync now

Actual results:

Nothing. See report:

1695245270088 Sync.LogManager DEBUG Flushing file log
1695245270089 FirefoxAccounts TRACE not checking freshness of profile as it remains recent
1695245270089 FirefoxAccounts TRACE not checking freshness of profile as it remains recent
1695245270096 Sync.RemoteTabs INFO Final tab list has 0 clients with 0 tabs.
1695245270102 Sync.LogManager DEBUG Log cleanup threshold time: 1694381270102
1695245270131 Sync.LogManager DEBUG Done deleting files.
1695245272945 FirefoxAccounts INFO Polling device commands.
1695245272945 Sync.Service DEBUG User-Agent: Firefox/117.0.1 (Windows NT 10.0; Win64; x64) FxSync/1.119.0.20230912013654.desktop
1695245272945 Sync.Service INFO Starting sync at 2023-09-21 08:27:52 in browser session JmiI3Nry686M
1695245272945 Sync.SyncScheduler DEBUG Clearing sync triggers and the global score.
1695245272947 Sync.Status INFO Resetting Status.
1695245272947 Sync.Status DEBUG Status.service: error.sync.failed => success.status_ok
1695245272947 Sync.Status DEBUG Status.sync: success.sync => error.login.reason.network
1695245272947 Sync.Status DEBUG Status.service: success.status_ok => error.sync.failed
1695245272947 Sync.ErrorHandler ERROR Sync encountered an error: Error: Can't sync: Network is offline(resource://services-sync/stages/enginesync.sys.mjs:60:13) JS Stack trace: sync@enginesync.sys.mjs:60:13
onNotify@service.sys.mjs:1350:28
WrappedNotify@util.sys.mjs:191:32
WrappedLock@util.sys.mjs:147:27
_lockedSync@service.sys.mjs:1369:6
sync/<@service.sys.mjs:1334:18
WrappedCatch@util.sys.mjs:114:27
sync@service.sys.mjs:1335:7
1695245272948 Sync.SyncScheduler DEBUG Sync error count has exceeded 3; enforcing backoff.
1695245272948 Sync.SyncScheduler DEBUG Starting client-initiated backoff. Next sync in 5011122 ms.
1695245272948 Sync.SyncScheduler DEBUG Next sync in 5011122 ms. (why=client-backoff-schedule)
1695245272949 Sync.Service DEBUG Exception calling anonymous function: Error: Can't sync: Network is offline(resource://services-sync/stages/enginesync.sys.mjs:60:13) JS Stack trace: sync@enginesync.sys.mjs:60:13
onNotify@service.sys.mjs:1350:28
WrappedNotify@util.sys.mjs:191:32
WrappedLock@util.sys.mjs:147:27
_lockedSync@service.sys.mjs:1369:6
sync/<@service.sys.mjs:1334:18
WrappedCatch@util.sys.mjs:114:27
sync@service.sys.mjs:1335:7
1695245272950 FirefoxAccounts TRACE not checking freshness of profile as it remains recent
1695245272950 FirefoxAccounts TRACE not checking freshness of profile as it remains recent

Expected results:

My account should have been synchronised and my old bookmarks should have appeared on my Personal bar.

The Bugbug bot thinks this bug should belong to the 'Firefox::Sync' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Sync

Issue does not reproduce on Win10x64 using FF build 117.0(20230824132758).
Marking as new so that Sync team can take a look at the logs. Thank you.

Status: UNCONFIRMED → NEW
Ever confirmed: true

The logs show "Error: Can't sync: Network is offline". Do you get a new error log with this message each time you sync, even when you are online, or is it possible this was an old log back when the network really was offline?

Flags: needinfo?(lamaison.marc)

I get this error each time I sync, even when I am online.

Flags: needinfo?(lamaison.marc)

Here is the latest log, from a few seconds ago:

1695338817310 Sync.LogManager DEBUG Flushing file log
1695338817323 Sync.RemoteTabs INFO Final tab list has 0 clients with 0 tabs.
1695338817329 Sync.LogManager DEBUG Log cleanup threshold time: 1694474817329
1695338817338 Sync.SyncScheduler DEBUG Clearing sync triggers and the global score.
1695338817370 Sync.LogManager DEBUG Done deleting files.
1695338822424 FirefoxAccounts INFO Polling device commands.
1695338822424 Sync.Service DEBUG User-Agent: Firefox/117.0.1 (Windows NT 10.0; Win64; x64) FxSync/1.119.0.20230912013654.desktop
1695338822424 Sync.Service INFO Starting sync at 2023-09-22 10:27:02 in browser session oltPUOHdIX7w
1695338822424 Sync.SyncScheduler DEBUG Clearing sync triggers and the global score.
1695338822425 Sync.Status INFO Resetting Status.
1695338822425 Sync.Status DEBUG Status.service: error.sync.failed => success.status_ok
1695338822425 Sync.Status DEBUG Status.sync: success.sync => error.login.reason.network
1695338822425 Sync.Status DEBUG Status.service: success.status_ok => error.sync.failed
1695338822425 Sync.ErrorHandler ERROR Sync encountered an error: Error: Can't sync: Network is offline(resource://services-sync/stages/enginesync.sys.mjs:60:13) JS Stack trace: sync@enginesync.sys.mjs:60:13
onNotify@service.sys.mjs:1350:28
WrappedNotify@util.sys.mjs:191:32
WrappedLock@util.sys.mjs:147:27
_lockedSync@service.sys.mjs:1369:6
sync/<@service.sys.mjs:1334:18
WrappedCatch@util.sys.mjs:114:27
sync@service.sys.mjs:1335:7
1695338822426 Sync.SyncScheduler DEBUG Next sync in 3600000 ms. (why=reschedule)
1695338822427 Sync.Service DEBUG Exception calling anonymous function: Error: Can't sync: Network is offline(resource://services-sync/stages/enginesync.sys.mjs:60:13) JS Stack trace: sync@enginesync.sys.mjs:60:13
onNotify@service.sys.mjs:1350:28
WrappedNotify@util.sys.mjs:191:32
WrappedLock@util.sys.mjs:147:27
_lockedSync@service.sys.mjs:1369:6
sync/<@service.sys.mjs:1334:18
WrappedCatch@util.sys.mjs:114:27
sync@service.sys.mjs:1335:7

This sounds like bug 1449796 - can you see if bug 1449796 comment 6 helps?

Flags: needinfo?(lamaison.marc)

It worked! Thanks a lot, it worked at once, my bookmarked pages were instantly imported, the theme changed into dark mode, the modules installed... Everything seems A-OK, thank you very much for helping!

Flags: needinfo?(lamaison.marc)
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME

Thanks for letting us know - I'll mark this as a dupe of bug 1449796

Duplicate of bug: 1449796
Resolution: WORKSFORME → DUPLICATE
You need to log in before you can comment on or make changes to this bug.