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

[Sentry] Error: MetamaskController - No HD Key Tree found #20321

Open
sentry-io bot opened this issue Jul 31, 2023 · 13 comments
Open

[Sentry] Error: MetamaskController - No HD Key Tree found #20321

sentry-io bot opened this issue Jul 31, 2023 · 13 comments
Assignees
Labels
area-Sentry error reporting to sentry regression-prod-10.9.0 regression-prod-11.1.1 regression-prod-11.4.0 Regression bug that was found in production in release 11.4.0 regression-prod-11.4.1 Regression bug that was found in production in release 11.4.1 Sev2-normal Normal severity; minor loss of service or inconvenience. team-accounts type-bug

Comments

@sentry-io
Copy link

sentry-io bot commented Jul 31, 2023

Sentry Issue: METAMASK-MAB4

Error: MetamaskController - No HD Key Tree found
  at MetamaskController.verifySeedPhrase (app/scripts/metamask-controller.js:2651:13)
  at call (app/scripts/lib/createMetaRPCHandler.js:23:31)
...
(14 additional frame(s) were not displayed)
@gauthierpetetin
Copy link
Contributor

Events in past 14 days: 117

@gauthierpetetin
Copy link
Contributor

gauthierpetetin commented Jul 31, 2023

Here's where the error is thrown in the metamask-controller:

async verifySeedPhrase() {
    const [primaryKeyring] = this.keyringController.getKeyringsByType(
      KeyringType.hdKeyTree,
    );
    if (!primaryKeyring) {
      throw new Error('MetamaskController - No HD Key Tree found');
    }
    const serialized = await primaryKeyring.serialize();
    const seedPhraseAsBuffer = Buffer.from(serialized.mnemonic);

Here are the functions in the KeyringController that lead to the creation of a keyring of type KeyringType.hdKeyTree:

- addNewKeyring
    - createNewVaultAndRestore
    - createFirstKeyTree
        - createNewVaultAndKeychain

@sentry-io
Copy link
Author

sentry-io bot commented Oct 6, 2023

Sentry issue: METAMASK-X78T

Copy link
Author

sentry-io bot commented Nov 6, 2023

Sentry issue: METAMASK-X7EJ

Copy link
Author

sentry-io bot commented Nov 6, 2023

Sentry issue: METAMASK-X7MC

@metamaskbot metamaskbot added the regression-prod-11.4.0 Regression bug that was found in production in release 11.4.0 label Nov 7, 2023
Copy link
Author

sentry-io bot commented Nov 13, 2023

Sentry issue: METAMASK-X7PV

@metamaskbot metamaskbot added the regression-prod-11.4.1 Regression bug that was found in production in release 11.4.1 label Nov 14, 2023
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 Feb 12, 2024
@gauthierpetetin gauthierpetetin removed the stale issues and PRs marked as stale label Feb 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 May 12, 2024
@gauthierpetetin gauthierpetetin removed the stale issues and PRs marked as stale label May 14, 2024
@gauthierpetetin
Copy link
Contributor

gauthierpetetin commented May 14, 2024

Comment from Guto on Slack: it's still valid, lets keep it open until the keyring-controller v16 is live in extension

edit: mobile -> extension

@gantunesr
Copy link
Member

Mobile issue: MetaMask/metamask-mobile#8196

@gantunesr gantunesr self-assigned this Jun 11, 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 Sep 10, 2024
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 25, 2024
@gauthierpetetin
Copy link
Contributor

Re-opening this issue as it still occurs: see here

@github-actions github-actions bot removed the stale issues and PRs marked as stale label Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Sentry error reporting to sentry regression-prod-10.9.0 regression-prod-11.1.1 regression-prod-11.4.0 Regression bug that was found in production in release 11.4.0 regression-prod-11.4.1 Regression bug that was found in production in release 11.4.1 Sev2-normal Normal severity; minor loss of service or inconvenience. team-accounts type-bug
Projects
Archived in project
Status: To be fixed
Development

No branches or pull requests

3 participants