-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FallbackRequested Error #12663
Comments
Thank you for reporting this issue! We've added this to our internal tracking system. |
Hi there, I am unable to reproduce this issue, it has been escalated for further investigation. If you have more information that can help us, please add it below. Thanks! |
I recently started occasionally getting the same error from the Chrome extension (also an internal company website). I'm also on build
It looks like an unhandled promise rejection in /**
* Cleans up the messenger by removing the message event listener
*/
destroy() {
return __awaiter(this, void 0, void 0, function* () {
this.onDestroy.dispatchEvent(new Event("destroy"));
if (this.messageEventListener) {
yield this.sendDisconnectCommand();
this.broadcastChannel.removeEventListener(this.messageEventListener);
this.messageEventListener = null;
}
});
} that seems to be coming from const destroyPromise = new Promise((_, reject) => {
onDestroyListener = () => reject(new FallbackRequestedError());
this.onDestroy.addEventListener("destroy", onDestroyListener);
}); To produce this error I opened my Chrome on the website where I've seen it a few times, opened dev tools, locked my PC and waited a few minutes. It was there after unlocking again. Seems to be a problem with MessagePort cleanup? |
@jacobg213 another interesting aspect is that I've hidden Chrome extension errors from console (console > top > settings > 'Selected context only', but the fido2 error from BitWarden extension continues to appear in the console logs (these console settings DO work for other Chrome extension errors logged to console). |
@TexRx Same happens to me. I don't know how extensions work exactly but if it's the |
I have the same console error, sometimes. I think it can only be reproduced on a Angular site (or other sites which are using zone.js): As you can see, the I guess the fix would be to correctly catch the @TexRx This also explains why the error still shows up when chrome extension error are hidden. The error itself is created from the zone.js script, which is not part of a chrome extension. @DubiousDoggo @TexRx and @jacobg213 are you also having this issue on Angular sites? |
|
@kairauer Yep. It's an Angular site I'm mainly getting this on. I've seen it on other sites as well though. |
@kairauer @jacobg213 Yes! AFAIR, this is only happening on Angular sites. |
I get this error on React sites as well. |
Steps To Reproduce
Apologies for the lack of info, this is on a company-internal website, so unfortunately I cant give the full picture.
Every so often something from the Bitwarden browser extension is hitting our crash handler.
When it does occur, it happens repeatedly about every 5 or 10 minutes. It seems that it might only be when the vault is locked.
Expected Result
No error
Actual Result
Crash handler stack trace (some information redacted)
[0]:"Error: FallbackRequested"
[1]:" at EventTarget.onDestroyListener (chrome-extension://nngceckbapebfimnlniiiahkandclblb/content/fido2-page-script.js:325:50)"
[2]:" at Messenger. (chrome-extension://nngceckbapebfimnlniiiahkandclblb/content/fido2-page-script.js:353:28)"
[3]:" at Generator.next ()"
[4]:" at chrome-extension://nngceckbapebfimnlniiiahkandclblb/content/fido2-page-script.js:233:71"
[5]:" at Object.safeInvoke "
[6]:" at Core$Promise$executorWrapper"
[7]:" at new Promise ()"
[9]:" at new Core$Promise$ctor "
[10]:" at __awaiter (chrome-extension://nngceckbapebfimnlniiiahkandclblb/content/fido2-page-script.js:229:12)"
[11]:" at Messenger.destroy (chrome-extension://nngceckbapebfimnlniiiahkandclblb/content/fido2-page-script.js:352:16)"
[12]:" at destroy (chrome-extension://nngceckbapebfimnlniiiahkandclblb/content/fido2-page-script.js:604:28)"
[13]:" at messenger.handler (chrome-extension://nngceckbapebfimnlniiiahkandclblb/content/fido2-page-script.js:618:13)"
[14]:" at Messenger. (chrome-extension://nngceckbapebfimnlniiiahkandclblb/content/fido2-page-script.js:330:26)"
[15]:" at Generator.next ()"
[16]:" at chrome-extension://nngceckbapebfimnlniiiahkandclblb/content/fido2-page-script.js:233:71"
[17]:" at Object.safeInvoke"
[18]:" at Core$Promise$executorWrapper"
[19]:" at new Promise ()"
[21]:" at new Core$Promise$ctor "
[22]:" at __awaiter (chrome-extension://nngceckbapebfimnlniiiahkandclblb/content/fido2-page-script.js:229:12)"
[23]:" at chrome-extension://nngceckbapebfimnlniiiahkandclblb/content/fido2-page-script.js:306:27"
Screenshots or Videos
No response
Additional Context
No response
Operating System
Windows
Operating System Version
No response
Web Browser
Chrome
Browser Version
No response
Build Version
2024.12.4
Issue Tracking Info
The text was updated successfully, but these errors were encountered: