Skip to content

[Bug]: MetaMask stops when pairing request is rejected from Ledger Nano X #8641

@plasmacorral

Description

@plasmacorral

Describe the bug

Observed in RC 1 testing for 7.17.0 on Pixel 5a with android 14: When initiating add hardware for Ledger if the user declines the pairing request from the Ledger device, MetaMask stops.

Expected behavior

MetaMask handle user rejection of pairing gracefully, and provide actionable instructions in an error message.

Screenshots/Recordings

Stopped

Recording: https://recordit.co/Y4JaFbIsEe

Steps to reproduce

  1. From Android settings>connected devices> see all make sure LNX not currently paired
  2. Have LNX unlocked and the Ethereum app opened
  3. Unlock MMM
  4. Tap accounts menu from wallet view
  5. Select add account or hardware wallet
  6. Tap Add hardware wallet
  7. Tap Ledger
  8. Grant location permission with Only this time
  9. Tap Continue when LNX is found
  10. From LNX select Cancel pairing
  11. Note app closes
  12. On second attempt, note MetaMask keeps stopping

Error messages or log output

No response

Version

7.17.0 RC1 build 1266

Build type

None

Device

Pixel 5a with android 14

Operating system

Android

Additional context

iOS device presents no error on first rejection, but then gives a generic error when the second attempt to pair is rejected from the LNX device.

Tested with Ledger Nano X hardware v2.0, firmware 2.2.3, micro controller 2.30, bootloader 1.16
LNX Ethereum version 1.10.3

Severity

No response

Metadata

Metadata

Assignees

Labels

LedgerLedger hardware wallet related issue or developmentSev2-normalAn issue that may lead to users misunderstanding some limited risks they are takingregression-RCDEPRECATED: Please use "regresssion-RC-x.y.z" label insteadregression-RC-7.17.0release-7.17.0Issue or pull request that will be included in release 7.17.0release-7.19.0Issue or pull request that will be included in release 7.19.0team-hardware-wallets-deprecatedDEPRECATED: please use "team-accounts-framework" insteadtype-bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions