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

Version 8.1.9 freezes while importing keystore #10113

Open
eiabea opened this issue Dec 19, 2020 · 51 comments
Open

Version 8.1.9 freezes while importing keystore #10113

eiabea opened this issue Dec 19, 2020 · 51 comments
Labels
area-performance Issues relating to slowness of app, cpu usage, and/or blank screens. Sev2-normal Normal severity; minor loss of service or inconvenience. team-accounts type-bug

Comments

@eiabea
Copy link

eiabea commented Dec 19, 2020

Describe the bug
After importing a metamask wallet from a seed and trying to import a keystore json file into this account, metamask freezes until chrome asks to "wait" or "exit" the tab

Steps to reproduce (REQUIRED)
Steps to reproduce the behavior, libraries used with version number, and/or any setup information to easily reproduce:

  1. Install metamask 8.1.9
  2. Import wallet from seed
  3. Click on import account
  4. Select type "Json"
  5. Enter your password
  6. Experience a freeze of the metamask tab

Expected behavior
Account gets imported

Browser details (please complete the following information):

  • OS: Linux
  • Hardware Wallet: No
  • Browser: Version 87.0.4280.66 (Official Build) Arch Linux (64-bit)
  • MetaMask Version: 8.1.9

Additional context (Error Messages, etc.)
Downgrading MetaMask to 8.1.5 fixed the issue

@tmashuang
Copy link
Contributor

After installing and import, but before getting to the home page, are you accepting participating in the metrics page? Sounds like a #10097.

@eiabea
Copy link
Author

eiabea commented Dec 19, 2020

After installing and import, but before getting to the home page, are you accepting participating in the metrics page? Sounds like a #10097.

No i haven't actually

@tmashuang
Copy link
Contributor

Where was the json file account created? I've imported a json account created from Mycrypto.

@eiabea
Copy link
Author

eiabea commented Dec 20, 2020

Where was the json file account created? I've imported a json account created from Mycrypto.

directly in geth

@rekmarks rekmarks added Sev2-normal Normal severity; minor loss of service or inconvenience. needs-reproduction type-bug labels Dec 22, 2020
@shoenseiwaso
Copy link

I'm seeing the same issue with MetaMask, Chrome on macOS. MetaMask pegs a CPU core for several minutes until killed when attempting to import a JSON keystore file.

@adamsoffer
Copy link

Can confirm this on my end as well. Brave on macOS. Running Big Sur on the Apple M1.

@miki-bgd-011
Copy link

Same issue, Ubuntu 20, Chrome 87.0.4280.88.

@davidgamero
Copy link

Thought I had this same issue on Intel Mac running Big Sur, CPU at 100% and fan lifting off. Metamask extension completely unresponsive. About 15min later it pops up and wallet was imported. Used to import from JSON instantly
Chrome 87.0.4280.88

@kyrogue
Copy link

kyrogue commented Jan 6, 2021

same issue happening, on chrome 87.0.4280.88 , metamask 8.1.9 , when importing JSON key it hangs and never recovers

@rekmarks
Copy link
Member

rekmarks commented Jan 6, 2021

8.1.10 is live on Firefox and is rolling out to Chrome and Brave as we speak. Can someone please confirm whether the issue persists with the new version?

@davidgamero
Copy link

I was unable to reproduce the issue before but I can confirm my configuration continues to import wallets with the same freezing behavior on 8.1.10

@rekmarks
Copy link
Member

rekmarks commented Jan 6, 2021

Thank you. We just tried changing an Infura API configuration. We're not sure how long it will take to have an effect, but we may see some improvements in the next 24 hours, potentially much sooner. We will continue to monitor this issue for your feedback.

@Deepcryptodive
Copy link

Deepcryptodive commented Jan 17, 2021

Same issue!

Metamask 8.1.11
Both on Chrome & Brave
Both using the standard Infura RPC, and a custom RPC
Linux

@d3v0n-m
Copy link

d3v0n-m commented Jan 17, 2021

I´ve got the same issue with Chrome (up-to-date Version 87.0.4280.141 ) and the latest (first ever installed) version of Metamask (Version 8.1.1.1) on macOS BigSur. Wanted to import an fresh Account, created yesterday locally with geth. Tried to import the json-File.

Thanks in advance.

@rekmarks
Copy link
Member

I have reproduced the freezing locally in Chrome on develop while importing a wallet file created by geth account new. We are investigating the cause and will report back once we have more information.

@eordano
Copy link

eordano commented Jan 29, 2021

Hi there, I am also experiencing this issue.

It was working fine last week, until I upgraded Chrome (current: 88.0.4324.96) and now it freezes, with no errors AFAIK.

Heads up, 9.0.4 seems to trigger this error when loading unpacked:

image

@rekmarks
Copy link
Member

rekmarks commented Feb 2, 2021

Here are my findings from reproducing this issue. When importing an account from a JSON file, we end up making this call to ethereumjs-wallet. The extension freezes on this line in that dependency. Ultimately I believe it hangs somewhere in the smix function in the scryptsy package. The extension recovers on a reload of the background process.

The current versions of the aforementioned dependencies were introduced in #9725. That was merged in October/November 2020. It's likely that this functionality has been broken since then. Importing a wallet from a JSON file works with the parent commit of the merge for #9725.

We don't yet have a timeline for a fix, but it should hopefully be straightforward. We will update this issue if we find anything else, but may just close it when a fix it merge. It should then go out in the subsequent release.

@honsa
Copy link

honsa commented Feb 15, 2021

Still a game breaking issue the background logs, a lot of 3. party issues:

