metamask-extension
metamask-extension copied to clipboard
[Bug]: Stuck on loading before I can click or do anything
Describe the bug
I'm not sure if it's the last update, but everytime I click on the metamask extension it's jsut stuck on loading, before even connecting to any network or anything, I only see the fox with the loading spinner.
I am a developer myself, so I can provide more technical details if anyone lets me know how to do that, I have provided below the output of the debug console for the extension, but I have never coded a browser extension myself so I don't know what would be most helpful.
What I have tried;
- disable all other extensions and restart - no effect
- it works on Chrome on the same PC and honestly I could probably fix it by reinstalling the extenision, but I thought I'd report it here and give it a shot
Expected behavior
Extension to load
Screenshots/Recordings
https://i.gyazo.com/ae0a6cded7eb10ba3cff3e5b606d56fb.png
Steps to reproduce
- Open metamask
Error messages or log output
Setting up Sentry Remote Error Reporting for 'production': SENTRY_DSN sentry-install.js:1:2889
Removing unpermitted intrinsics runtime-lavamoat.js:4079:15
InstallTrigger is deprecated and will be removed in the future. runtime-lavamoat.js:12382:21
onmozfullscreenchange is deprecated. runtime-lavamoat.js:12382:21
onmozfullscreenerror is deprecated. runtime-lavamoat.js:12382:21
Snow detected a new realm creation attempt in MetaMask. Performing scuttling on new realm.
Window moz-extension://5970a90f-ccb2-40f7-9c26-0887bb908f14/popup.html
use-snow.js:23:14
Snow detected a new realm creation attempt in MetaMask. Performing scuttling on new realm.
Window moz-extension://5970a90f-ccb2-40f7-9c26-0887bb908f14/popup.html
use-snow.js:23:14
Content-Security-Policy: The page’s settings blocked the loading of a resource at eval (“script-src”). runtime-lavamoat.js:10114:15
Content-Security-Policy: The page’s settings blocked the loading of a resource at eval (“script-src”). runtime-lavamoat.js:4381:30
Property eval will not be hardened because it is scuttled by LavaMoat protection. Visit https://github.com/LavaMoat/LavaMoat/pull/360 to learn more. sentry-install.js:1:693
unreachable code after return statement
ui-11.js:formatted:1658:12
unreachable code after return statement
ui-11.js:formatted:2005:12
unreachable code after return statement
ui-11.js:formatted:2154:12
unreachable code after return statement
ui-11.js:formatted:6059:12
unreachable code after return statement
ui-11.js:formatted:6088:12
unreachable code after return statement
ui-11.js:formatted:6271:12
Uncaught (in promise) Error: An unexpected error occurred
undefined
Uncaught (in promise) Error: An unexpected error occurred
undefined
Setting up Sentry Remote Error Reporting for 'production': SENTRY_DSN sentry-install.js:1:2889
Removing unpermitted intrinsics runtime-lavamoat.js:4079:15
InstallTrigger is deprecated and will be removed in the future. runtime-lavamoat.js:12382:21
onmozfullscreenchange is deprecated. runtime-lavamoat.js:12382:21
onmozfullscreenerror is deprecated. runtime-lavamoat.js:12382:21
Snow detected a new realm creation attempt in MetaMask. Performing scuttling on new realm.
Window moz-extension://5970a90f-ccb2-40f7-9c26-0887bb908f14/popup.html
use-snow.js:23:14
Snow detected a new realm creation attempt in MetaMask. Performing scuttling on new realm.
Window moz-extension://5970a90f-ccb2-40f7-9c26-0887bb908f14/popup.html
use-snow.js:23:14
Content-Security-Policy: The page’s settings blocked the loading of a resource at eval (“script-src”). runtime-lavamoat.js:10114:15
Content-Security-Policy: The page’s settings blocked the loading of a resource at eval (“script-src”). runtime-lavamoat.js:4381:30
Property eval will not be hardened because it is scuttled by LavaMoat protection. Visit https://github.com/LavaMoat/LavaMoat/pull/360 to learn more. sentry-install.js:1:693
unreachable code after return statement
ui-11.js:1:27823
unreachable code after return statement
ui-11.js:1:32762
unreachable code after return statement
ui-11.js:1:35081
unreachable code after return statement
ui-11.js:1:97293
unreachable code after return statement
ui-11.js:1:97800
unreachable code after return statement
ui-11.js:1:101509
Uncaught (in promise) Error: An unexpected error occurred
undefined
Uncaught (in promise) Error: An unexpected error occurred
undefined
Setting up Sentry Remote Error Reporting for 'production': SENTRY_DSN sentry-install.js:1:2889
Removing unpermitted intrinsics runtime-lavamoat.js:4079:15
InstallTrigger is deprecated and will be removed in the future. runtime-lavamoat.js:12382:21
onmozfullscreenchange is deprecated. runtime-lavamoat.js:12382:21
onmozfullscreenerror is deprecated. runtime-lavamoat.js:12382:21
Snow detected a new realm creation attempt in MetaMask. Performing scuttling on new realm.
Window moz-extension://5970a90f-ccb2-40f7-9c26-0887bb908f14/popup.html
use-snow.js:23:14
Snow detected a new realm creation attempt in MetaMask. Performing scuttling on new realm.
Window moz-extension://5970a90f-ccb2-40f7-9c26-0887bb908f14/popup.html
use-snow.js:23:14
Content-Security-Policy: The page’s settings blocked the loading of a resource at eval (“script-src”). runtime-lavamoat.js:10114:15
Content-Security-Policy: The page’s settings blocked the loading of a resource at eval (“script-src”). runtime-lavamoat.js:4381:30
Property eval will not be hardened because it is scuttled by LavaMoat protection. Visit https://github.com/LavaMoat/LavaMoat/pull/360 to learn more. sentry-install.js:1:693
unreachable code after return statement
ui-11.js:1:27823
unreachable code after return statement
ui-11.js:1:32762
unreachable code after return statement
ui-11.js:1:35081
unreachable code after return statement
ui-11.js:1:97293
unreachable code after return statement
ui-11.js:1:97800
unreachable code after return statement
ui-11.js:1:101509
Uncaught (in promise) Error: An unexpected error occurred
undefined
Uncaught (in promise) Error: An unexpected error occurred
undefined
Setting up Sentry Remote Error Reporting for 'production': SENTRY_DSN sentry-install.js:1:2889
Removing unpermitted intrinsics runtime-lavamoat.js:4079:15
InstallTrigger is deprecated and will be removed in the future. runtime-lavamoat.js:12382:21
onmozfullscreenchange is deprecated. runtime-lavamoat.js:12382:21
onmozfullscreenerror is deprecated. runtime-lavamoat.js:12382:21
Snow detected a new realm creation attempt in MetaMask. Performing scuttling on new realm.
Window moz-extension://5970a90f-ccb2-40f7-9c26-0887bb908f14/popup.html
use-snow.js:23:14
Snow detected a new realm creation attempt in MetaMask. Performing scuttling on new realm.
Window moz-extension://5970a90f-ccb2-40f7-9c26-0887bb908f14/popup.html
use-snow.js:23:14
Content-Security-Policy: The page’s settings blocked the loading of a resource at eval (“script-src”). runtime-lavamoat.js:10114:15
Content-Security-Policy: The page’s settings blocked the loading of a resource at eval (“script-src”). runtime-lavamoat.js:4381:30
Property eval will not be hardened because it is scuttled by LavaMoat protection. Visit https://github.com/LavaMoat/LavaMoat/pull/360 to learn more. sentry-install.js:1:693
unreachable code after return statement
ui-11.js:1:27823
unreachable code after return statement
ui-11.js:1:32762
unreachable code after return statement
ui-11.js:1:35081
unreachable code after return statement
ui-11.js:1:97293
unreachable code after return statement
ui-11.js:1:97800
unreachable code after return statement
ui-11.js:1:101509
Uncaught (in promise) Error: An unexpected error occurred
undefined
Uncaught (in promise) Error: An unexpected error occurred
undefined
Version
11.7.5
Build type
None
Browser
Firefox
Operating system
Windows
Hardware wallet
No response
Additional context
No response
Severity
No response
Hey @maticb. Thanks for reporting! Do you remember doing anything specific before this happened?
Not really, because I haven't used my wallet in weeks, and I just randomly clicked on it today and noticed it doesn't load.
Encountered the same problem, nohing specific but suddenly metamask stopped working and only shows infinite loading screen, I tried reinstalling the extension, but the result is the same.
I see the same errors in the console as @maticb Also on firefox
Same here.. tried rolling back but that does not work either. @danfinlay / @danjm would appreciate if you could take a look please, as MetaMask is currently not usable on Firefox for quite some time now.
I am now actually seeing the same bug on Chrome, with a different console output:
https://i.gyazo.com/bcbba43f43be5358a60f87529560f42e.png
EDIT: I had reinstalled the plugin to fix this on chrome.
Thanks for the report. I could reproduce this by downloading the 11.7.2 version and fresh install it I see the errors:
sentry-install.js:1 TypeError: globalThis.stateHooks.getPersistedState is not a functionReferenceError#15: LavaPack is not defined
https://github.com/MetaMask/metamask-extension/assets/54408225/5883bec4-d77b-4e50-900b-925665074af5
me too, always loading
was any fix found for this? same issue here with firefox just stuck on loading screen
Nope, - and this is getting truly fucking annoying that no one is seemingly giving a crap about this.
still get this on chrome
SES_UNHANDLED_REJECTION: (TypeError#2)
same problem
If you are still experiencing this, it would be helpful if you could provide the following:
- metamask version number
- firefox version number
- when MM on firefox was last working for you, and when you first noticed it broken
- screenshots of errors, with as much of the stack trace as possible, from the "Console" tab after going to about:debugging#/runtime/this-firefox and clicking "Inspect" next to MetaMask
- Go to about:debugging#/runtime/this-firefox and clicking "Inspect" next to MetaMask, then go to the "Storage" tab and then click "Extension Storage" and get a screenshot
- After doing all of that, uninstalling and reinstalling MetaMask, or installing MetaMask on a different instance of Firefox, and reporting on whether you still see the problem.
If you can do all of those, that's really helpful, but if you can only do a few of them, that is helpful as well.
Work is in progress on this problem and has been for some time, but it likely is partially caused by data management and data corruption problems that occur in other parts of the computer than MetaMask (the browsers internal data storage, the operating system, the harddrive, etc). We are unable to reproduce this and so would greatly appreciate any information that anyone can share.
1. metamask version number
11.12.4
2. firefox version number
125.0.1 Flatpak
3. when MM on firefox was last working for you, and when you first noticed it broken
A few days ago and it broke today.
4. screenshots of errors, with as much of the stack trace as possible, from the "Console" tab after going to about:debugging#/runtime/this-firefox and clicking "Inspect" next to MetaMask
Setting up Sentry Remote Error Reporting for 'production': SENTRY_DSN sentry-install.js:1:2889
Removing unpermitted intrinsics runtime-lavamoat.js:4079:15
InstallTrigger is deprecated and will be removed in the future. runtime-lavamoat.js:12382:21
onmozfullscreenchange is deprecated. runtime-lavamoat.js:12382:21
onmozfullscreenerror is deprecated. runtime-lavamoat.js:12382:21
Snow detected a new realm creation attempt in MetaMask. Performing scuttling on new realm.
Window moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/home.html
use-snow.js:23:14
Snow detected a new realm creation attempt in MetaMask. Performing scuttling on new realm.
Window moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/home.html
use-snow.js:23:14
Content-Security-Policy: The page’s settings blocked a JavaScript eval (script-src) from being executed because it violates the following directive: “script-src 'self' 'wasm-unsafe-eval'” (Missing 'unsafe-eval') runtime-lavamoat.js:10114:15
Content-Security-Policy: The page’s settings blocked a JavaScript eval (script-src) from being executed because it violates the following directive: “script-src 'self' 'wasm-unsafe-eval'” (Missing 'unsafe-eval') runtime-lavamoat.js:4381:30
Property eval will not be hardened because it is scuttled by LavaMoat protection. Visit https://github.com/LavaMoat/LavaMoat/pull/360 to learn more. sentry-install.js:1:693
unreachable code after return statement ui-11.js:26:76215
unreachable code after return statement ui-11.js:26:81154
unreachable code after return statement ui-11.js:26:83473
unreachable code after return statement ui-11.js:26:145685
unreachable code after return statement ui-11.js:26:146192
unreachable code after return statement ui-11.js:26:149901
Uncaught (in promise) Error: An unexpected error occurred
undefined
Uncaught (in promise) Error: An unexpected error occurred
undefined
SES_UNHANDLED_REJECTION: (Error#1) sentry-install.js:1:693
t moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/sentry-install.js:1
_ moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/sentry-install.js:1
levelMethod moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/runtime-lavamoat.js:6929
handleRejection moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/runtime-lavamoat.js:7285
finalizeDroppedPromise moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/runtime-lavamoat.js:7058
Error#1: An unexpected error occurred sentry-install.js:1:693
t moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/sentry-install.js:1
_ moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/sentry-install.js:1
logError moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/runtime-lavamoat.js:6890
logSubErrors moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/runtime-lavamoat.js:6833
levelMethod moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/runtime-lavamoat.js:6931
handleRejection moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/runtime-lavamoat.js:7285
finalizeDroppedPromise moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/runtime-lavamoat.js:7058
<empty string> sentry-install.js:1:693
t moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/sentry-install.js:1
_ moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/sentry-install.js:1
logError moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/runtime-lavamoat.js:6912
logSubErrors moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/runtime-lavamoat.js:6833
levelMethod moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/runtime-lavamoat.js:6931
handleRejection moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/runtime-lavamoat.js:7285
finalizeDroppedPromise moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/runtime-lavamoat.js:7058
SES_UNHANDLED_REJECTION: (Error#2) sentry-install.js:1:693
t moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/sentry-install.js:1
_ moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/sentry-install.js:1
levelMethod moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/runtime-lavamoat.js:6929
handleRejection moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/runtime-lavamoat.js:7285
finalizeDroppedPromise moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/runtime-lavamoat.js:7058
Error#2: An unexpected error occurred sentry-install.js:1:693
t moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/sentry-install.js:1
_ moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/sentry-install.js:1
logError moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/runtime-lavamoat.js:6890
logSubErrors moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/runtime-lavamoat.js:6833
levelMethod moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/runtime-lavamoat.js:6931
handleRejection moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/runtime-lavamoat.js:7285
finalizeDroppedPromise moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/runtime-lavamoat.js:7058
<empty string> sentry-install.js:1:693
t moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/sentry-install.js:1
_ moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/sentry-install.js:1
logError moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/runtime-lavamoat.js:6912
logSubErrors moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/runtime-lavamoat.js:6833
levelMethod moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/runtime-lavamoat.js:6931
handleRejection moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/runtime-lavamoat.js:7285
finalizeDroppedPromise moz-extension://31e8b364-30f7-430b-b278-9e926bba3b3b/runtime-lavamoat.js:7058
5. Go to about:debugging#/runtime/this-firefox and clicking "Inspect" next to MetaMask, then go to the "Storage" tab and then click "Extension Storage" and get a screenshot
I guess that it's empty?
6. After doing all of that, uninstalling and reinstalling MetaMask, or installing MetaMask on a different instance of Firefox, and reporting on whether you still see the problem.
Reinstallation worked, so I won't be able to share any more information. I lost the entire configuration which now I must reconstruct, which to put it mildly is frustrating.
Hi everyone, if you're still facing a similar issue, this issue is the possible cause: https://github.com/MetaMask/metamask-extension/issues/9196