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

Sync2 + Ledger on Linux: "Wrong device" #240

Open
sudoforge opened this issue Feb 1, 2022 · 5 comments
Open

Sync2 + Ledger on Linux: "Wrong device" #240

sudoforge opened this issue Feb 1, 2022 · 5 comments

Comments

@sudoforge
Copy link

I'm unable to sign (or even initiate) transactions due to the application failing to interact with the Ledger app. With the VeChain app open on my Ledger wallet, I'm getting a "Wrong Device" error, as can be seen from the screenshot below:

20220131T205834609

System information

➜ uname -srvm
Linux 5.16.4-arch1-1 #1 SMP PREEMPT Sat, 29 Jan 2022 19:08:13 +0000 x86_64


➜ pacman -Qi vechain-sync2-bin | head -5
Name            : vechain-sync2-bin
Version         : 2.0.3-1
Description     : Vechain Sync - Desktop
Architecture    : x86_64
URL             : https://github.com/vechain/sync2

Ledger information

Firmware version: 2.0.2
VeChain application version: 1.0.7

I'm not sure how to debug this further. No error messages are printed to the console when the application is started from the command line, and there isn't any sort of error message displayed in any of the Developer Tools tabs -- until I close the modal, of course, and then a JS error about the transaction being canceled is printed out:

Error: cancelled
    at app.js:1
    at vendor.js:15
    at Array.forEach (<anonymous>)
    at hide (vendor.js:15)
    at ne (vendor.js:15)
    at o.i (vendor.js:15)
    at ne (vendor.js:15)
    at o.Ti.t.$emit (vendor.js:15)
    at hide (app.js:1)
    at ne (vendor.js:15)
@qianbin
Copy link
Member

qianbin commented Feb 9, 2022

Do you have another ledger? This error is reported when a non-matched(not previously imported) device connected.

@sudoforge
Copy link
Author

Is there something specific about the physical device that would matter? I have several ledger devices, but the one I am attempting to use with this application is provisioned with the same seed (and thus, keys) that has previously been used with the application.

@qianbin
Copy link
Member

qianbin commented Feb 9, 2022

the error message indicates the address(or say pub key) is not the one the app knows. you may re-link the device with sync app.

@sudoforge
Copy link
Author

that... doesn't make sense.

i open the app, connect with my wallet, see my funds, and attempt to move them -- then get the error.

@qianbin
Copy link
Member

qianbin commented Feb 9, 2022

The xpub is already stored in the sync app. That's to say, you can see the wallet and funds without connected to ledger device.

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