Closed Bug 1433042 Opened 6 years ago Closed 6 years ago

Initial login flow fails with "Error: user data missing: kSync, kXCS, kExtSync, kExtKbHash"

Categories

(Firefox :: Firefox Accounts, defect, P1)

defect

Tracking

()

RESOLVED FIXED
Firefox 60
Tracking Status
firefox60 --- fixed

People

(Reporter: markh, Assigned: eoger)

References

Details

Attachments

(1 file)

Simply log in to an existing account and the logs will report:

> ...
> 1516866195800	FirefoxAccounts	DEBUG	Keys Obtained:kSync=true, kXCS=true, kExtSync=true, kExtKbHash=true
> 1516866195800	FirefoxAccounts	DEBUG	_updateAccountData with items: ["kSync","kXCS","kExtSync","kExtKbHash","keyFetchToken","unwrapBKey"]
> 1516866195800	Sync.BrowserIDManager	ERROR	Non-authentication error in _fetchTokenForUser: Error: user data missing: kSync, kXCS, kExtSync, kExtKbHash (resource://gre/modules/FxAccounts.jsm:971:19) JS Stack trace: ...
> 1516866195800	FirefoxAccounts	DEBUG	writing secure storage: ["kSync","kXCS","kExtSync","kExtKbHash"]

and the first sync never starts. A manual sync then works OK. This smells a little like a race.
Assignee: nobody → eoger
Status: NEW → ASSIGNED
Priority: -- → P1
Sorry about that!
Comment on attachment 8945509 [details]
Bug 1433042 - Fix initial FxA login flow.

https://reviewboard.mozilla.org/r/215660/#review221308

This seems correct, but my understanding of the new flow is not 100%, so there's an element of rubber-stampiness to my r+.
Attachment #8945509 - Flags: review?(tchiovoloni) → review+
Pushed by eoger@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/798e1d210015
Fix initial FxA login flow. r=tcsc
https://hg.mozilla.org/mozilla-central/rev/798e1d210015
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 60
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: