wallet icon indicating copy to clipboard operation
wallet copied to clipboard

Importing Ledger wallet from docker-based instance

Open makman88 opened this issue 2 years ago • 1 comments

I am running a-wallet server using docker image running on a ubuntu server. I am attempting to load an a ledger account and receive the following error:

Last error: Cannot read properties of undefined (reading 'requestDevice')

I am able to see the Ledger and load the ledger account if I use the a-wallet.net site, using the same browser.

Any ideas what might be the difference?

makman88 avatar Oct 26 '23 20:10 makman88

hm, dont know.. can you give some more info?

do you run it in your domain, or localhost?

I believe it is failing on this line:

https://github.com/LedgerHQ/ledger-live/blob/6e04f40872c4149fac486dc1c1410a94630e6030/libs/ledgerjs/packages/hw-transport-webusb/src/webusb.ts#L10

navigator.usb

can be probably undefined if your browser does not support it, or if you disable the access to usb from browser.

scholtz avatar Nov 29 '23 12:11 scholtz