Error message displaying at login with Linux/Firefox

AI-generated summary

Users reported an error occurring during login on Linux/Firefox (ESR 115), specifically tied to passkey-related JavaScript code, as seen in browser console logs. The issue was reproducible even with default Firefox configurations and disabled extensions like uBlock Origin and NoScript. It did not occur on Firefox 122, suggesting a version-specific bug. Another user confirmed a similar issue on a self-hosted Discourse instance, pointing to the same passkey code stack trace. While initial troubleshooting included checking extensions and configs, no immediate fix was found. Later, Octoberon confirmed the issue resolved itself, possibly due to upstream updates to passkey handling — humorously credited to “magic code fairies” JammyDodger had hoped for. No server-side logs indicated the problem, and it appears isolated to specific Firefox ESR builds on Linux.

One of my forum members is getting a problem when trying to log in.

This is happening when the page loads, not when he enters his ID and password.

He runs Linux (Debian) and gets this error consistently with the current ESR version of Firefox (115) - both the package that Debian ships and the tarball of same build direct from [mozilla.org] The problem doesn’t happen with the leading edge version (122).

I’ve checked the site logs and there’s nothing relevant captured.

Is this a known issue? I’m at a loss to explain it.

I had that problem too when I used the firefox andriod app to check another bug. But after updating the app the error did not appear again.

Does he have extensions installed that might explain it?

Are there clues in the javascript console?

Same issue here on our recently upgraded self-hosted instance.

According to the console it looks like an error related to passkey code:

d@https://forum.torproject.org/assets/chunk.6d10396b901f5b95b67e.d41d8cd9.js:2:2713219
passkeyLogin@https://forum.torproject.org/assets/chunk.6d10396b901f5b95b67e.d41d8cd9.js:2:1422537
passkeyConditionalLogin@https://forum.torproject.org/assets/chunk.6d10396b901f5b95b67e.d41d8cd9.js:2:1436486
installModifier@https://forum.torproject.org/assets/chunk.6d10396b901f5b95b67e.d41d8cd9.js:2:3446468
install/<@https://forum.torproject.org/assets/vendor.f196a698a6a811ae0583c1ea5284644b-53642a3b547b78e34800ab2eeb101f12b39be8c27ec85e9ad359a095161fad6b.js:11:235491
e.untrack@https://forum.torproject.org/assets/vendor.f196a698a6a811ae0583c1ea5284644b-53642a3b547b78e34800ab2eeb101f12b39be8c27ec85e9ad359a095161fad6b.js:11:346126
install@https://forum.torproject.org/assets/vendor.f196a698a6a811ae0583c1ea5284644b-53642a3b547b78e34800ab2eeb101f12b39be8c27ec85e9ad359a095161fad6b.js:11:235483
commit/v<@https://forum.torproject.org/assets/vendor.f196a698a6a811ae0583c1ea5284644b-53642a3b547b78e34800ab2eeb101f12b39be8c27ec85e9ad359a095161fad6b.js:11:316098
e.track@https://forum.torproject.org/assets/vendor.f196a698a6a811ae0583c1ea5284644b-53642a3b547b78e34800ab2eeb101f12b39be8c27ec85e9ad359a095161fad6b.js:11:345849
commit@https://forum.torproject.org/assets/vendor.f196a698a6a811ae0583c1ea5284644b-53642a3b547b78e34800ab2eeb101f12b39be8c27ec85e9ad359a095161fad6b.js:11:316090
commit@https://forum.torproject.org/assets/vendor.f196a698a6a811ae0583c1ea5284644b-53642a3b547b78e34800ab2eeb101f12b39be8c27ec85e9ad359a095161fad6b.js:11:317219
Nt@https://forum.torproject.org/assets/vendor.f196a698a6a811ae0583c1ea5284644b-53642a3b547b78e34800ab2eeb101f12b39be8c27ec85e9ad359a095161fad6b.js:11:317384
_renderRoots@https://forum.torproject.org/assets/vendor.f196a698a6a811ae0583c1ea5284644b-53642a3b547b78e34800ab2eeb101f12b39be8c27ec85e9ad359a095161fad6b.js:11:55445
_renderRootsTransaction@https://forum.torproject.org/assets/vendor.f196a698a6a811ae0583c1ea5284644b-53642a3b547b78e34800ab2eeb101f12b39be8c27ec85e9ad359a095161fad6b.js:11:55805
_revalidate@https://forum.torproject.org/assets/vendor.f196a698a6a811ae0583c1ea5284644b-53642a3b547b78e34800ab2eeb101f12b39be8c27ec85e9ad359a095161fad6b.js:11:56273
invoke@https://forum.torproject.org/assets/vendor.f196a698a6a811ae0583c1ea5284644b-53642a3b547b78e34800ab2eeb101f12b39be8c27ec85e9ad359a095161fad6b.js:11:358129
flush@https://forum.torproject.org/assets/vendor.f196a698a6a811ae0583c1ea5284644b-53642a3b547b78e34800ab2eeb101f12b39be8c27ec85e9ad359a095161fad6b.js:11:357216
flush@https://forum.torproject.org/assets/vendor.f196a698a6a811ae0583c1ea5284644b-53642a3b547b78e34800ab2eeb101f12b39be8c27ec85e9ad359a095161fad6b.js:11:358979
_end@https://forum.torproject.org/assets/vendor.f196a698a6a811ae0583c1ea5284644b-53642a3b547b78e34800ab2eeb101f12b39be8c27ec85e9ad359a095161fad6b.js:11:364062
B/this._boundAutorunEnd@https://forum.torproject.org/assets/vendor.f196a698a6a811ae0583c1ea5284644b-53642a3b547b78e34800ab2eeb101f12b39be8c27ec85e9ad359a095161fad6b.js:11:360486
[...]

