201907 - Login failed: Status.login: error.login.reason.server => error.sync.reason.serverMaintenance
Hi,
firefox (any version) sync service stopped working about 1-2 days ago. In the SYNC log file ~/.mozilla/firefox/PROFILE/weave/logs/error-sync-SOMENUMBER.txt I can see failure with "Status.login: error.login.reason.server => error.sync.reason.serverMaintenance", more data from the log: { ... 1564591513485 Sync.SyncScheduler DEBUG Global Score threshold hit, triggering sync. 1564591513485 Sync.Service DEBUG User-Agent: Firefox/68.0.1 (Linux x86_64) FxSync/1.70.0.20190717172542.desktop 1564591513485 Sync.Service INFO Starting sync at 2019-07-31 18:45:13 in browser session 603JQcpV7sQS 1564591513485 Sync.Service DEBUG In sync: should login. 1564591513485 Sync.Service DEBUG Exception calling WrappedLock: LockException: Could not acquire lock. Label: "service.js: login".(resource://services-sync/util.js:41:5) JS Stack trace: LockException@util.js:41:5 throwLockException@util.js:115:11 WrappedLock@util.js:129:15 WrappedCatch@util.js:103:27 login@service.js:880:66 sync/<@service.js:1111:26 WrappedCatch@util.js:103:27 sync@service.js:1119:7 1564591513485 Sync.Service INFO Cannot start sync: already syncing? 1564591513485 Sync.Service DEBUG Not syncing: login returned false. 1564591513816 Services.Common.RESTRequest TRACE onStartRequest: POST https://oauth.accounts.firefox.com/v1/authorization 1564591513816 Services.Common.RESTRequest TRACE Channel for POST https://oauth.accounts.firefox.com/v1/authorization returned status code 0 1564591513816 Services.Common.RESTRequest DEBUG POST https://oauth.accounts.firefox.com/v1/authorization 200 1564591513817 Services.Common.RESTRequest DEBUG GET request to https://profile.accounts.firefox.com/v1/profile 1564591513817 Services.Common.RESTRequest TRACE HTTP Header authorization: ***** (suppressed) 1564591513817 Services.Common.RESTRequest TRACE HTTP Header accept: application/json 1564591513817 FirefoxAccounts DEBUG _updateAccountData with items: ["oauthTokens"] 1564591513818 FirefoxAccounts DEBUG writing plain storage: ["email","sessionToken","uid","verified","device","oauthTokens"] 1564591513818 FirefoxAccounts TRACE starting write of json user data: ["email","sessionToken","uid","verified","device","oauthTokens"] 1564591513820 FirefoxAccounts TRACE finished write of json user data - took: 2 1564591513820 FirefoxAccounts DEBUG writing secure storage: ["kSync","kXCS","kExtSync","kExtKbHash"] 1564591513820 FirefoxAccounts TRACE starting write of user data to the login manager 1564591513828 FirefoxAccounts TRACE finished write of user data to the login manager 1564591514084 Services.Common.RESTRequest TRACE onStartRequest: GET https://token.services.mozilla.com/1.0/sync/1.5 1564591514084 Services.Common.RESTRequest TRACE Channel for GET https://token.services.mozilla.com/1.0/sync/1.5 returned status code 0 1564591514085 Services.Common.RESTRequest DEBUG GET https://token.services.mozilla.com/1.0/sync/1.5 200 1564591514085 Services.Common.TokenServerClient DEBUG Got token response: 200 1564591514085 Services.Common.RESTResponse TRACE Processing response headers. 1564591514085 Services.Common.TokenServerClient DEBUG Successful token response 1564591514086 Sync.BulkKeyBundle INFO BulkKeyBundle being created for undefined 1564591514087 Sync.Status DEBUG Status.login: success.login => success.login 1564591514087 Sync.Status DEBUG Status.service: success.status_ok => success.status_ok 1564591514088 Sync.BrowserIDManager DEBUG _findCluster returning https://sync-578-us-west-2.sync.services.mozilla.com/1.5/91774768/ 1564591514088 Sync.BrowserIDManager DEBUG Cluster value = https://sync-578-us-west-2.sync.services.mozilla.com/1.5/91774768/ 1564591514088 Sync.BrowserIDManager DEBUG Setting cluster to https://sync-578-us-west-2.sync.services.mozilla.com/1.5/91774768/ 1564591514088 Sync.Service DEBUG Caching URLs under storage user base: https://sync-578-us-west-2.sync.services.mozilla.com/1.5/91774768/ 1564591514489 Services.Common.RESTRequest TRACE onStartRequest: GET https://profile.accounts.firefox.com/v1/profile 1564591514490 Services.Common.RESTRequest TRACE Channel for GET https://profile.accounts.firefox.com/v1/profile returned status code 0 1564591514491 Services.Common.RESTRequest DEBUG GET https://profile.accounts.firefox.com/v1/profile 200 1564591514491 Services.Common.RESTResponse TRACE Processing response headers. 1564591514492 FirefoxAccounts DEBUG _updateAccountData with items: ["profileCache"] 1564591514494 FirefoxAccounts DEBUG writing plain storage: ["email","sessionToken","uid","verified","device","oauthTokens","profileCache"] 1564591514495 FirefoxAccounts TRACE starting write of json user data: ["email","sessionToken","uid","verified","device","oauthTokens","profileCache"] 1564591514498 FirefoxAccounts DEBUG notifying profile changed for user 3bce5d4220f7477f9357b308d46b0dfd 1564591514502 FirefoxAccounts TRACE not checking freshness of profile as it remains recent 1564591514525 FirefoxAccounts TRACE finished write of json user data - took: 30 1564591514525 FirefoxAccounts DEBUG writing secure storage: ["kSync","kXCS","kExtSync","kExtKbHash"] 1564591514525 FirefoxAccounts TRACE starting write of user data to the login manager 1564591514536 FirefoxAccounts TRACE finished write of user data to the login manager 1564591514779 Sync.Resource DEBUG GET fail 503 https://sync-578-us-west-2.sync.services.mozilla.com/1.5/91774768/info/collections 1564591514779 Sync.Resource WARN GET request to https://sync-578-us-west-2.sync.services.mozilla.com/1.5/91774768/info/collections failed with status 503 1564591514779 Sync.Status DEBUG Status.login: success.login => error.login.reason.server 1564591514779 Sync.Status DEBUG Status.service: success.status_ok => error.login.failed 1564591514779 Sync.ErrorHandler DEBUG Got Retry-After: 3600 1564591514779 Sync.Status DEBUG Status.login: error.login.reason.server => error.sync.reason.serverMaintenance 1564591514779 Sync.Status DEBUG Status.service: error.login.failed => error.login.failed 1564591514779 Sync.SyncScheduler DEBUG Got backoff notification: 3600000ms 1564591514779 Sync.SyncScheduler DEBUG Fuzzed minimum next sync: 1564595114779 1564591514780 Sync.ErrorHandler ERROR Sync encountered a login error 1564591514780 Sync.SyncScheduler DEBUG Clearing sync triggers and the global score. 1564591514780 Sync.SyncScheduler DEBUG Next sync in 4492409.330912673 ms. (why=schedule) 1564591514781 Sync.Service DEBUG Exception calling WrappedLock: Error: Login failed: error.sync.reason.serverMaintenance(resource://services-sync/service.js:869:15) JS Stack trace: onNotify@service.js:869:15 1564591514781 Sync.Service DEBUG Not syncing: login returned false. }
However, the "https://status.services.mozilla.com/" is saying everything is up.
ყველა პასუხი (4)
Another user has similar problems: https://www.reddit.com/r/waterfox/comments/ck3v5c/sync_issues/
In case of issues with Sync you can try this:
Disconnect from Sync and Reconnect to Sync again. You can disconnect from Sync by clicking the e-mail address in the "3-bar" Firefox menu button drop-down list or go to "Options/Preferences > Sync".
Delete the signedInUser.json file in the Firefox profile folder and delete the Weave folder (Sync was formerly named Weave) with Firefox closed.
Remove an existing chrome://FirefoxAccounts entry in the Firefox Password Manager.
If that isn't enough then delete the prefs.js files to reset all prefs and maybe also delete the compatibility.ini file to reinitialize the profile.
You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.
- Help -> Troubleshooting Information -> Profile Directory:
Windows: Show Folder; Linux: Open Directory; Mac: Show in Finder - http://kb.mozillazine.org/Profile_folder_-_Firefox
@cor-el: I tested it even with a fresh new profile, same problem after entering the credentials. The log data I provided previously are from this fresh new profile test.
I forgot to mention, that this is happening on three PCs, which are in the same Firefox SYNC. It is unlikely all three of them would have broken profile at the very same time. Also check out the https://www.reddit.com/r/waterfox/comments/ck3v5c/sync_issues/ , where is another affected guy, likewise.