Closed Bug 1093700 Opened 10 years ago Closed 9 years ago

Can't sign into Firefox Accounts - Failed to fetch a token for authentication (invalid-client-state)

Categories

(Cloud Services :: Operations: Miscellaneous, task)

task
Not set
blocker

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: michalpurzynski1, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

From 25.10 up to now and counting, I'm getting many errors per day in the about:sync-log. FxA sync isn't working here, confirmed by the yellow status bar telling me about it. The most recent errror log inline here (I have many more, but the all look the same) 1415120277113 Sync.ErrorHandler DEBUG Flushing file log. 1415120277113 Sync.Status DEBUG Status.sync: error.sync.prolonged_failure => error.sync.prolonged_failure 1415120277113 Sync.Status DEBUG Status.service: error.login.failed => error.sync.failed 1415120277114 Sync.BrowserIDManager ERROR Failed to fetch a token for authentication: AuthenticationError(TokenServerClientServerError({"now":"2014-11-04T16:57:57.111Z","message":"Authentication failed.","cause":"invalid-client-state","response_body":"{\"status\": \"invalid-client-state\", \"errors\": [{\"location\": \"body\", \"name\": \"\", \"description\": \"Unauthorized\"}]}","response_headers":{"content-type":"application/json; charset=UTF-8","date":"Tue, 04 Nov 2014 16:57:56 GMT","x-timestamp":"1415120276","content-length":"111","connection":"keep-alive"},"response_status":401})) 1415120277116 Sync.BrowserIDManager INFO currentAuthState returning error.login.reason.account due to previous failure 1415120277116 Sync.Status DEBUG Status.login: error.login.reason.account => error.login.reason.account 1415120277116 Sync.Status DEBUG Status.service: error.sync.failed => error.login.failed 1415120277116 Sync.BrowserIDManager INFO currentAuthState returning error.login.reason.account due to previous failure 1415120277116 Sync.Status DEBUG Status.login: error.login.reason.account => error.login.reason.account 1415120277116 Sync.Status DEBUG Status.service: error.login.failed => error.login.failed 1415120277117 Sync.BrowserIDManager INFO currentAuthState returning error.login.reason.account due to previous failure 1415120277117 Sync.Status DEBUG Status.login: error.login.reason.account => error.login.reason.account 1415120277117 Sync.Status DEBUG Status.service: error.login.failed => error.login.failed 1415120277117 Sync.BrowserIDManager INFO currentAuthState returning error.login.reason.account due to previous failure 1415120277117 Sync.Status DEBUG Status.login: error.login.reason.account => error.login.reason.account 1415120277117 Sync.Status DEBUG Status.service: error.login.failed => error.login.failed 1415120277117 Sync.BrowserIDManager INFO currentAuthState returning error.login.reason.account due to previous failure 1415120277117 Sync.Status DEBUG Status.login: error.login.reason.account => error.login.reason.account 1415120277117 Sync.Status DEBUG Status.service: error.login.failed => error.login.failed 1415120277118 Sync.BrowserIDManager INFO currentAuthState returning error.login.reason.account due to previous failure 1415120277118 Sync.Status DEBUG Status.login: error.login.reason.account => error.login.reason.account 1415120277118 Sync.Status DEBUG Status.service: error.login.failed => error.login.failed 1415120277120 Sync.ErrorHandler DEBUG Log cleanup threshold time: 1414256277120 1415120277143 Sync.ErrorHandler DEBUG No logs to clean up. 1415120278020 Sync.Resource DEBUG mesg: GET fail 401 https://sync-150-us-west-2.sync.services.mozilla.com/1.5/11416322/info/collections 1415120278020 Sync.Resource DEBUG GET fail 401 https://sync-150-us-west-2.sync.services.mozilla.com/1.5/11416322/info/collections 1415120278020 Sync.Service WARN 401: login failed. 1415120278020 Sync.Service DEBUG Cluster value = null 1415120278020 Sync.Status DEBUG Status.login: error.login.reason.account => error.login.reason.account 1415120278021 Sync.Status DEBUG Status.service: error.login.failed => error.login.failed 1415120278022 Sync.SyncScheduler DEBUG Clearing sync triggers and the global score.
Whiteboard: [qa+]
The "invalid-client-state" error code indicates that your device has somehow got incorrect encryption keys for sync. The server checks a hash of the encryption key as part of the auth process, to prevent clobbering your data un-decryptable blobs. In theory, the client should never get itself into this state, but something has clearly gone wrong here. Did you perform any password-related actions prior to this, e.g. changing or resetting your firefox account password? IIRC from the previous bug, you have additional logs from this client. Please post them here - unless you've changed the logging settings on firefox, there should be no sensitive information in them. Can you please also post a screenshot of the error bar that's being shown for this error? Things which may help dig the client out of this state, in increasing order of severity: (a) Disconnect sync on that device, and re-connect. (b) Reset your Firefox Account password and re-connect on all your devices. I'll be very surprised if (b) doesn't work.
See Also: → 1093930
Attached is the sync log directory content. I wasn't not trying to fix anything here in case you need some more info. I wonder how the token could be corrupted. Will login again on all deviecs now and see.
Attached the error message screen shoot. Looks generic to me.
1415147458183 Sync.ErrorHandler DEBUG Flushing file log. 1415147458184 Sync.Status DEBUG Status.sync: success.sync => error.sync.prolonged_failure 1415147458184 Sync.Status DEBUG Status.service: error.sync.failed_partial => error.sync.failed 1415147458185 Sync.Status DEBUG Status.service: error.sync.failed => success.status_ok 1415147458185 Sync.Status DEBUG Status.service: success.status_ok => success.status_ok 1415147458186 Sync.Status DEBUG Status.service: success.status_ok => success.status_ok 1415147458186 Sync.Status DEBUG Status.service: success.status_ok => success.status_ok 1415147458187 Sync.ErrorHandler DEBUG Log cleanup threshold time: 1414283458186 1415147458203 Sync.ErrorHandler DEBUG No logs to clean up. 1415147458753 Sync.Tracker.Addons DEBUG Saving changed IDs to addons 1415147562616 Sync.Status DEBUG Status.service: success.status_ok => success.status_ok 1415147565682 Sync.Status DEBUG Status.service: success.status_ok => success.status_ok 1415147565683 Sync.ErrorHandler DEBUG Beginning user-triggered sync. 1415147565683 Sync.Service DEBUG User-Agent: Firefox/34.0 FxSync/1.36.0.20141103144234. 1415147565683 Sync.Service INFO Starting sync at 2014-11-05 01:32:45 1415147565685 Sync.SyncScheduler DEBUG Clearing sync triggers and the global score. 1415147565685 Sync.Status INFO Resetting Status. 1415147565685 Sync.Status DEBUG Status.service: success.status_ok => success.status_ok 1415147565686 Sync.BrowserIDManager DEBUG _ensureValidToken already has one 1415147566294 Sync.Resource DEBUG mesg: GET success 200 https://sync-150-us-west-2.sync.services.mozilla.com/1.5/12032932/info/collections 1415147566294 Sync.Resource DEBUG GET success 200 https://sync-150-us-west-2.sync.services.mozilla.com/1.5/12032932/info/collections 1415147566295 Sync.Service DEBUG Fetching global metadata record 1415147566295 Sync.Service DEBUG Clearing cached meta record. metaModified is undefined, setting to 1415147458.06 1415147566296 Sync.BrowserIDManager DEBUG _ensureValidToken already has one 1415147566803 Sync.Resource DEBUG mesg: GET success 200 https://sync-150-us-west-2.sync.services.mozilla.com/1.5/12032932/storage/meta/global 1415147566803 Sync.Resource DEBUG GET success 200 https://sync-150-us-west-2.sync.services.mozilla.com/1.5/12032932/storage/meta/global 1415147566803 Sync.Service DEBUG Weave Version: 1.36.0 Local Storage: 5 Remote Storage: 5 1415147566804 Sync.Service INFO Sync key is up-to-date: no need to upgrade. 1415147566804 Sync.Service DEBUG Fetching and verifying -- or generating -- symmetric keys. 1415147566804 Sync.Service INFO Testing info/collections: {"passwords":1415147456.54,"addons":1415147457.85,"tabs":1415147457.39,"clients":1415147423.93,"crypto":1415147422.91,"forms":1415147455.85,"meta":1415147458.06,"bookmarks":1415147430.98,"prefs":1415147456.97} 1415147566804 Sync.CollectionKeyManager INFO Testing for updateNeeded. Last modified: 1415147422.91 1415147566804 Sync.Synchronizer DEBUG Refreshing client list. 1415147566805 Sync.Engine.Clients INFO 0 outgoing items pre-reconciliation 1415147566805 Sync.Engine.Clients INFO Records: 0 applied, 0 successfully, 0 failed to apply, 0 newly failed to apply, 0 reconciled. 1415147566806 Sync.Synchronizer INFO Updating enabled engines: 1 clients. 1415147566809 Sync.Engine.Bookmarks INFO 0 outgoing items pre-reconciliation 1415147566810 Sync.Engine.Bookmarks INFO Records: 0 applied, 0 successfully, 0 failed to apply, 0 newly failed to apply, 0 reconciled. 1415147566813 Sync.Engine.Forms INFO 0 outgoing items pre-reconciliation 1415147566813 Sync.Engine.Forms INFO Records: 0 applied, 0 successfully, 0 failed to apply, 0 newly failed to apply, 0 reconciled. 1415147566814 Sync.Engine.History DEBUG First sync, uploading all items 1415147566828 Sync.Status DEBUG Status for engine history: error.engine.reason.unknown_fail 1415147566828 Sync.Status DEBUG Status.service: success.status_ok => error.sync.failed_partial 1415147566828 Sync.ErrorHandler DEBUG history failed: database disk image is malformed No traceback available 1415147566829 Sync.Engine.Passwords INFO 0 outgoing items pre-reconciliation 1415147566829 Sync.Engine.Passwords INFO Records: 0 applied, 0 successfully, 0 failed to apply, 0 newly failed to apply, 0 reconciled. 1415147566830 Sync.Engine.Prefs INFO 0 outgoing items pre-reconciliation 1415147566830 Sync.Engine.Prefs INFO Records: 0 applied, 0 successfully, 0 failed to apply, 0 newly failed to apply, 0 reconciled. 1415147566831 Sync.Engine.Tabs INFO 1 outgoing items pre-reconciliation 1415147566832 Sync.Engine.Tabs INFO Records: 0 applied, 0 successfully, 0 failed to apply, 0 newly failed to apply, 0 reconciled. 1415147566838 Sync.Engine.Tabs INFO Uploading all of 1 records 1415147566838 Sync.BrowserIDManager DEBUG _ensureValidToken already has one 1415147566839 Sync.Collection DEBUG POST Length: 3768 1415147567040 Sync.Collection DEBUG mesg: POST success 200 https://sync-150-us-west-2.sync.services.mozilla.com/1.5/12032932/storage/tabs 1415147567040 Sync.Collection DEBUG POST success 200 https://sync-150-us-west-2.sync.services.mozilla.com/1.5/12032932/storage/tabs 1415147567042 Sync.Engine.Addons DEBUG Refreshing reconciler state 1415147567042 Sync.AddonsReconciler INFO Refreshing global state from AddonManager. 1415147567047 Sync.AddonsReconciler DEBUG Rectifying state for addon: 4or6@hunen.net 1415147567047 Sync.AddonsReconciler DEBUG Rectifying state for addon: {8f8fe09b-0bd3-4470-bc1b-8cad42b8203a} 1415147567047 Sync.AddonsReconciler DEBUG Rectifying state for addon: testpilot@labs.mozilla.com 1415147567047 Sync.AddonsReconciler DEBUG Rectifying state for addon: firefox.personalization.study@up.mozilla 1415147567047 Sync.AddonsReconciler DEBUG Rectifying state for addon: fxos_1_2_simulator@mozilla.org 1415147567048 Sync.AddonsReconciler DEBUG Rectifying state for addon: {e968fc70-8f95-4ab9-9e79-304de2a71ee1} 1415147567048 Sync.AddonsReconciler DEBUG Rectifying state for addon: {7CA9CF31-1C73-46CD-8377-85AB71EA771F} 1415147567048 Sync.AddonsReconciler DEBUG Rectifying state for addon: support@lastpass.com 1415147567048 Sync.AddonsReconciler DEBUG Rectifying state for addon: jsonview@brh.numbera.com 1415147567048 Sync.AddonsReconciler DEBUG Rectifying state for addon: firebug@software.joehewitt.com 1415147567048 Sync.AddonsReconciler DEBUG Rectifying state for addon: foxyproxy@eric.h.jung 1415147567048 Sync.AddonsReconciler DEBUG Rectifying state for addon: adbhelper@mozilla.org 1415147567048 Sync.AddonsReconciler DEBUG Rectifying state for addon: jid1-ZM3BerwS6FsQAg@jetpack 1415147567048 Sync.AddonsReconciler DEBUG Rectifying state for addon: authify@dactyl.googlecode.com 1415147567048 Sync.AddonsReconciler DEBUG Rectifying state for addon: jid0-edalmuivkozlouyij0lpdx548bc@jetpack 1415147567048 Sync.AddonsReconciler DEBUG Rectifying state for addon: {972ce4c6-7e08-4474-a285-3208198ce6fd} 1415147567048 Sync.AddonsReconciler DEBUG Rectifying state for addon: gmp-gmpopenh264 1415147567048 Sync.AddonsReconciler DEBUG Rectifying state for addon: {07331244-d8fe-048f-bc78-d7a5feba72ea} 1415147567048 Sync.AddonsReconciler DEBUG Rectifying state for addon: {11b88c01-2bb2-4b2e-25cc-aefed565b0ee} 1415147567048 Sync.AddonsReconciler DEBUG Rectifying state for addon: {f0b3efbb-6ef1-0fed-35c7-f16b08b56f6b} 1415147567048 Sync.AddonsReconciler DEBUG Rectifying state for addon: {c6659142-3905-7438-155c-c20fdb8d846d} 1415147567051 Sync.AddonsReconciler DEBUG Rectifying state for addon: {b0abad6a-59ad-ab23-b4cf-b9093349a0ed} 1415147567051 Sync.AddonsReconciler DEBUG Rectifying state for addon: {74371a3c-c075-3492-3651-7bf29070386e} 1415147567051 Sync.AddonsReconciler DEBUG Rectifying state for addon: www.goal.com@services.mozilla.org 1415147567054 Sync.AddonsReconciler DEBUG Rectifying state for addon: getpocket.com@services.mozilla.org 1415147567055 Sync.AddonsReconciler DEBUG Rectifying state for addon: delicious.com@services.mozilla.org 1415147567056 Sync.AddonsReconciler DEBUG Rectifying state for addon: experiment-branch-test-nightly@experiments.mozilla.org 1415147567060 Sync.AddonsReconciler INFO Saving reconciler state to file: addonsreconciler 1415147567064 Sync.Engine.Addons INFO 0 outgoing items pre-reconciliation 1415147567065 Sync.Engine.Addons INFO Records: 0 applied, 0 successfully, 0 failed to apply, 0 newly failed to apply, 0 reconciled. 1415147567065 Sync.Synchronizer INFO Sync completed at 2014-11-05 01:32:47 after 1.38 secs. 1415147567066 Sync.Declined DEBUG Handling remote declined: [] 1415147567066 Sync.Declined DEBUG Handling local declined: [] 1415147567066 Sync.Declined DEBUG Declined changed? false 1415147567066 Sync.Service INFO No change to declined engines. Not reuploading meta/global. 1415147567067 Sync.SyncScheduler DEBUG Next sync in 3600000 ms. 1415147567067 Sync.ErrorHandler DEBUG Some engines did not sync correctly.
Did a password reset, still getting error albeit a different one.
> Attached the error message screen shoot. Looks generic to me. Thanks, yes, it's unfortunately generic. We could provide a more useful error bar here, although such work may be difficult to justify since this is a "never ever supposed to happen" error stage... I'll take a look through the logs for any clues as to how it got into this state. > 1415147566828 Sync.ErrorHandler DEBUG history failed: database disk image is malformed No traceback available Yikes. This sounds like an unrelated problem with your local history database. Clearing your history may resolve it.
FWIW, it looks like the password-reset did the trick with respect to the original error, since it now gets past the login phase and syncs some of your data correctly.
I've just created a new firefox profile, set up sync, it worked (I can see history and preferences migrated). After a while I got another error, but without a status bar indicating that something's not right. 1415148763221 Sync.Service INFO Loading Weave 1.36.0 1415148763222 Sync.Engine.Clients DEBUG Engine initialized 1415148763223 Sync.Engine.Clients DEBUG Resetting clients last sync time 1415148763226 Sync.Engine.Bookmarks DEBUG Engine initialized 1415148763230 Sync.Engine.Forms DEBUG Engine initialized 1415148763234 Sync.Engine.History DEBUG Engine initialized 1415148763236 Sync.Engine.Passwords DEBUG Engine initialized 1415148763238 Sync.Engine.Prefs DEBUG Engine initialized 1415148763241 Sync.Engine.Tabs DEBUG Engine initialized 1415148763242 Sync.Engine.Tabs DEBUG Resetting tabs last sync time 1415148763246 Sync.Engine.Addons DEBUG Engine initialized 1415148763248 Sync.Service INFO Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:34.0) Gecko/20100101 Firefox/34.0 1415148763252 Sync.SyncScheduler DEBUG Clearing sync triggers and the global score. 1415148763253 Sync.Status DEBUG Status.service: success.status_ok => success.status_ok 1415148763253 Sync.Service DEBUG Caching URLs under storage user base: https://sync-150-us-west-2.sync.services.mozilla.com/1.5/12032932/ 1415148763253 Sync.Status DEBUG Status.service: success.status_ok => success.status_ok 1415148763254 Sync.AddonsReconciler INFO Registering as Add-on Manager listener. 1415148763254 Sync.AddonsReconciler DEBUG Adding change listener. 1415148763254 Sync.Tracker.History INFO Adding Places observer. 1415148763258 Sync.Status DEBUG Status.service: success.status_ok => success.status_ok 1415148763260 Sync.Status DEBUG Status.service: success.status_ok => success.status_ok 1415148763260 Sync.Status DEBUG Status.service: success.status_ok => success.status_ok 1415148763266 FirefoxAccounts DEBUG got keyPair 1415148763266 FirefoxAccounts DEBUG getCertificateSigned: true true 1415148763271 Sync.RESTResponse DEBUG Caught exception fetching HTTP status code:[Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIHttpChannel.responseStatus]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: resource://services-common/rest.js :: RESTResponse.prototype.status :: line 620" data: no] Stack trace: RESTResponse.prototype.status()@resource://services-common/rest.js:620 < _onComplete()@resource://services-common/hawkclient.js:193 < onComplete()@resource://services-common/hawkclient.js:250 < onStopRequest()@resource://services-common/rest.js:444 < <file:unknown> 1415148763271 Sync.RESTResponse DEBUG Caught exception fetching HTTP status text:[Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIHttpChannel.responseStatusText]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: resource://services-common/rest.js :: RESTResponse.prototype.statusText :: line 636" data: no] Stack trace: RESTResponse.prototype.statusText()@resource://services-common/rest.js:636 < _onComplete()@resource://services-common/hawkclient.js:196 < onComplete()@resource://services-common/hawkclient.js:250 < onStopRequest()@resource://services-common/rest.js:444 < <file:unknown> 1415148763271 Sync.RESTResponse DEBUG Caught exception processing response headers:[Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIHttpChannel.visitResponseHeaders]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: resource://services-common/rest.js :: RESTResponse.prototype.headers :: line 670" data: no] Stack trace: RESTResponse.prototype.headers()@resource://services-common/rest.js:670 < this.HawkClient.prototype._maybeNotifyBackoff()@resource://services-common/hawkclient.js:284 < _onComplete()@resource://services-common/hawkclient.js:203 < onComplete()@resource://services-common/hawkclient.js:250 < onStopRequest()@resource://services-common/rest.js:444 < <file:unknown> 1415148763271 Sync.RESTResponse DEBUG Caught exception processing response headers:[Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIHttpChannel.visitResponseHeaders]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: resource://services-common/rest.js :: RESTResponse.prototype.headers :: line 670" data: no] Stack trace: RESTResponse.prototype.headers()@resource://services-common/rest.js:670 < this.HawkClient.prototype._maybeNotifyBackoff()@resource://services-common/hawkclient.js:284 < _onComplete()@resource://services-common/hawkclient.js:204 < onComplete()@resource://services-common/hawkclient.js:250 < onStopRequest()@resource://services-common/rest.js:444 < <file:unknown> 1415148763271 Sync.RESTResponse DEBUG Caught exception fetching HTTP status text:[Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIHttpChannel.responseStatusText]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: resource://services-common/rest.js :: RESTResponse.prototype.statusText :: line 636" data: no] Stack trace: RESTResponse.prototype.statusText()@resource://services-common/rest.js:636 < this.HawkClient.prototype._constructError()@resource://services-common/hawkclient.js:108 < _onComplete()@resource://services-common/hawkclient.js:209 < onComplete()@resource://services-common/hawkclient.js:250 < onStopRequest()@resource://services-common/rest.js:444 < <file:unknown> 1415148763272 Sync.RESTResponse DEBUG Caught exception fetching HTTP status code:[Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIHttpChannel.responseStatus]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: resource://services-common/rest.js :: RESTResponse.prototype.status :: line 620" data: no] Stack trace: RESTResponse.prototype.status()@resource://services-common/rest.js:620 < this.HawkClient.prototype._constructError()@resource://services-common/hawkclient.js:109 < _onComplete()@resource://services-common/hawkclient.js:209 < onComplete()@resource://services-common/hawkclient.js:250 < onStopRequest()@resource://services-common/rest.js:444 < <file:unknown> 1415148763272 Sync.RESTResponse DEBUG Caught exception fetching HTTP status code:[Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIHttpChannel.responseStatus]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: resource://services-common/rest.js :: RESTResponse.prototype.status :: line 620" data: no] Stack trace: RESTResponse.prototype.status()@resource://services-common/rest.js:620 < this.HawkClient.prototype._constructError()@resource://services-common/hawkclient.js:110 < _onComplete()@resource://services-common/hawkclient.js:209 < onComplete()@resource://services-common/hawkclient.js:250 < onStopRequest()@resource://services-common/rest.js:444 < <file:unknown> 1415148763272 Sync.RESTResponse DEBUG Caught exception processing response headers:[Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIHttpChannel.visitResponseHeaders]" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: resource://services-common/rest.js :: RESTResponse.prototype.headers :: line 670" data: no] Stack trace: RESTResponse.prototype.headers()@resource://services-common/rest.js:670 < this.HawkClient.prototype._constructError()@resource://services-common/hawkclient.js:112 < _onComplete()@resource://services-common/hawkclient.js:209 < onComplete()@resource://services-common/hawkclient.js:250 < onStopRequest()@resource://services-common/rest.js:444 < <file:unknown> 1415148763272 FirefoxAccounts ERROR error POSTing /certificate/sign: {"error":{},"message":null,"code":null,"errno":null} 1415148763272 FirefoxAccounts ERROR HAWK.signCertificate error: {"error":{},"message":null,"code":null,"errno":null} 1415148763272 Sync.BrowserIDManager ERROR Non-authentication error in _fetchTokenForUser: [object Object] 1415148763273 Sync.Status DEBUG Status.login: success.login => error.login.reason.network 1415148763273 Sync.Status DEBUG Status.service: success.status_ok => error.login.failed 1415148763273 Sync.SyncScheduler DEBUG Clearing sync triggers and the global score. 1415148763273 Sync.SyncScheduler DEBUG Next sync in 600000 ms.
If there's no error bar, it's like to have been a transient "server is too busy" error that the client will just ignore and retry after a few minutes.
From your logfile bundle, the first occurrence of "invalid-client-state" is in error-1414536257704.txt and that file itself doesn't seem to yield many clues. The log immediately before it is error-1414536234034.txt and is slightly more interesting. It shows an "App Quitting" exception in the middle of the sync. I wonder if it's possible that this somehow corrupted our internal state, leaving us with a bad encryption key which the tokenserver is rejecting. Many of the preceeding error logs appear successful apart from the "history failed: database disk image is malformed" error noted previously.
Summary: Can't sign into Firefox Accounts - Failed to fetch a token for authentication → Can't sign into Firefox Accounts - Failed to fetch a token for authentication (invalid-client-state)
Please reopen if this is still an issue.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: