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

Stuck on "connecting to network" #2636

Closed
mtcarmel1914 opened this issue Dec 1, 2017 · 11 comments
Closed

Stuck on "connecting to network" #2636

mtcarmel1914 opened this issue Dec 1, 2017 · 11 comments
Labels

Comments

@mtcarmel1914
Copy link

mtcarmel1914 commented Dec 1, 2017

description added by moderator 11/8

several users have reported their extension stuck on "connecting to Mainnet" or "connecting to network" when they're logged out and they click the extension.

via slack

have been getting infinite loading gif on startup.
when I unlock in mainnet it infinite loads, but if I open into rinkeby or kovan its fine and then I can change it over to mainnet. confimed this about 6 times in a row. it fixes it when I restart chrome 50% of the time.
Mojave 10.14 (18A391)
Google Chrome Version 70.0.3538.77 (Official Build) (64-bit)

the workaround is to turn the plugin off/on, and then make sure its not on mainnet when i type my password. then switch to mainnet. I also noticed that when i switch to a different browser tab while on mainnet it goes into infinite loading as well

@mtcarmel1914
Copy link
Author

will not start! stuck on "connecting to network". How do I fix this issue?

@vincentserpoul
Copy link
Contributor

I have the same.
I usually just switch to main network back to the network I wanted to connect to. It works for me as a temp workaround

@danfinlay
Copy link
Contributor

That workaround works for most people.

This seems to happen to some users after some kind of network interruption, it seems to break our network connection and it isn't cleaned up well. We need to find a good way to reproduce this in order to fix this.

If anyone can describe what first caused this for them, it could help us fix it for good.

@danfinlay
Copy link
Contributor

We need to handle provider errors better.

@danfinlay
Copy link
Contributor

Partly related to #2552.

@danfinlay
Copy link
Contributor

The usual workaround for this is to switch the provider (top left menu) and back again. There seems to be some case where we do not catch an infura error, and stop polling for provider connection. If we just catch around our provider connection polling, we should be able to fix this.

@et
Copy link

et commented May 3, 2018

If anyone can describe what first caused this for them, it could help us fix it for good.

@danfinlay - I had Little Snitch blocking requests to infura. You could do the same by just blocking requests to infura in your /etc/hosts

0.0.0.0 api.infura.io

To reproduce:

  • Block requests to infura
  • Open metamask
  • Observe the never ending spinner (this should have some kind of time out to inform the user)
  • Allow requests to infura
  • Open metamask
  • Observe that the never ending spinner is still present. The only way to fix is to change the network.

@bdresser bdresser closed this as completed Jun 6, 2018
@bdresser bdresser reopened this Jun 11, 2018
@bdresser bdresser changed the title will not start! stuck on "connecting to network" Stuck on "connecting to network" Nov 8, 2018
@bdresser bdresser removed the P1-asap label Dec 6, 2018
@whymarrh
Copy link
Contributor

whymarrh commented Feb 4, 2019

Observe the never ending spinner (this should have some kind of time out to inform the user)

I believe this has been fixed with #5893

@martianatwork
Copy link

Best solution i have found is right click on the extension icon in the browser.

  1. Select "Inspect Pop-up"
  2. Open the popup
  3. Delete the loading overlay using the inspector tool
  4. Change network and unlock wallet if required.
  5. Reopen the metamask

My metamask was locked, first time it didn't show that the network is changed but once i unlocked it metamask crashed and i had to reopen the popup

@cryptoKevinL
Copy link

cryptoKevinL commented Jun 21, 2023

I just ran into this as well, when accidentally connecting to Rinkeby. I had to inspect both the pop-up and the extension itself. Took me about 20 min to remove all the pop-ups to get back to main view. I have some error dumps from within MM error message if that would help, but there are pretty high level.
Screenshot 2023-06-21 at 2 18 58 PM

@kabaluyot
Copy link

Best solution i have found is right click on the extension icon in the browser.

  1. Select "Inspect Pop-up"
  2. Open the popup
  3. Delete the loading overlay using the inspector tool
  4. Change network and unlock wallet if required.
  5. Reopen the metamask

My metamask was locked, first time it didn't show that the network is changed but once i unlocked it metamask crashed and i had to reopen the popup

This worked lmao

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests