Skip to content
This repository has been archived by the owner on Jun 27, 2022. It is now read-only.

When using bluetooth web transport, application method call hangs forever #440

Open
satb opened this issue Jan 11, 2020 · 3 comments
Open
Assignees

Comments

@satb
Copy link

satb commented Jan 11, 2020

We have an app installed on the ledger X. Everything for the app works with the webusb transport without issues. Now switching to the bluetooth transport, the pairing happens fine, but any api calls done on the instance of the app now hangs forever.

So, with webusb while the below works, it isn't with the bluetooth. It hangs on the getAccount step.

const transport = await createTransport();
const app = new VET(transport);
let account = await app.getAccount(${pathPrefix}/${index});

However, if I close the app, the transport errors out. But if I don't close the app, the last line in the code above never returns.

@satb satb changed the title Using bluetooth web transport application method call hangs forever When using bluetooth web transport, application method call hangs forever Jan 11, 2020
@satb
Copy link
Author

satb commented Jan 11, 2020

Interestingly, the btc app works fine to atleast get the accounts. Does the app also need to support the bluetooth transport?

@satb
Copy link
Author

satb commented Jan 15, 2020

@btchip - Any update on this?

@DalderupMaurice
Copy link

I think I'm having a similar issue.
I am trying to get an account (using WebUSB), but when I send the command to the Ledger it never returns because an action was already pending (although I haven't sent any actions). #461

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants