Skip to content
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

Blank Extension Screen on Chrome/Firefox/Brave/etc. #4894

Closed
ERC1975 opened this issue Jul 26, 2018 · 90 comments
Closed

Blank Extension Screen on Chrome/Firefox/Brave/etc. #4894

ERC1975 opened this issue Jul 26, 2018 · 90 comments
Labels
needs-reproduction stale issues and PRs marked as stale type-bug

Comments

@ERC1975
Copy link

ERC1975 commented Jul 26, 2018

Bounty: some users have reported experiencing a blank screen when the open the MetaMask extension in Chrome. This bounty is to identify a root cause of the issue that matches the symptoms and errors described below & to write a patch that fixes it.


I just downloaded and installed the Chrome Extension. However, when I click the fox in the upper right it opens a box/window to the right that is completely empty. It does not appear that the extension is operating correctly.

I'm on a Mac and using Chrome (most recent update).

Thanks,
ERC

@MetaMask MetaMask deleted a comment Jul 26, 2018
@bdresser
Copy link
Contributor

bdresser commented Jul 26, 2018

@ERC1975 sorry to hear that. Could you help us debug by sending your background logs? There are instructions about halfway down this support article. You can post them here, or send to [email protected] and mention this issue URL.

@bdresser bdresser changed the title Extension Does Not Work Blank Screen on Mac Chrome Jul 26, 2018
@myn
Copy link

myn commented Jul 27, 2018

Getting same issue on my Mac too.

@myn
Copy link

myn commented Jul 27, 2018

screen shot 2018-07-27 at 6 09 27 pm

@myn
Copy link

myn commented Jul 27, 2018

screen shot 2018-07-27 at 6 11 14 pm
Background Page

@Strernd
Copy link

Strernd commented Jul 30, 2018

Got this same issue on Chrome, Brave and Firefox.
#4782

@Strernd
Copy link

Strernd commented Jul 30, 2018

Reinstalling Metamask fixed it for me on Chrome

@estebanmino
Copy link
Contributor

somehow I was able to reproduce the last error showed in the picture. From development I got this

bug3

It corresponds to the method setupPublicConfig of metamaskController. The app did crash but I tried to reopen it and it worked fine.

@bdresser
Copy link
Contributor

bdresser commented Aug 3, 2018

@Strernd next time you experience this, could you check the popup logs and background logs? Curious if you're getting the same error Esteban found, or something different. Sorry for the trouble & thanks for your help!

@tritone11
Copy link

Same problems here, on Chrome on Windows 10, I managed to produce this error with the background logs
error
I hope this helps somehow, these crashes are haunting me since 2 weeks

@tritone11
Copy link

tritone11 commented Aug 6, 2018

Similar as above
error
EDIT:
Inspecting the extension while running, it freezes and it stays white when there is any call to the infura API. Althought the chrome inspector says the various calls like eth_getBlockByNumber, eth_getTransactionByHash, mainnet, blacklist ecc. take from 50ms to 200ms, most of the time I see them in pending for 20-30 seconds.
After blocking the domain api.infura.io the extension run smoothly without freezing or without showing the blank screen (without being able to log in or use it, obviously).

Not able to change the network

@tritone11
Copy link

tritone11 commented Aug 6, 2018

I managed to recover my seed phrase from the crashing, whitescreening Metamask, then reinstall Metamask to get everything fixed.

I set up a private ethereum network with geth and rpc enabled, then stop the internet connection of my computer. Launching metamask, it wasn't able to find infura, so it started without problems and I set up a custom RPC from the metamask dropdown pointing to my ethereum node. Metamask connected to it, I logged in and took my seed phrase from the settings.

Then, I reinstalled Metamask and restored my wallet with the seed phrase.

I guess this would work with any public ethereum node, even testnet nodes, just disable your internet connection or block the infura api, open metamask, re-establish the connection and connect with custom rpc

EDIT: for anybody unable to find a public node to recover your seed or unable to set up your own node, I can open mine shortly to let you recover your seed, just contact me.

@bdresser
Copy link
Contributor

bdresser commented Aug 6, 2018

from standup:

  • often happens when a process (like the background process) ends unexpectedly, sometimes a stream from the UI to background
  • worth cross-referencing with Sentry to see if there's anything insightful

@bdresser
Copy link
Contributor

bdresser commented Aug 6, 2018

@bdresser
Copy link
Contributor

bdresser commented Aug 6, 2018

@tritone11 thanks for the detailed rundown. Could I ask you to also send along your state logs to [email protected]? They'll help us identify the latest version of a particular migration that might be causing issues.

Instructions on how to get your state logs are here, assuming you're still able to access the UI as you described. Make sure you mention this issue number (4894) in your note. Thanks again for the help!

cc @whymarrh @alacrity26

@bdresser bdresser changed the title Blank Screen on Mac Chrome Blank Extension Screen on Chrome Aug 6, 2018
@gitcoinbot
Copy link

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 0.45 ETH (181.59 USD @ $403.53/ETH) attached to it.

@gitcoinbot
Copy link

💰 A crowdfund contribution worth 0.05000 ETH (20.5 USD @ $409.98/ETH) has been attached to this funded issue from @.💰

Want to chip in also? Add your own contribution here.

@gitcoinbot
Copy link

@shad-k Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • warning (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@shad-k
Copy link

shad-k commented Aug 12, 2018

@bdresser can you send me any logs that you might have received regarding this. I have been trying to recreate this issue but have failed to do so thus far.

@bdresser
Copy link
Contributor

@shad-k haven't received any reliable state logs on this.

above in this thread, most folks either see error: write after end or Error: PortDuplexStream -disconnected.

@estebanmino any detail to add?

@estebanmino
Copy link
Contributor

@shad-k the PortDuplexStream error is generated here

PortDuplexStream.prototype._write = function (msg, encoding, cb) {
and it seems to be a disconnection between background and UI.
The write after end error is originated here
setupPublicConfig (outStream) {

@mqklin
Copy link

mqklin commented Sep 1, 2020

I tried to fix extension code but broke something and lost all ETHs, fortunately I didn't have much there

@tritone11
Copy link

tritone11 commented Sep 2, 2020

Hi, I'm getting this issue, is there a process for getting the private key or seed phrase out when the UI is unusable?

Here I disabled infura and connected metamask to another node, recovering the private key
#4894 (comment)

@tmashuang tmashuang changed the title Blank Extension Screen on Chrome Blank Extension Screen on Chrome/Firefox/Brave/etc. Nov 5, 2020
@tuxxy
Copy link

tuxxy commented Dec 28, 2020

I'm experiencing this issue as well with Firefox on Arch Linux. The problem persists even after removing the extension and reinstalling it (I also tried a machine restart). Metamask seems completely unusable for me at this time...

@nickgon
Copy link

nickgon commented May 9, 2021

Try removing the extension, disabling any ad blocker, and then reinstalling.

@tsylana1
Copy link

tsylana1 commented Aug 5, 2021

@tritone11 - how did you go about disabling Infura? I have a sizable amount lost in a wallet where I can't seem to find my seed phrase and would be more than happy to share some if you can fix my issue

@tritone11
Copy link

@tritone11 - how did you go about disabling Infura? I have a sizable amount lost in a wallet where I can't seem to find my seed phrase and would be more than happy to share some if you can fix my issue

Just unplug your internet connection and open metamask, or in your file host disable the infura domain or whatever domain your metamask is trying to reach. Metamask will launch without problems and bypass the whitescreen/loading page and you can recover your seed phrase (if your problem is there.)

@tsylana1
Copy link

tsylana1 commented Aug 5, 2021

@tritone11 - thanks... seems this didn't fix my issue unfortunately.... onto the next plan then...

@presentday01
Copy link

presentday01 commented Aug 5, 2021

@tritone11 - thanks... seems this didn't fix my issue unfortunately.... onto the next plan then...

this is driving me insane! if you hear of anything please quote/tag me. I think im gonna try some of the weirder methods to get it back, this literally happened after the update. I had made a new wallet for safety but didn't save the private key string in time. literally worst timing ever

@bamacryp
Copy link

bamacryp commented Sep 1, 2021

I managed to recover my seed phrase from the crashing, whitescreening Metamask, then reinstall Metamask to get everything fixed.

I set up a private ethereum network with geth and rpc enabled, then stop the internet connection of my computer. Launching metamask, it wasn't able to find infura, so it started without problems and I set up a custom RPC from the metamask dropdown pointing to my ethereum node. Metamask connected to it, I logged in and took my seed phrase from the settings.

Then, I reinstalled Metamask and restored my wallet with the seed phrase.

I guess this would work with any public ethereum node, even testnet nodes, just disable your internet connection or block the infura api, open metamask, re-establish the connection and connect with custom rpc

EDIT: for anybody unable to find a public node to recover your seed or unable to set up your own node, I can open mine shortly to let you recover your seed, just contact me.

Are you still available because I just had this happen to me and I cannot afford to lose my wallet ...especially right now...I definitely need it restored. Thank you
Screenshot (575)

@bamacryp
Copy link

bamacryp commented Jan 4, 2022 via email

@sahand525
Copy link

Metamask white/Blank Screen on Chrome version 10.9.2

@bamacryp
Copy link

bamacryp commented Feb 10, 2022 via email

@anonqoder
Copy link

anonqoder commented Jun 3, 2022

It is simply a disgrace such a serious issue can go unfixed for so long. There is really no will to fix it, plenty of users have the issue and could reproduce it, devs could asked users for more logs and troubleshooting. It is simply negligence at this point

You know what? SCREW METAMASK

What wallet should I migrate to? It should run on a Mac (no cellphone pls), be software-based (not willing to buy a hardware wallet) and should provide support for multiple accounts, tokens and interact with smart contracts. Shill to me (and to the other affect users) the alternative!

@Kamikozz
Copy link

Still reproducing #15000 (comment)

@github-actions
Copy link
Contributor

github-actions bot commented Sep 4, 2023

This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 45 days if there is no further activity. The MetaMask team intends on reviewing this issue before close, and removing the stale label if it is still a bug. We welcome new comments on this issue. We do not intend on closing issues if they report bugs that are still reproducible. Thank you for your contributions.

@github-actions github-actions bot added the stale issues and PRs marked as stale label Sep 4, 2023
@github-actions
Copy link
Contributor

This issue was closed because there has been no follow up activity in the last 45 days. If you feel this was closed in error, please reopen and provide evidence on the latest release of the extension. Thank you for your contributions.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-reproduction stale issues and PRs marked as stale type-bug
Projects
None yet
Development

No branches or pull requests