-
Notifications
You must be signed in to change notification settings - Fork 5k
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]: Unable to pair to Ledger a second time after removing accounts #22837
Comments
Observed the same issue with Ledger on 11.10.0
|
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. |
i am unable to reproduce the issue in metamask extension 11.16.7 which is latest in develop branch. |
Hi @plasmacorral, I have tried to reproduce using the latest versions but did not face this issue with the steps provided. Chrome: 125.0.6422.142 However, I am able to reproduce with the 'Unknown Error' when the ledger device is locked and the user is trying to add/remove the device into MM Extension. @dawnseeker8 are you able to debug? |
hi, i have fixed the issue with patch to @metamask/eth-ledger-bridge-keyring. the pr is #25462 |
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** Issue #22837 descrip that ledger sometimes will display `Unknown Error` during pairing. we have tried to replicate the issue and discover that it happen during ledger is lock and not open Eth app. this PR will replace the `Unknown Error` with more meaningful error message to guide user solve the issue. [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/25462?quickstart=1) ## **Related issues** Fixes: #22837 ## **Manual testing steps** 1. Setup wallet 2. Connect, unlock and open the Ethereum app on Ledger 3. Use the add hardware flow to add some Ledger accounts 4. Remove the Ledger accounts from full screen mode 5. Use add hardware flow to try and add any Ledger accounts 6. Select the `paired` with that ledger when it is available 7. ledger should be locked status or unlock ledger but not opening eth app. 8. you will see new error message `Unlock your Ledger device and open the ETH app` 9. After you unlock your ledger and open ETH app. and click paired again 10. you should be able to select accounts from next screen and import those accounts from ledger. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** https://recordit.co/kdCDL4laWo <!-- [screenshots/recordings] --> ### **After** https://github.com/MetaMask/metamask-extension/assets/7315988/f11a1867-ad3f-4796-8661-6d3469bed682 <!-- [screenshots/recordings] --> ## **Pre-merge author checklist** - [x] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md). - [x] I've completed the PR template to the best of my ability - [x] I’ve included tests if applicable - [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [x] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **Pre-merge reviewer checklist** - [x] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [x] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots. --------- Co-authored-by: chloeYue <[email protected]>
Describe the bug
chrome 117.0.5938.92
mac Sonoma 14.2.1
Ledger Nano X running firmware 2.1.0
Ethereum app 1.10.1
If I pair the Ledger device, remove the accounts, and try to pair again I am stuck with an
Unknown error
and unable to add any further Ledger accounts.The only way I have found so far to get out of this situation is to forget all HID devices and reload the extension.
This was observed in 11.10 RC testing, but confirmed to exist in 11.9.0.
Expected behavior
Should be able to add and remove Ledger accounts repeatedly without having to forget devices and reload extension.
Screenshots/Recordings
https://recordit.co/P9YMp1mOcN
Steps to reproduce
Error messages or log output
Version
11.9.0
Build type
None
Browser
Chrome
Operating system
MacOS
Hardware wallet
Ledger
Additional context
No response
Severity
No response
The text was updated successfully, but these errors were encountered: