Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ledger Auth problem #13

Closed
MartySalade opened this issue Oct 9, 2022 · 3 comments
Closed

Ledger Auth problem #13

MartySalade opened this issue Oct 9, 2022 · 3 comments

Comments

@MartySalade
Copy link

Hi,

I'm having an issue to connect with my ledger while developing a DApp. When I click on the Ledger button to connect it always goes into the first if statement meaning the await dappProvider.init(); hasn't returned a successful response, so nothing happens except for the console.warn message in the console.

image

When I connect myself with the Extansion (or any other login method), logout and then try to reconnect with ledger, it is working fine. Not sure how it really works there ?

@juliancwirko
Copy link
Member

juliancwirko commented Oct 9, 2022

Hi, thanks for reporting that. I'll take a look as soon as possible. I will also update dependencies.

By the way, have you got any other error messages in the browser's console when connecting the Ledger device?

Also, the best would be if you could prepare a reproduction repository. But first, I will check all on my side.

I think it shouldn't matter, but what is the type of your Ledger? I tested on Ledger Nano S.

@MartySalade
Copy link
Author

Ledger Nano S as well!
Ok thanks, let me know if there is any problem. The only message displayed on the browser is the 'Something went wrong trying to sync with the Ledger!' message

@juliancwirko
Copy link
Member

Looks good on my side. The piece of code you pasted here should be triggered when you hard refresh the page, not when you log in, so maybe some state refreshes the page before you log in, and the required states are lost. Do you have the same on the demo website? ->

The reproduction repository would be super helpful.

By the way. I've updated some dependencies, but I think nothing related to HW.

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

No branches or pull requests

2 participants