-
-
Notifications
You must be signed in to change notification settings - Fork 390
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
Suddenly running into "Privacy Badger failed to initialize" in Firefox #3036
Comments
Hello and thanks for opening an issue! Next time this happens, could you open Privacy Badger's background page console, and see if there are any errors that will help us figure out what's going on? To open the background page console:
Let me know if you have any questions. Previously: #2966 |
Also, which version of Privacy Badger do you have? |
Hi there! PB version: 2024.7.17 I returned to the page where it happened, but now it seems to just work. Maybe it was just a glitch. I'll keep my eyes open for the problem, but now it's kind of unclear when/if I can recreate the issue! |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Same here with Firefox 134.0.2 (64 bit) and PB 2024.7.17, it fails on browser startup. |
Hi @MadeinDave, are there any messages or errors in Privacy Badger's console when this happens? |
Sorry for the late response, the error occurs on the first run of Firefox and the PB icon went red for a couple of seconds, before the extension works back.
|
Thanks for checking but the messages in your log are unrelated. If there are any relevant messages, we would only see them when Privacy Badger is in the "failed to initialize" state. |
In the |
Oh! So your "failed to initialize" problem resolves itself after a few seconds without you having to do anything. Interesting! How often does the "failed to initialize" problem occur? Also, to clarify, when you saw "failed to initialize" and visited |
Almost every first Firefox startups...
Most of the time the console its pretty empty, or the messages are the same from the last attachment |
I'll add more debugging output to the next Privacy Badger update so that we can at least see where the problem lies. |
We may have a fix for this Firefox issue in the next update. My guess is that Privacy Badger hangs waiting for "session" storage to return. The thing is, we don't even need to read from session storage at this time in Firefox, so if that's the problem, we have a straightforward fix. I don't know why reading from session storage would take a long time in Firefox. It's possibly something about the Firefox profile, in which case this could be worked around by creating a new profile and moving all your stuff there. |
I don't know much else, the add-on just suddenly showed the "Privacy Badger failed to initialize" error and a link to this page.
Firefox version 133.0, uname -a: Linux T460 6.12.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 22 Nov 2024 16:04:27 +0000 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: