OasisDEX / oasis

Oasis - Decentralized Token Market
http://oasisdex.com/
Apache License 2.0
170 stars 56 forks source link

Oasis hangs with spinners when launched with fresh, locked Metamask #326

Open livnev opened 7 years ago

livnev commented 7 years ago

Causes quite a hostile UX. Steps to reproduce:

  1. Close Oasis
  2. Disable and enable Metamask from the Chrome Extensions menu, but do not unlock Metamask
  3. Navigate to oasisdex.com, you will see a page asking you to unlock Metamask
  4. Do as it says and unlock Metamask, but do not refresh the page
  5. The page will try to load, but will eventually get stuck with spinners (see screenshot) while hogging a full CPU core. Eventually Chrome will offer to kill the tab.
  6. After killing the tab and returning to oasisdex.com, everything will work normally.

oasishang

peculiarity commented 7 years ago

I've tried to reproduce it and it's reproducible only on mainnet

dalaei commented 7 years ago

I am still having this issue and also unable to wrap/unwrap withdraw or transfer. Ive tried the suggestion in the OP but still not working.

pimato commented 7 years ago

@dalaei where do you stugged exactly ?

Is oasis not loading up ? What kind of problems do you have regarding wrap/unwrap ?

pimato commented 7 years ago

@livnev do you still experience the same issues ?

livnev commented 6 years ago

@pimato Yes, I am still able to reproduce using the same steps. However, at the moment instead of getting the spinners, it is just stuck on the "Metamask Account Locked" page and hogs a full CPU thread.

peculiarity commented 6 years ago

I had couple of issues with parity as well. Sometimes on first load the whole page gets stuck with the spinners and the CPU goes over 100%. Needs investigation in depth

peculiarity commented 6 years ago

@livnev Can you confirm if this still persists? And if so please provide versions of the browser and the metamask-plugin.

livnev commented 6 years ago

@peculiarity Yep, reproducing the same issue.

peculiarity commented 6 years ago

Well I've tried it and didn't have problem though I had a case where the CPU increased and there were spinners but I just had to wait little bit longer. Will try to reproduce it then.

How long have you waited btw ?

livnev commented 6 years ago

@peculiarity Actually the behaviour has changed somewhat: now instead of spinners it's just stuck at the "Metamask Account Locked" screen, and eating a full CPU thread. It hangs there indefinitely (sometimes Chromium asks if I want to kill it or wait). When I try to do a refresh it actually still hangs, the only way to get to Oasis is to kill the tab and navigate to Oasis in a fresh tab.

pimato commented 6 years ago

@livnev I have the exact same experience with:

We are currently transition from meteor to react, maybe that will fix the bug. Otherwise we are going to dig deeper into it.