-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hi everyone,
I set up this project and try to get it to work. But after logging in my firefox tells me that it is disconnected. Server logs are of no use (not even with level debug, which does not seem to do anything), and in firefox I am getting the attached sync-log.
I think the only important part is the 401 error, but I cannot figure out why it happens. Anyone got any idea?
1744638118609 Sync.LogManager DEBUG Flushing file log
1744638118615 FirefoxAccounts TRACE finished write of json user data - took: 9
1744638118615 FirefoxAccounts DEBUG writing secure storage: ["scopedKeys"]
1744638118615 FirefoxAccounts TRACE starting write of user data to the login manager
1744638118617 FirefoxAccounts TRACE finished write of user data to the login manager
1744638118622 Sync.LogManager DEBUG Log cleanup threshold time: 1743774118622
1744638118623 Sync.LogManager DEBUG Done deleting files.
1744638118790 Services.Common.RESTRequest DEBUG POST https://api.accounts.firefox.com/v1/oauth/destroy 200
1744638118790 Hawk DEBUG (Response) /oauth/destroy: code: 200 - Status text:
1744638118790 Hawk DEBUG Clock offset vs https://api.accounts.firefox.com/v1: -790
1744638119347 Sync.Engine.Tabs.Tracker DEBUG Detected a tab change, but conditions aren't met for a quick write - bumping score
1744638119357 Sync.Engine.Tabs.Tracker DEBUG Detected a tab change, but conditions aren't met for a quick write or a score bump
1744638119427 Sync.Engine.Tabs.Tracker DEBUG Detected a tab change, but conditions aren't met for a quick write or a score bump
1744638119518 Sync.Engine.Tabs.Tracker DEBUG Detected a tab change, but conditions aren't met for a quick write or a score bump
1744638119520 Sync.Engine.Tabs.Tracker DEBUG Detected a tab change, but conditions aren't met for a quick write or a score bump
1744638119533 FirefoxAccounts TRACE not checking freshness of profile as it remains recent
1744638119533 FirefoxAccounts TRACE not checking freshness of profile as it remains recent
1744638119533 FirefoxAccounts TRACE not checking freshness of profile as it remains recent
1744638119533 FirefoxAccounts TRACE not checking freshness of profile as it remains recent
1744638121374 FirefoxAccounts TRACE not checking freshness of profile as it remains recent
1744638121689 Sync.Engine.Tabs.Tracker DEBUG Detected a tab change, but conditions aren't met for a quick write or a score bump
1744638122282 FirefoxAccounts DEBUG FxAccountsWebChannel message received: fxaccounts:fxa_status
1744638122282 FirefoxAccounts TRACE _receiveMessage for command fxaccounts:fxa_status
1744638122282 FirefoxAccounts DEBUG fxa_status received
1744638122282 FirefoxAccounts DEBUG fxa status ok=true - private=false, service=sync, context=oauth_webchannel_v1, pairing=false
1744638122588 Sync.Engine.Tabs.Tracker DEBUG Detected a tab change, but conditions aren't met for a quick write or a score bump
1744638122604 Sync.Engine.Tabs.Tracker DEBUG Detected a tab change, but conditions aren't met for a quick write or a score bump
1744638122911 Sync.Engine.Tabs.Tracker DEBUG Detected a tab change, but conditions aren't met for a quick write or a score bump
1744638124410 FirefoxAccounts DEBUG FxAccountsWebChannel message received: fxaccounts:fxa_status
1744638124410 FirefoxAccounts TRACE _receiveMessage for command fxaccounts:fxa_status
1744638124410 FirefoxAccounts DEBUG fxa_status received
1744638124410 FirefoxAccounts DEBUG fxa status ok=true - private=false, service=sync, context=oauth_webchannel_v1, pairing=false
1744638125946 FirefoxAccounts DEBUG FxAccountsWebChannel message received: fxaccounts:can_link_account
1744638125946 FirefoxAccounts TRACE _receiveMessage for command fxaccounts:can_link_account
1744638127198 FirefoxAccounts DEBUG FxAccountsWebChannel message received: fxaccounts:login
1744638127198 FirefoxAccounts TRACE _receiveMessage for command fxaccounts:login
1744638127198 FirefoxAccounts TRACE not checking freshness of profile as it remains recent
1744638127199 FirefoxAccounts DEBUG Webchannel is updating the info for an already logged in user.
1744638127199 FirefoxAccounts DEBUG storing info for services sync
1744638127201 FirefoxAccounts DEBUG setSignedInUser - aborting any existing flows
1744638127201 Sync.Engine.Clients.Tracker DEBUG client.name preference changed
1744638127201 FirefoxAccounts DEBUG Unsubscribing from FxA push.
1744638127201 FirefoxAccounts TRACE FxAccountsPushService unsubscribe
1744638127294 Sync.Engine.Tabs.Tracker DEBUG Detected a tab change, but conditions aren't met for a quick write or a score bump
1744638127389 FirefoxAccounts DEBUG FxAccountsPushService unsubscribed
1744638127389 FirefoxAccounts DEBUG Destroying session and device.
1744638127390 Services.Common.RESTRequest DEBUG POST request to https://api.accounts.firefox.com/v1/session/destroy?service=sync
1744638127391 Services.Common.RESTRequest DEBUG POST Length: 2
1744638127594 Services.Common.RESTRequest DEBUG POST https://api.accounts.firefox.com/v1/session/destroy?service=sync 200
1744638127594 Hawk DEBUG (Response) /session/destroy?service=sync: code: 200 - Status text:
1744638127594 Hawk DEBUG Clock offset vs https://api.accounts.firefox.com/v1: -594
1744638127594 FirefoxAccounts DEBUG Destroying all OAuth tokens.
1744638127595 Services.Common.RESTRequest DEBUG POST request to https://api.accounts.firefox.com/v1/oauth/destroy
1744638127595 Services.Common.RESTRequest DEBUG POST Length: 900
1744638127766 Services.Common.RESTRequest DEBUG POST https://api.accounts.firefox.com/v1/oauth/destroy 200
1744638127766 Hawk DEBUG (Response) /oauth/destroy: code: 200 - Status text:
1744638127766 Hawk DEBUG Clock offset vs https://api.accounts.firefox.com/v1: -766
1744638127767 FirefoxAccounts DEBUG removing account data
1744638127767 FirefoxAccounts TRACE starting write of json user data: null
1744638127768 FirefoxAccounts TRACE finished write of json user data - took: 1
1744638127772 FirefoxAccounts TRACE storage set finished clearing account data
1744638127772 FirefoxAccounts DEBUG account data reset
1744638127772 FirefoxAccounts TRACE StorageManager finalizing
1744638127772 FirefoxAccounts TRACE StorageManager finalized
1744638127772 FirefoxAccounts TRACE initializing new storage manager
1744638127772 FirefoxAccounts DEBUG writing plain storage: ["email","sessionToken","uid","verified","requestedServices"]
1744638127772 FirefoxAccounts TRACE starting write of json user data: ["email","sessionToken","uid","verified","requestedServices"]
1744638127773 FirefoxAccounts TRACE finished write of json user data - took: 1
1744638127773 FirefoxAccounts DEBUG writing secure storage: []
1744638127773 FirefoxAccounts TRACE starting write of user data to the login manager
1744638127777 FirefoxAccounts TRACE finished write of user data to the login manager
1744638127777 FirefoxAccounts TRACE initializing of new storage manager done
1744638127777 FirefoxAccounts DEBUG Notifying observers of fxaccounts:onlogin
1744638127777 Sync.SyncAuthManager DEBUG observed fxaccounts:onlogin
1744638127777 Sync.SyncAuthManager INFO Sync has been connected to a logged in user
1744638127778 FirefoxAccounts DEBUG FxAccountsProfileClient: Initialized
1744638127778 FirefoxAccounts TRACE FxAccountsPush registerPushEndpoint
1744638127778 FirefoxAccounts DEBUG FxAccountsProfileClient: Requested profile
1744638127778 FirefoxAccounts DEBUG getOAuthToken enter
1744638127778 Sync.SyncAuthManager INFO The user is not verified
1744638127784 Services.Common.RESTRequest DEBUG POST request to https://api.accounts.firefox.com/v1/oauth/token
1744638127784 Services.Common.RESTRequest DEBUG POST Length: 81
1744638127955 FirefoxAccounts DEBUG FxAccountsPush got subscription
1744638127957 FirefoxAccounts TRACE Command queue observer created
1744638127957 FirefoxAccounts TRACE Getting command keys: https://identity.mozilla.com/cmd/open-uri
1744638127957 Sync.Engine.Clients.Tracker DEBUG client.name preference changed
1744638127957 FirefoxAccounts INFO Generating and persisting encrypted key (false, false)
1744638127957 FirefoxAccounts INFO Can't get keys; no key material or tokens available
1744638127957 FirefoxAccounts INFO Can't fetch keys, so unable to determine command keys
1744638127957 FirefoxAccounts TRACE Getting command keys: https://identity.mozilla.com/cmd/close-uri/v1
1744638127957 FirefoxAccounts INFO Generating and persisting encrypted key (false, false)
1744638127958 FirefoxAccounts INFO Can't get keys; no key material or tokens available
1744638127958 FirefoxAccounts INFO Can't fetch keys, so unable to determine command keys
1744638127958 FirefoxAccounts INFO registering with available commands: []
1744638127958 FirefoxAccounts DEBUG registering new device details
1744638127960 Services.Common.RESTRequest DEBUG POST request to https://api.accounts.firefox.com/v1/account/device
1744638127960 Services.Common.RESTRequest DEBUG POST Length: 437
1744638128031 Services.Common.RESTRequest DEBUG POST https://api.accounts.firefox.com/v1/oauth/token 200
1744638128032 Hawk DEBUG (Response) /oauth/token: code: 200 - Status text:
1744638128032 Hawk DEBUG Clock offset vs https://api.accounts.firefox.com/v1: -1032
1744638128032 FirefoxAccounts DEBUG _updateAccountData with items: ["oauthTokens"]
1744638128032 FirefoxAccounts DEBUG writing plain storage: ["email","sessionToken","uid","verified","requestedServices","oauthTokens"]
1744638128032 FirefoxAccounts TRACE starting write of json user data: ["email","sessionToken","uid","verified","requestedServices","oauthTokens"]
1744638128033 Services.Common.RESTRequest DEBUG GET request to https://profile.accounts.firefox.com/v1/profile
1744638128034 FirefoxAccounts TRACE finished write of json user data - took: 2
1744638128034 FirefoxAccounts DEBUG writing secure storage: []
1744638128034 FirefoxAccounts TRACE starting write of user data to the login manager
1744638128040 FirefoxAccounts TRACE finished write of user data to the login manager
1744638128178 Services.Common.RESTRequest DEBUG POST https://api.accounts.firefox.com/v1/account/device 200
1744638128178 Hawk DEBUG (Response) /account/device: code: 200 - Status text:
1744638128178 Hawk DEBUG Clock offset vs https://api.accounts.firefox.com/v1: -178
1744638128178 FirefoxAccounts DEBUG _updateAccountData with items: ["device"]
1744638128178 FirefoxAccounts DEBUG writing plain storage: ["email","sessionToken","uid","verified","requestedServices","oauthTokens","device"]
1744638128178 FirefoxAccounts TRACE starting write of json user data: ["email","sessionToken","uid","verified","requestedServices","oauthTokens","device"]
1744638128179 FirefoxAccounts DEBUG Webchannel finished logging a user in.
1744638128180 FirefoxAccounts TRACE finished write of json user data - took: 2
1744638128180 FirefoxAccounts DEBUG writing secure storage: []
1744638128180 FirefoxAccounts TRACE starting write of user data to the login manager
1744638128184 FirefoxAccounts TRACE finished write of user data to the login manager
1744638128243 Services.Common.RESTRequest DEBUG GET https://profile.accounts.firefox.com/v1/profile 200
1744638128243 FirefoxAccounts DEBUG _updateAccountData with items: ["profileCache"]
1744638128244 FirefoxAccounts DEBUG writing plain storage: ["email","sessionToken","uid","verified","requestedServices","oauthTokens","device","profileCache"]
1744638128244 FirefoxAccounts TRACE starting write of json user data: ["email","sessionToken","uid","verified","requestedServices","oauthTokens","device","profileCache"]
1744638128244 FirefoxAccounts DEBUG notifying profile changed for user 95425aca94a8465fa883249e675a7130
1744638128244 FirefoxAccounts TRACE not checking freshness of profile as it remains recent
1744638128267 Sync.Engine.Tabs.Tracker DEBUG Detected a tab change, but conditions aren't met for a quick write or a score bump
1744638128286 FirefoxAccounts TRACE finished write of json user data - took: 42
1744638128286 FirefoxAccounts DEBUG writing secure storage: []
1744638128286 FirefoxAccounts TRACE starting write of user data to the login manager
1744638128288 FirefoxAccounts TRACE finished write of user data to the login manager
1744638129037 FirefoxAccounts DEBUG FxAccountsWebChannel message received: fxaccounts:oauth_login
1744638129037 FirefoxAccounts TRACE _receiveMessage for command fxaccounts:oauth_login
1744638129037 FirefoxAccounts DEBUG Webchannel is completing the oauth flow
1744638129054 Services.Common.RESTRequest DEBUG POST request to https://api.accounts.firefox.com/v1/oauth/token
1744638129055 Services.Common.RESTRequest DEBUG POST Length: 202
1744638129303 Services.Common.RESTRequest DEBUG POST https://api.accounts.firefox.com/v1/oauth/token 200
1744638129303 Hawk DEBUG (Response) /oauth/token: code: 200 - Status text:
1744638129303 Hawk DEBUG Clock offset vs https://api.accounts.firefox.com/v1: -303
1744638129310 Services.Common.RESTRequest DEBUG POST request to https://api.accounts.firefox.com/v1/oauth/destroy
1744638129310 Services.Common.RESTRequest DEBUG POST Length: 107
1744638129540 Services.Common.RESTRequest DEBUG POST https://api.accounts.firefox.com/v1/oauth/destroy 200
1744638129540 Hawk DEBUG (Response) /oauth/destroy: code: 200 - Status text:
1744638129540 Hawk DEBUG Clock offset vs https://api.accounts.firefox.com/v1: -540
1744638129541 FirefoxAccounts DEBUG _updateAccountData with items: ["scopedKeys"]
1744638129541 FirefoxAccounts DEBUG writing plain storage: ["email","sessionToken","uid","verified","requestedServices","oauthTokens","device","profileCache"]
1744638129541 FirefoxAccounts TRACE starting write of json user data: ["email","sessionToken","uid","verified","requestedServices","oauthTokens","device","profileCache"]
1744638129541 FirefoxAccounts DEBUG services requested are sync
1744638129541 FirefoxAccounts DEBUG Did not receive any engine selection information
1744638129541 FirefoxAccounts DEBUG Webchannel is enabling sync
1744638129541 FirefoxAccounts TRACE not checking freshness of profile as it remains recent
1744638129541 Sync.Service INFO Configuring sync with current FxA user
1744638129541 Sync.SyncAuthManager DEBUG observed weave:connected
1744638129542 Sync.SyncAuthManager INFO Sync has been connected to a logged in user
1744638129542 FirefoxAccounts DEBUG updateUserAccountData called with fields: ["uid","requestedServices"]
1744638129542 FirefoxAccounts DEBUG _updateAccountData with items: ["requestedServices"]
1744638129542 FirefoxAccounts TRACE not checking freshness of profile as it remains recent
1744638129542 FirefoxAccounts TRACE not checking freshness of profile as it remains recent
1744638129542 Sync.SyncAuthManager INFO The user became verified
1744638129542 Sync.Status DEBUG Status.login: error.login.reason.account => success.login
1744638129542 Sync.Status DEBUG Status.service: error.sync.failed => success.status_ok
1744638129542 Sync.SyncAuthManager INFO Doing initial sync actions
1744638129543 Sync.Service DEBUG User-Agent: Firefox/136.0.4 (Linux x86_64) FxSync/1.138.0.20250326231000.desktop
1744638129543 Sync.Service INFO Starting sync at 2025-04-14 15:42:09 in browser session KYRbYndpZBBi
1744638129543 Sync.SyncScheduler DEBUG Clearing sync triggers and the global score.
1744638129545 Sync.Status INFO Resetting Status.
1744638129545 Sync.Status DEBUG Status.service: success.status_ok => success.status_ok
1744638129546 FirefoxAccounts DEBUG Notifying observers of fxaccounts:onverified
1744638129572 Sync.SyncAuthManager DEBUG observed fxaccounts:onverified
1744638129572 Sync.SyncAuthManager INFO The user became verified
1744638129572 Sync.Status DEBUG Status.login: success.login => success.login
1744638129572 Sync.Status DEBUG Status.service: success.status_ok => success.status_ok
1744638129572 Sync.Service DEBUG User-Agent: Firefox/136.0.4 (Linux x86_64) FxSync/1.138.0.20250326231000.desktop
1744638129573 Sync.Service INFO Starting sync at 2025-04-14 15:42:09 in browser session KYRbYndpZBBi
1744638129573 FirefoxAccounts DEBUG Webchannel completed oauth flows
1744638129573 FirefoxAccounts TRACE Getting command keys: https://identity.mozilla.com/cmd/open-uri
1744638129574 FirefoxAccounts INFO fetching updated device list
1744638129575 Sync.Service DEBUG Exception calling anonymous function: LockException: Could not acquire lock. Label: "service.js: sync".(resource://services-sync/util.sys.mjs:43:5) JS Stack trace: LockException@util.sys.mjs:43:5
throwLockException@util.sys.mjs:127:11
WrappedLock@util.sys.mjs:141:15
_lockedSync@service.sys.mjs:1368:6
sync/<@service.sys.mjs:1337:18
WrappedCatch@util.sys.mjs:112:27
sync@service.sys.mjs:1338:7
1744638129575 Sync.Service INFO Cannot start sync: already syncing?
1744638129575 FirefoxAccounts TRACE not checking freshness of profile as it remains recent
1744638129575 FirefoxAccounts TRACE not checking freshness of profile as it remains recent
1744638129575 FirefoxAccounts INFO Generating and persisting encrypted key (false, false)
1744638129575 Sync.SyncAuthManager INFO Getting sync key
1744638129576 FirefoxAccounts INFO Already fetching device list, return existing promise
1744638129576 FirefoxAccounts INFO Could not find command keys, generating them
1744638129576 FirefoxAccounts DEBUG getOAuthToken enter
1744638129598 FirefoxAccounts TRACE finished write of json user data - took: 57
1744638129598 FirefoxAccounts DEBUG writing secure storage: ["scopedKeys"]
1744638129598 FirefoxAccounts TRACE starting write of user data to the login manager
1744638129601 FirefoxAccounts TRACE finished write of user data to the login manager
1744638129601 FirefoxAccounts DEBUG writing plain storage: ["email","sessionToken","uid","verified","oauthTokens","device","profileCache"]
1744638129601 FirefoxAccounts TRACE starting write of json user data: ["email","sessionToken","uid","verified","oauthTokens","device","profileCache"]
1744638129604 Services.Common.RESTRequest DEBUG GET request to https://api.accounts.firefox.com/v1/account/devices?filterIdleDevicesTimestamp=1742823729575
1744638129608 FirefoxAccounts TRACE writing to sendTabKeys for command https://identity.mozilla.com/cmd/open-uri
1744638129608 FirefoxAccounts DEBUG _updateAccountData with items: ["device"]
1744638129609 Sync.BulkKeyBundle INFO BulkKeyBundle being created for undefined
1744638129611 Services.Common.RESTRequest DEBUG POST request to https://api.accounts.firefox.com/v1/oauth/token
1744638129611 Services.Common.RESTRequest DEBUG POST Length: 127
1744638129612 FirefoxAccounts TRACE finished write of json user data - took: 11
1744638129612 FirefoxAccounts DEBUG writing secure storage: ["scopedKeys"]
1744638129612 FirefoxAccounts TRACE starting write of user data to the login manager
1744638129614 FirefoxAccounts TRACE finished write of user data to the login manager
1744638129614 FirefoxAccounts DEBUG writing plain storage: ["email","sessionToken","uid","verified","oauthTokens","device","profileCache"]
1744638129614 FirefoxAccounts TRACE starting write of json user data: ["email","sessionToken","uid","verified","oauthTokens","device","profileCache"]
1744638129615 FirefoxAccounts DEBUG _updateAccountData with items: ["encryptedSendTabKeys"]
1744638129615 FirefoxAccounts TRACE Getting command keys: https://identity.mozilla.com/cmd/close-uri/v1
1744638129615 FirefoxAccounts INFO Generating and persisting encrypted key (false, false)
1744638129615 FirefoxAccounts INFO Could not find command keys, generating them
1744638129616 FirefoxAccounts TRACE finished write of json user data - took: 2
1744638129616 FirefoxAccounts DEBUG writing secure storage: ["scopedKeys"]
1744638129616 FirefoxAccounts TRACE starting write of user data to the login manager
1744638129618 FirefoxAccounts TRACE finished write of user data to the login manager
1744638129618 FirefoxAccounts DEBUG writing plain storage: ["email","sessionToken","uid","verified","oauthTokens","device","profileCache","encryptedSendTabKeys"]
1744638129618 FirefoxAccounts TRACE starting write of json user data: ["email","sessionToken","uid","verified","oauthTokens","device","profileCache","encryptedSendTabKeys"]
1744638129619 FirefoxAccounts TRACE writing to closeTabKeys for command https://identity.mozilla.com/cmd/close-uri/v1
1744638129619 FirefoxAccounts DEBUG _updateAccountData with items: ["device"]
1744638129619 Sync.BulkKeyBundle INFO BulkKeyBundle being created for undefined
1744638129620 FirefoxAccounts TRACE finished write of json user data - took: 2
1744638129620 FirefoxAccounts DEBUG writing secure storage: ["scopedKeys"]
1744638129620 FirefoxAccounts TRACE starting write of user data to the login manager
1744638129623 FirefoxAccounts TRACE finished write of user data to the login manager
1744638129623 FirefoxAccounts DEBUG writing plain storage: ["email","sessionToken","uid","verified","oauthTokens","device","profileCache","encryptedSendTabKeys"]
1744638129623 FirefoxAccounts TRACE starting write of json user data: ["email","sessionToken","uid","verified","oauthTokens","device","profileCache","encryptedSendTabKeys"]
1744638129624 FirefoxAccounts DEBUG _updateAccountData with items: ["encryptedCloseTabKeys"]
1744638129624 FirefoxAccounts TRACE FxAccountsPush registerPushEndpoint
1744638129624 FirefoxAccounts TRACE finished write of json user data - took: 1
1744638129624 FirefoxAccounts DEBUG writing secure storage: ["scopedKeys"]
1744638129624 FirefoxAccounts TRACE starting write of user data to the login manager
1744638129627 FirefoxAccounts TRACE finished write of user data to the login manager
1744638129627 FirefoxAccounts DEBUG writing plain storage: ["email","sessionToken","uid","verified","oauthTokens","device","profileCache","encryptedSendTabKeys","encryptedCloseTabKeys"]
1744638129627 FirefoxAccounts TRACE starting write of json user data: ["email","sessionToken","uid","verified","oauthTokens","device","profileCache","encryptedSendTabKeys","encryptedCloseTabKeys"]
1744638129627 FirefoxAccounts TRACE finished write of json user data - took: 0
1744638129627 FirefoxAccounts DEBUG writing secure storage: ["scopedKeys"]
1744638129627 FirefoxAccounts TRACE starting write of user data to the login manager
1744638129629 FirefoxAccounts TRACE finished write of user data to the login manager
1744638129629 FirefoxAccounts DEBUG FxAccountsPush got subscription
1744638129629 FirefoxAccounts TRACE Getting command keys: https://identity.mozilla.com/cmd/open-uri
1744638129630 FirefoxAccounts TRACE Getting command keys: https://identity.mozilla.com/cmd/close-uri/v1
1744638129630 FirefoxAccounts INFO registering with available commands: ["https://identity.mozilla.com/cmd/close-uri/v1","https://identity.mozilla.com/cmd/open-uri"]
1744638129630 FirefoxAccounts DEBUG updating existing device details
1744638129631 Services.Common.RESTRequest DEBUG POST request to https://api.accounts.firefox.com/v1/account/device
1744638129631 Services.Common.RESTRequest DEBUG POST Length: 1301
1744638129778 Services.Common.RESTRequest DEBUG GET https://api.accounts.firefox.com/v1/account/devices?filterIdleDevicesTimestamp=1742823729575 200
1744638129778 Hawk DEBUG (Response) /account/devices?filterIdleDevicesTimestamp=1742823729575: code: 200 - Status text:
1744638129778 Hawk DEBUG Clock offset vs https://api.accounts.firefox.com/v1: -778
1744638129779 FirefoxAccounts INFO Got new device list: bc791d3b64ca31b835d38bdb02bd53ed
1744638129780 FirefoxAccounts TRACE Getting command keys: https://identity.mozilla.com/cmd/open-uri
1744638129781 FirefoxAccounts TRACE Getting command keys: https://identity.mozilla.com/cmd/close-uri/v1
1744638129781 FirefoxAccounts WARN Our commands need to be updated on the server
1744638129781 FirefoxAccounts TRACE FxAccountsPush registerPushEndpoint
1744638129782 FirefoxAccounts DEBUG FxAccountsPush got subscription
1744638129782 FirefoxAccounts TRACE Getting command keys: https://identity.mozilla.com/cmd/open-uri
1744638129782 FirefoxAccounts TRACE Getting command keys: https://identity.mozilla.com/cmd/close-uri/v1
1744638129782 FirefoxAccounts INFO registering with available commands: ["https://identity.mozilla.com/cmd/close-uri/v1","https://identity.mozilla.com/cmd/open-uri"]
1744638129782 FirefoxAccounts DEBUG updating existing device details
1744638129784 Services.Common.RESTRequest DEBUG POST request to https://api.accounts.firefox.com/v1/account/device
1744638129784 Services.Common.RESTRequest DEBUG POST Length: 1301
1744638129811 Services.Common.RESTRequest DEBUG POST https://api.accounts.firefox.com/v1/account/device 200
1744638129811 Hawk DEBUG (Response) /account/device: code: 200 - Status text:
1744638129811 Hawk DEBUG Clock offset vs https://api.accounts.firefox.com/v1: -811
1744638129811 FirefoxAccounts DEBUG _updateAccountData with items: ["device"]
1744638129811 FirefoxAccounts DEBUG writing plain storage: ["email","sessionToken","uid","verified","oauthTokens","device","profileCache","encryptedSendTabKeys","encryptedCloseTabKeys"]
1744638129811 FirefoxAccounts TRACE starting write of json user data: ["email","sessionToken","uid","verified","oauthTokens","device","profileCache","encryptedSendTabKeys","encryptedCloseTabKeys"]
1744638129812 Services.Common.RESTRequest DEBUG POST https://api.accounts.firefox.com/v1/oauth/token 200
1744638129812 Hawk DEBUG (Response) /oauth/token: code: 200 - Status text:
1744638129812 Hawk DEBUG Clock offset vs https://api.accounts.firefox.com/v1: -812
1744638129812 FirefoxAccounts DEBUG _updateAccountData with items: ["oauthTokens"]
1744638129812 Sync.SyncAuthManager INFO Getting a sync token from: https://mydomain.tld/1.0/sync/1.5
1744638129812 Sync.SyncAuthManager DEBUG Getting a token using OAuth
1744638129812 Services.Common.TokenServerClient DEBUG Beginning OAuth token exchange: https://mydomain.tld/1.0/sync/1.5
1744638129813 Services.Common.RESTRequest DEBUG GET request to https://mydomain.tld/1.0/sync/1.5
1744638129817 FirefoxAccounts TRACE finished write of json user data - took: 6
1744638129817 FirefoxAccounts DEBUG writing secure storage: ["scopedKeys"]
1744638129817 FirefoxAccounts TRACE starting write of user data to the login manager
1744638129819 FirefoxAccounts TRACE finished write of user data to the login manager
1744638129819 FirefoxAccounts DEBUG writing plain storage: ["email","sessionToken","uid","verified","oauthTokens","device","profileCache","encryptedSendTabKeys","encryptedCloseTabKeys"]
1744638129819 FirefoxAccounts TRACE starting write of json user data: ["email","sessionToken","uid","verified","oauthTokens","device","profileCache","encryptedSendTabKeys","encryptedCloseTabKeys"]
1744638129820 FirefoxAccounts TRACE finished write of json user data - took: 1
1744638129820 FirefoxAccounts DEBUG writing secure storage: ["scopedKeys"]
1744638129820 FirefoxAccounts TRACE starting write of user data to the login manager
1744638129822 FirefoxAccounts TRACE finished write of user data to the login manager
1744638130054 Services.Common.RESTRequest DEBUG POST https://api.accounts.firefox.com/v1/account/device 200
1744638130054 Hawk DEBUG (Response) /account/device: code: 200 - Status text:
1744638130054 Hawk DEBUG Clock offset vs https://api.accounts.firefox.com/v1: -1054
1744638130054 FirefoxAccounts DEBUG _updateAccountData with items: ["device"]
1744638130054 FirefoxAccounts DEBUG writing plain storage: ["email","sessionToken","uid","verified","oauthTokens","device","profileCache","encryptedSendTabKeys","encryptedCloseTabKeys"]
1744638130055 FirefoxAccounts TRACE starting write of json user data: ["email","sessionToken","uid","verified","oauthTokens","device","profileCache","encryptedSendTabKeys","encryptedCloseTabKeys"]
1744638130055 FirefoxAccounts INFO updating the cache
1744638130056 Services.Common.RESTRequest DEBUG GET https://mydomain.tld/1.0/sync/1.5 401
1744638130056 Services.Common.TokenServerClient DEBUG Got token response: 401
1744638130056 Services.Common.TokenServerClient INFO Server-reported error: {"location":"body","name":"","description":"Unauthorized"}
1744638130057 Services.Common.RESTRequest DEBUG POST request to https://api.accounts.firefox.com/v1/oauth/destroy
1744638130057 Services.Common.RESTRequest DEBUG POST Length: 969
1744638130058 FirefoxAccounts DEBUG _updateAccountData with items: ["oauthTokens"]
1744638130058 Sync.SyncAuthManager WARN Token server returned 401, retrying token fetch with fresh credentials
1744638130058 FirefoxAccounts DEBUG getOAuthToken enter
1744638130063 FirefoxAccounts TRACE finished write of json user data - took: 8
1744638130063 FirefoxAccounts DEBUG writing secure storage: ["scopedKeys"]
1744638130063 FirefoxAccounts TRACE starting write of user data to the login manager
1744638130067 FirefoxAccounts TRACE finished write of user data to the login manager
1744638130068 FirefoxAccounts DEBUG writing plain storage: ["email","sessionToken","uid","verified","oauthTokens","device","profileCache","encryptedSendTabKeys","encryptedCloseTabKeys"]
1744638130068 FirefoxAccounts TRACE starting write of json user data: ["email","sessionToken","uid","verified","oauthTokens","device","profileCache","encryptedSendTabKeys","encryptedCloseTabKeys"]
1744638130069 Services.Common.RESTRequest DEBUG POST request to https://api.accounts.firefox.com/v1/oauth/token
1744638130069 Services.Common.RESTRequest DEBUG POST Length: 127
1744638130070 FirefoxAccounts TRACE finished write of json user data - took: 2
1744638130070 FirefoxAccounts DEBUG writing secure storage: ["scopedKeys"]
1744638130070 FirefoxAccounts TRACE starting write of user data to the login manager
1744638130074 FirefoxAccounts TRACE finished write of user data to the login manager
1744638130230 Services.Common.RESTRequest DEBUG POST https://api.accounts.firefox.com/v1/oauth/destroy 200
1744638130230 Hawk DEBUG (Response) /oauth/destroy: code: 200 - Status text:
1744638130230 Hawk DEBUG Clock offset vs https://api.accounts.firefox.com/v1: -230
1744638130271 Services.Common.RESTRequest DEBUG POST https://api.accounts.firefox.com/v1/oauth/token 200
1744638130271 Hawk DEBUG (Response) /oauth/token: code: 200 - Status text:
1744638130271 Hawk DEBUG Clock offset vs https://api.accounts.firefox.com/v1: -271
1744638130272 FirefoxAccounts DEBUG _updateAccountData with items: ["oauthTokens"]
1744638130272 FirefoxAccounts DEBUG writing plain storage: ["email","sessionToken","uid","verified","oauthTokens","device","profileCache","encryptedSendTabKeys","encryptedCloseTabKeys"]
1744638130272 FirefoxAccounts TRACE starting write of json user data: ["email","sessionToken","uid","verified","oauthTokens","device","profileCache","encryptedSendTabKeys","encryptedCloseTabKeys"]
1744638130272 Sync.SyncAuthManager INFO Getting a sync token from: https://mydomain.tld/1.0/sync/1.5
1744638130272 Sync.SyncAuthManager DEBUG Getting a token using OAuth
1744638130272 Services.Common.TokenServerClient DEBUG Beginning OAuth token exchange: https://mydomain.tld/1.0/sync/1.5
1744638130272 Services.Common.RESTRequest DEBUG GET request to https://mydomain.tld/1.0/sync/1.5
1744638130283 FirefoxAccounts TRACE finished write of json user data - took: 11
1744638130283 FirefoxAccounts DEBUG writing secure storage: ["scopedKeys"]
1744638130283 FirefoxAccounts TRACE starting write of user data to the login manager
1744638130287 FirefoxAccounts TRACE finished write of user data to the login manager
1744638130454 Services.Common.RESTRequest DEBUG GET https://mydomain.tld/1.0/sync/1.5 401
1744638130454 Services.Common.TokenServerClient DEBUG Got token response: 401
1744638130455 Services.Common.TokenServerClient INFO Server-reported error: {"location":"body","name":"","description":"Unauthorized"}
1744638130455 Services.Common.RESTRequest DEBUG POST request to https://api.accounts.firefox.com/v1/oauth/destroy
1744638130455 Services.Common.RESTRequest DEBUG POST Length: 969
1744638130456 FirefoxAccounts DEBUG _updateAccountData with items: ["oauthTokens"]
1744638130457 FirefoxAccounts DEBUG writing plain storage: ["email","sessionToken","uid","verified","oauthTokens","device","profileCache","encryptedSendTabKeys","encryptedCloseTabKeys"]
1744638130457 FirefoxAccounts TRACE starting write of json user data: ["email","sessionToken","uid","verified","oauthTokens","device","profileCache","encryptedSendTabKeys","encryptedCloseTabKeys"]
1744638130457 Sync.SyncAuthManager ERROR Authentication error in _fetchTokenForUser: {"details":{"now":"2025-04-14T13:42:10.455Z","message":"Authentication failed.","cause":"invalid-credentials","response_body":"{\"status\":\"invalid-credentials\",\"errors\":[{\"location\":\"body\",\"name\":\"\",\"description\":\"Unauthorized\"}]}","response_headers":{"server":"nginx/1.27.4","date":"Mon, 14 Apr 2025 13:41:29 GMT","content-type":"application/json","content-length":"102","vary":"Origin, Access-Control-Request-Method, Access-Control-Request-Headers","x-weave-timestamp":"1744638089.70","x-firefox-spdy":"h2"},"response_status":401,"name":"TokenServerClientServerError"},"source":"tokenserver"}
1744638130457 Sync.Status DEBUG Status.login: success.login => error.login.reason.account
1744638130457 Sync.Status DEBUG Status.service: success.status_ok => error.login.failed
1744638130458 Sync.SyncAuthManager INFO Failed to fetch the cluster URL: {"details":{"now":"2025-04-14T13:42:10.455Z","message":"Authentication failed.","cause":"invalid-credentials","response_body":"{\"status\":\"invalid-credentials\",\"errors\":[{\"location\":\"body\",\"name\":\"\",\"description\":\"Unauthorized\"}]}","response_headers":{"server":"nginx/1.27.4","date":"Mon, 14 Apr 2025 13:41:29 GMT","content-type":"application/json","content-length":"102","vary":"Origin, Access-Control-Request-Method, Access-Control-Request-Headers","x-weave-timestamp":"1744638089.70","x-firefox-spdy":"h2"},"response_status":401,"name":"TokenServerClientServerError"},"source":"tokenserver"}
1744638130458 Sync.SyncAuthManager DEBUG Cluster value = null
1744638130458 Sync.Status DEBUG Status.sync: success.sync => error.sync.reason.no_node_found
1744638130458 Sync.Status DEBUG Status.service: error.login.failed => error.sync.failed
1744638130458 Sync.Synchronizer INFO No cluster URL found. Cannot sync.
1744638130460 Sync.SyncScheduler DEBUG Next sync in 600000 ms. (why=schedule)
1744638130462 FirefoxAccounts TRACE not checking freshness of profile as it remains recent
Metadata
Metadata
Assignees
Labels
No labels