initSentry.js:1 Setting up Sentry Remote Error Reporting for 'production': SENTRY_DSN initSentry.js:8 Removing intrinsics.Promise.any initSentry.js:8 Removing intrinsics.Reflect.@@toStringTag initSentry.js:8 Removing intrinsics.%StringPrototype%.replaceAll bg-libs.js:16 Invalid asm.js: Unexpected token initSentry.js:8 MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 "update" listeners added. Use emitter.setMaxListeners() to increase limit. (anonymous) @ initSentry.js:8 api.segment.io/v1/batch:1 Failed to load resource: net::ERR_NAME_NOT_RESOLVED api.segment.io/v1/batch:1 Failed to load resource: net::ERR_NAME_NOT_RESOLVED api.segment.io/v1/batch:1 Failed to load resource: net::ERR_NAME_NOT_RESOLVED api.segment.io/v1/batch:1 Failed to load resource: net::ERR_NAME_NOT_RESOLVED api.segment.io/v1/batch:1 Failed to load resource: net::ERR_NAME_NOT_RESOLVED api.segment.io/v1/batch:1 Failed to load resource: net::ERR_NAME_NOT_RESOLVED api.segment.io/v1/batch:1 Failed to load resource: net::ERR_NAME_NOT_RESOLVED api.segment.io/v1/batch:1 Failed to load resource: net::ERR_NAME_NOT_RESOLVED api.segment.io/v1/batch:1 Failed to load resource: net::ERR_NAME_NOT_RESOLVED api.segment.io/v1/batch:1 Failed to load resource: net::ERR_NAME_NOT_RESOLVED api.segment.io/v1/batch:1 Failed to load resource: net::ERR_NAME_NOT_RESOLVED api.segment.io/v1/batch:1 Failed to load resource: net::ERR_NAME_NOT_RESOLVED api.segment.io/v1/batch:1 Failed to load resource: net::ERR_NAME_NOT_RESOLVED api.segment.io/v1/batch:1 Failed to load resource: net::ERR_NAME_NOT_RESOLVED api.segment.io/v1/batch:1 Failed to load resource: net::ERR_NAME_NOT_RESOLVED api.segment.io/v1/batch:1 Failed to load resource: net::ERR_NAME_NOT_RESOLVED initSentry.js:8 MetaMask - Account Tracker single call balance fetch failed Object (anonymous) @ initSentry.js:8 api.segment.io/v1/batch:1 Failed to load resource: net::ERR_NAME_NOT_RESOLVED api.segment.io/v1/batch:1 Failed to load resource: net::ERR_NAME_NOT_RESOLVED api.segment.io/v1/batch:1 Failed to load resource: net::ERR_NAME_NOT_RESOLVED ipfs.3box.io/config?address=0x69441dc0d22365b7f8108b43fe4299c865f50903:1 Failed to load resource: the server responded with a status of 404 () api.segment.io/v1/batch:1 Failed to load resource: net::ERR_NAME_NOT_RESOLVED api.segment.io/v1/batch:1 Failed to load resource: net::ERR_NAME_NOT_RESOLVED api.segment.io/v1/batch:1 Failed to load resource: net::ERR_NAME_NOT_RESOLVED api.segment.io/v1/batch:1 Failed to load resource: net::ERR_NAME_NOT_RESOLVED DevTools failed to load SourceMap: Could not load content for chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/sourcemaps/initSentry.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME DevTools failed to load SourceMap: Could not load content for chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/sourcemaps/bg-libs.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME DevTools failed to load SourceMap: Could not load content for chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/sourcemaps/background.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME initSentry.js:1 [Violation] 'setInterval' handler took 53ms initSentry.js:1 POST https://api.segment.io/v1/batch net::ERR_NAME_NOT_RESOLVED (anonymous) @ initSentry.js:1 (anonymous) @ initSentry.js:8 (anonymous) @ background.js:18 t.exports @ background.js:18 t.exports @ background.js:18 Promise.then (async) c.request @ background.js:18 (anonymous) @ background.js:18 flush @ background.js:12 c @ initSentry.js:1 setTimeout (async) (anonymous) @ initSentry.js:1 enqueue @ background.js:12 page @ background.js:12 trackPage @ background.js:1 (anonymous) @ background.js:1 c.apply @ background.js:51 c.handle @ background.js:51 a.handle @ background.js:51 a.write @ background.js:51 m @ background.js:116 h @ background.js:34 a.emit @ background.js:34 _ @ background.js:116 w @ background.js:116 v.push @ background.js:116 _write @ background.js:110 v @ background.js:116 (anonymous) @ background.js:116 b.write @ background.js:116 m @ background.js:116 h @ background.js:34 a.emit @ background.js:34 _ @ background.js:116 w @ background.js:116 v.push @ background.js:116 _onMessage @ background.js:80 (anonymous) @ background.js:80 initSentry.js:1 [Violation] 'setInterval' handler took 53ms initSentry.js:1 POST https://api.segment.io/v1/batch net::ERR_NAME_NOT_RESOLVED (anonymous) @ initSentry.js:1 (anonymous) @ initSentry.js:8 (anonymous) @ background.js:18 t.exports @ background.js:18 t.exports @ background.js:18 Promise.then (async) c.request @ background.js:18 (anonymous) @ background.js:18 flush @ background.js:12 c @ initSentry.js:1 setTimeout (async) (anonymous) @ initSentry.js:1 enqueue @ background.js:12 page @ background.js:12 trackPage @ background.js:1 (anonymous) @ background.js:1 c.apply @ background.js:51 c.handle @ background.js:51 a.handle @ background.js:51 a.write @ background.js:51 m @ background.js:116 h @ background.js:34 a.emit @ background.js:34 _ @ background.js:116 w @ background.js:116 v.push @ background.js:116 _write @ background.js:110 v @ background.js:116 (anonymous) @ background.js:116 b.write @ background.js:116 m @ background.js:116 h @ background.js:34 a.emit @ background.js:34 _ @ background.js:116 w @ background.js:116 v.push @ background.js:116 _onMessage @ background.js:80 (anonymous) @ background.js:80 initSentry.js:1 POST https://api.segment.io/v1/batch net::ERR_NAME_NOT_RESOLVED (anonymous) @ initSentry.js:1 (anonymous) @ initSentry.js:8 (anonymous) @ background.js:18 t.exports @ background.js:18 t.exports @ background.js:18 Promise.then (async) c.request @ background.js:18 (anonymous) @ background.js:18 flush @ background.js:12 c @ initSentry.js:1 setTimeout (async) (anonymous) @ initSentry.js:1 enqueue @ background.js:12 track @ background.js:12 (anonymous) @ background.js:1 _track @ background.js:1 trackEvent @ background.js:1 (anonymous) @ background.js:1 c.apply @ background.js:51 c.handle @ background.js:51 a.handle @ background.js:51 a.write @ background.js:51 m @ background.js:116 h @ background.js:34 a.emit @ background.js:34 _ @ background.js:116 w @ background.js:116 v.push @ background.js:116 _write @ background.js:110 v @ background.js:116 (anonymous) @ background.js:116 b.write @ background.js:116 m @ background.js:116 h @ background.js:34 a.emit @ background.js:34 _ @ background.js:116 w @ background.js:116 v.push @ background.js:116 _onMessage @ background.js:80 (anonymous) @ background.js:80

Import works, but this is not ok :)

@sebastiank9
Copy link

sebastiank9 commented Feb 19, 2021

Also having the same problem.

Lost access to my Metamask-wallet and I can't import account via my json-file. Metamask gets stuck and crashes everytime. I have no seed phrase available though. Is there any way to recover? ... it's getting frustrating

I tried to recover with vault encryptor, but since the vault encryptor only saves the data from the last mnenomic wallet active on the browser, there is no way to recover older ones - or is that so?

@Deepcryptodive
Copy link

@sebastiank9 you should be able to import the json file into another wallet like MEW. It is less secure though.

https://kb.myetherwallet.com/en/getting-started/how-to-access-your-wallet/

To connect with Keystore/JSON + Password:
This is not a recommended way to connect. We highly suggest using MEW offline for this option.
Step 1. On the MEW front page, select ‘Access My Wallet’.

Step 2. Choose the ‘Software’ option to connect, then select ‘JSON File’ and click ‘Continue’.

Step 3. Locate your Keystore/JSON file in the pop-up window. It should begin with ‘UTC–’.

Step 4. Enter your password, and click ‘Unlock wallet’.

Step 5. You’re done!

@adamsoffer
Copy link

Any update on this issue?

@mohsenghajar
Copy link

mohsenghajar commented Mar 1, 2021

I had the same issue yesterday on my desktop. But it worked on my laptop after about 5 minutes of it appearing frozen. Desktop has not worked yet.

Edit: it worked on my desktop too. Took about 10 minutes.

@bhelm
Copy link

bhelm commented Mar 8, 2021

Took long enough to google up and read this issue, but importing finished quickly after that (like 6 minutes). So be patient.
That was on a i7-7700HQ notebook. I guess import speed depends on CPU power available.

@github-actions
Copy link
Contributor

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 Jul 24, 2023
@shoenseiwaso
Copy link

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.

Still a problem

1 similar comment
@shoenseiwaso
Copy link

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.

Still a problem

@haidarabdillah
Copy link

still on problem

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

github-actions bot commented Dec 3, 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 Dec 3, 2023
@shoenseiwaso
Copy link

Fairly certain this is still an issue.

@github-actions github-actions bot removed the stale issues and PRs marked as stale label Dec 3, 2023
@github-project-automation github-project-automation bot moved this to To be fixed in Bugs by severity Feb 19, 2024
Copy link
Contributor

github-actions bot commented Mar 2, 2024

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 Mar 2, 2024
@miki-bgd-011
Copy link

What a shit show, 4y old bug. Switched to Rabby Wallet couple of months ago, oh boy what a difference!!

@github-actions github-actions bot removed the stale issues and PRs marked as stale label Mar 2, 2024
@github-project-automation github-project-automation bot moved this to To be fixed in Bugs by team Apr 9, 2024
Copy link
Contributor

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 Jul 11, 2024
@shoenseiwaso
Copy link

Still an issue

@github-actions github-actions bot removed the stale issues and PRs marked as stale label Jul 12, 2024
Copy link
Contributor

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 Oct 10, 2024
@shoenseiwaso
Copy link

Still an issue

@github-actions github-actions bot removed the stale issues and PRs marked as stale label Oct 10, 2024
@github-project-automation github-project-automation bot moved this to To be fixed in Performance Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-performance Issues relating to slowness of app, cpu usage, and/or blank screens. Sev2-normal Normal severity; minor loss of service or inconvenience. team-accounts type-bug
Projects
Status: To be fixed
Status: To be fixed
Status: To be fixed
Development

No branches or pull requests