That looks familiar. This from my user with the issue.

d@https://d1746m6z0w83jc.cloudfront.net/assets/chunk.fbea45e2f67ab42af7db.d41d8cd9.br.js:2:2700411
passkeyLogin@https://d1746m6z0w83jc.cloudfront.net/assets/chunk.fbea45e2f67ab42af7db.d41d8cd9.br.js:2:1414792
passkeyConditionalLogin@https://d1746m6z0w83jc.cloudfront.net/assets/chunk.fbea45e2f67ab42af7db.d41d8cd9.br.js:2:1428741
installModifier@https://d1746m6z0w83jc.cloudfront.net/assets/chunk.fbea45e2f67ab42af7db.d41d8cd9.br.js:2:3428022
install/<@https://d1746m6z0w83jc.cloudfront.net/assets/vendor.f196a698a6a811ae0583c1ea5284644b-53642a3b547b78e34800ab2eeb101f12b39be8c27ec85e9ad359a095161fad6b.br.js:11:235491
e.untrack@https://d1746m6z0w83jc.cloudfront.net/assets/vendor.f196a698a6a811ae0583c1ea5284644b-53642a3b547b78e34800ab2eeb101f12b39be8c27ec85e9ad359a095161fad6b.br.js:11:346126
install@https://d1746m6z0w83jc.cloudfront.net/assets/vendor.f196a698a6a811ae0583c1ea5284644b-53642a3b547b78e34800ab2eeb101f12b39be8c27ec85e9ad359a095161fad6b.br.js:11:235483
commit/v<@https://d1746m6z0w83jc.cloudfront.net/assets/vendor.f196a698a6a811ae0583c1ea5284644b-53642a3b547b78e34800ab2eeb101f12b39be8c27ec85e9ad359a095161fad6b.br.js:11:316098
e.track@https://d1746m6z0w83jc.cloudfront.net/assets/vendor.f196a698a6a811ae0583c1ea5284644b-53642a3b547b78e34800ab2eeb101f12b39be8c27ec85e9ad359a095161fad6b.br.js:11:345849
commit@https://d1746m6z0w83jc.cloudfront.net/assets/vendor.f196a698a6a811ae0583c1ea5284644b-53642a3b547b78e34800ab2eeb101f12b39be8c27ec85e9ad359a095161fad6b.br.js:11:316090
commit@https://d1746m6z0w83jc.cloudfront.net/assets/vendor.f196a698a6a811ae0583c1ea5284644b-53642a3b547b78e34800ab2eeb101f12b39be8c27ec85e9ad359a095161fad6b.br.js:11:317219
Nt@https://d1746m6z0w83jc.cloudfront.net/assets/vendor.f196a698a6a811ae0583c1ea5284644b-53642a3b547b78e34800ab2eeb101f12b39be8c27ec85e9ad359a095161fad6b.br.js:11:317384
_renderRoots@https://d1746m6z0w83jc.cloudfront.net/assets/vendor.f196a698a6a811ae0583c1ea5284644b-53642a3b547b78e34800ab2eeb101f12b39be8c27ec85e9ad359a095161fad6b.br.js:11:55445
_renderRootsTransaction@https://d1746m6z0w83jc.cloudfront.net/assets/vendor.f196a698a6a811ae0583c1ea5284644b-53642a3b547b78e34800ab2eeb101f12b39be8c27ec85e9ad359a095161fad6b.br.js:11:55805
_revalidate@https://d1746m6z0w83jc.cloudfront.net/assets/vendor.f196a698a6a811ae0583c1ea5284644b-53642a3b547b78e34800ab2eeb101f12b39be8c27ec85e9ad359a095161fad6b.br.js:11:56273
invoke@https://d1746m6z0w83jc.cloudfront.net/assets/vendor.f196a698a6a811ae0583c1ea5284644b-53642a3b547b78e34800ab2eeb101f12b39be8c27ec85e9ad359a095161fad6b.br.js:11:358129
flush@https://d1746m6z0w83jc.cloudfront.net/assets/vendor.f196a698a6a811ae0583c1ea5284644b-53642a3b547b78e34800ab2eeb101f12b39be8c27ec85e9ad359a095161fad6b.br.js:11:357216
flush@https://d1746m6z0w83jc.cloudfront.net/assets/vendor.f196a698a6a811ae0583c1ea5284644b-53642a3b547b78e34800ab2eeb101f12b39be8c27ec85e9ad359a095161fad6b.br.js:11:358979
_end@https://d1746m6z0w83jc.cloudfront.net/assets/vendor.f196a698a6a811ae0583c1ea5284644b-53642a3b547b78e34800ab2eeb101f12b39be8c27ec85e9ad359a095161fad6b.br.js:11:364062
B/this._boundAutorunEnd@https://d1746m6z0w83jc.cloudfront.net/assets/vendor.f196a698a6a811ae0583c1ea5284644b-53642a3b547b78e34800ab2eeb101f12b39be8c27ec85e9ad359a095161fad6b.br.js:11:360486
ajax-error.js:9:12
    l ajax-error.js:9
    p ajax-error.js:95
    passkeyLogin login.js:147

I’m waiting for a response on that one.

I got a reply from the forum member. He uses uBlock Origin and NoScript but the error message appears even when they’re disabled. He also tried moving the config files out the way and downloaded the latest ESR version from Mozilla, so that would have run without any plugins and with a default config.

Just to check back in, did this get resolved in the end? I remember there being a couple of tweaks with the passkey over the last couple of months so I’m optimistically hoping for a ‘magically solved’ :magic_wand: :slight_smile: :crossed_fingers:

Yes, the magic code fairies have fixed it, apparently. :slightly_smiling_face: