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

[Bug]: MetaMask - RPC Error: Ledger: Unknown error while Signing transaction #24506

Open
Spider-yuchen opened this issue May 14, 2024 · 2 comments
Labels
external-contributor regression-prod-11.12.2 Regression bug that was found in production in release 11.12.2 Sev2-normal Normal severity; minor loss of service or inconvenience. team-extension-platform type-bug

Comments

@Spider-yuchen
Copy link

Describe the bug

Using matemask to connect to Ledger to send a transaction, Ledger will not pop up the signature, the transaction fails on matemask, console error: MetaMask - RPC Error: Ledger: Unknown error while signing transaction

Expected behavior

Ledger Hardware Wallet Signs and Sends Transactions Properly

Screenshots/Recordings

No response

Steps to reproduce

Select ledger address wallet on matemask,
send transaction,
enter amount,
comfirm

Error messages or log output

MetaMask - RPC Error: Ledger: Unknown error while signing transaction

Version

11.12.2

Build type

None

Browser

Microsoft Edge

Operating system

Windows

Hardware wallet

Ledger

Additional context

Ledger Nano X v2.2.3

Severity

No response

@metamaskbot metamaskbot added external-contributor regression-prod-11.12.2 Regression bug that was found in production in release 11.12.2 labels May 14, 2024
@Spider-yuchen Spider-yuchen changed the title [Bug]: [Bug]: MetaMask - RPC Error: Ledger: Unknown error while Signing transaction 预期行为 May 14, 2024
@Spider-yuchen Spider-yuchen changed the title [Bug]: MetaMask - RPC Error: Ledger: Unknown error while Signing transaction 预期行为 [Bug]: MetaMask - RPC Error: Ledger: Unknown error while Signing transaction May 14, 2024
@DanielTech21 DanielTech21 added Sev2-normal Normal severity; minor loss of service or inconvenience. team-extension-platform labels May 14, 2024
@DanielTech21
Copy link

Hi @Spider-yuchen ,

Please update your MetaMask extension wallet version to 11.15.2. and disable other extensions on your browser.
You can use the official website - https://metamask.io/download/

To ensure a seamless experience when using your Ledger device with MetaMask, please adhere to the following guidelines:

Close Ledger Live: Ledger Live should be closed to avoid conflicts when MetaMask attempts to connect to your Ledger device.
Please unlock your Device: Ensure your Ledger is unlocked and the Ethereum application is open.
Update Your Device and Apps:
Firmware: Verify that your Ledger or Trezor device runs the latest firmware version.
Ethereum App: Reinstall or update the Ethereum app on your Ledger through Ledger Live (Manager section).
Browser Compatibility: Make sure that your internet browser is up to date.
Enable Contract Data: In the Ethereum app settings on your Ledger device, enable "Contract data".
For detailed instructions on how to connect and use your Ledger or Trezor with MetaMask, please visit our guide here: How to connect a Trezor or Ledger Hardware Wallet.

Additional Steps for Ledger Users:

Enable Blind Signing: To manage ERC-20 tokens and interact with smart contracts, turn on "Blind Signing" in the Ethereum app settings on your Ledger device.
Connect Ledger to MetaMask: Follow the specific steps provided on Ledger's support page to connect your Ledger device to MetaMask correctly. Connect your Ledger to MetaMask.

Let me know if you still need help with the error.

@Spider-yuchen
Copy link
Author

Spider-yuchen commented May 15, 2024

Hi @Spider-yuchen ,

Please update your MetaMask extension wallet version to 11.15.2. and disable other extensions on your browser. You can use the official website - https://metamask.io/download/

To ensure a seamless experience when using your Ledger device with MetaMask, please adhere to the following guidelines:

Close Ledger Live: Ledger Live should be closed to avoid conflicts when MetaMask attempts to connect to your Ledger device. Please unlock your Device: Ensure your Ledger is unlocked and the Ethereum application is open. Update Your Device and Apps: Firmware: Verify that your Ledger or Trezor device runs the latest firmware version. Ethereum App: Reinstall or update the Ethereum app on your Ledger through Ledger Live (Manager section). Browser Compatibility: Make sure that your internet browser is up to date. Enable Contract Data: In the Ethereum app settings on your Ledger device, enable "Contract data". For detailed instructions on how to connect and use your Ledger or Trezor with MetaMask, please visit our guide here: How to connect a Trezor or Ledger Hardware Wallet.

Additional Steps for Ledger Users:

Enable Blind Signing: To manage ERC-20 tokens and interact with smart contracts, turn on "Blind Signing" in the Ethereum app settings on your Ledger device. Connect Ledger to MetaMask: Follow the specific steps provided on Ledger's support page to connect your Ledger device to MetaMask correctly. Connect your Ledger to MetaMask.

Let me know if you still need help with the error.

Following the above steps we successfully send the transaction, but there is still a problem: we use wagmi to call injected to connect to matemask, matemask is connected to a ledger hardware wallet, and the same problem occurs when we call the deposit contract, and it turns out that everything works fine when we use only matemask and not ledger!

img_v3_02ar_18ff040e-9b80-4470-81cb-118717ba80hu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external-contributor regression-prod-11.12.2 Regression bug that was found in production in release 11.12.2 Sev2-normal Normal severity; minor loss of service or inconvenience. team-extension-platform type-bug
Projects
Status: To be fixed
Status: To be fixed
Development

No branches or pull requests

3 participants