Importing Ledger wallet from docker-based instance
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?
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.