tahowallet/extension

Problems with importing Ledger account when proceeding before entering Ethereum app

michalinacienciala opened this issue · 0 comments

During import of a Ledger account user can get stuck on the import screen if Continue option is chosen before entering the Ethereum app in Ledger.

Steps to reproduce (do not work 100% of times):

  1. In wallet in the Accounts view choose Add Wallet
  2. Select Connect to Ledger. The Check your Ledger page gets displayed.
  3. Connect the Ledger and unlock it with PIN, but don't enter the Ethereum app
  4. Press Continue in the browser
  5. The Taho wants to connect window gets open, with no items listed
  6. Entered the Ethereum app in the Ledger. The ledger device appears on the Taho wants to connect window.
  7. Select the device and click Connect. As a result the Check your Ledger screen gets displayed again (NOOK)
  8. Click Try Again. The Taho wants to connect gets displayed again, with your Ledger device on the list.
  9. Choose the device and click Connect. Check your Ledger screen gets displayed again.
Screen.Recording.2023-11-03.at.17.55.08.mov

Logs show:

DOMException: Failed to execute 'reset' on 'USBDevice': Unable to reset the device.

and

logger.ts:208 Treating Ledger as having disconnected due to a connection error: TransportInterfaceNotAvailable: Failed to execute 'claimInterface' on 'USBDevice': Unable to claim interface.
    at TransportWebUSB.<anonymous> (chrome-extension://jofefmbjhajkchakofkfgbdgmpfngcmi/background.js:122693:21)
    at Generator.next (<anonymous>)
    at fulfilled (chrome-extension://jofefmbjhajkchakofkfgbdgmpfngcmi/background.js:122629:30)

Disconnecting the Ledger and connecting again and going through the import process again helps with the problem.

Observed on: wallet v0.50.0