sync2 icon indicating copy to clipboard operation
sync2 copied to clipboard

Sync2 + Ledger on Linux: "Wrong device"

Open sudoforge opened this issue 3 years ago • 5 comments

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)

sudoforge avatar Feb 01 '22 04:02 sudoforge

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

qianbin avatar Feb 09 '22 07:02 qianbin

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.

sudoforge avatar Feb 09 '22 08:02 sudoforge

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.

qianbin avatar Feb 09 '22 08:02 qianbin

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.

sudoforge avatar Feb 09 '22 10:02 sudoforge

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.

qianbin avatar Feb 09 '22 10:02 qianbin