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

There was an error connecting sparrow to my Trezor wallet "Error parsing JSON" #542

Closed
medoyley opened this issue May 10, 2022 · 5 comments

Comments

@medoyley
Copy link

I have installed the sparrow wallet version 1.6.3 and connected with the Bitcoin Core. I have set up my Trezor wallet and everytime I try to create a new wallet with sparrow I get the message there was an error connecting to the wallet Error parsing JSON. I thought this error was fixed in version 1.55. Please advise.
Thanks

@craigraw
Copy link
Collaborator

Please look in the Sparrow log file (see Help menu) to find the full error, and paste it here. Please also supply your operating system, and at what point in the process you receive the error.

@medoyley
Copy link
Author

Here are my sparrow logs from today's connecting error:
2022-05-11 13:04:17,718 ERROR [Thread-62] c.s.s.i
.Hwi [null:-1] Error parsing JSON:
com.sparrowwallet.sparrow.io.ImportException: Error scanning, check devices are ready
at [email protected]/com.sparrowwallet.sparrow.io.Hwi.enumerate(Unknown Source)
at [email protected]/com.sparrowwallet.sparrow.io.Hwi$ScheduledEnumerateService$1.call(Unknown Source)
at [email protected]/com.sparrowwallet.sparrow.io.Hwi$ScheduledEnumerateService$1.call(Unknown Source)
at javafx.graphics/javafx.concurrent.Task$TaskCallable.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at javafx.graphics/javafx.concurrent.Service.lambda$executeTask$6(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at javafx.graphics/javafx.concurrent.Service.lambda$executeTask$7(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
2022-05-11 18:30:25,069 ERROR [Thread-89] c.s.s.i.Hwi [null:-1] Error parsing JSON:
com.sparrowwallet.sparrow.io.ImportException: Error scanning, check devices are ready
at [email protected]/com.sparrowwallet.sparrow.io.Hwi.enumerate(Unknown Source)
at [email protected]/com.sparrowwallet.sparrow.io.Hwi$EnumerateService$1.call(Unknown Source)
at [email protected]/com.sparrowwallet.sparrow.io.Hwi$EnumerateService$1.call(Unknown Source)
at javafx.graphics/javafx.concurrent.Task$TaskCallable.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at javafx.graphics/javafx.concurrent.Service.lambda$executeTask$6(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at javafx.graphics/javafx.concurrent.Service.lambda$executeTask$7(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
I am using an HP laptop running Windows 11 Home V210H2 OS Build 22000.675
The error occurs when I am in sparrow I have created a new wallet and I am pressing the Connected Hardware Wallet Button. I then select Scan and while sparrow is scanning for the Trezor to connect I get the error message.
Let me know if you have any questions
Thanks

@craigraw
Copy link
Collaborator

It might caused by an anti-virus blocking the HWI executable Sparrow is trying to run.

Here's something you can try - open your Sparrow config file from the Sparrow home folder (see the FAQ to find this). While Sparrow is running, look for an entry called "hwi". Copy that path into your cmd command prompt and run it as follows: c:\path\to\hwi enumerate. Paste any output here.

@santochibtc
Copy link

santochibtc commented Jun 24, 2022

Hi, I am having this problem with Windows 10, Sparrow 1.6.5 and a Bitbox02.
In the config file there is this line
"hwi": "C:\Users\XXXX\AppData\Roaming\Sparrow\hwi\hwi-2.1.1976653975542597384.tmp",
Changing the extension to exe and excuting the hwi enumerate command, the bitbox asks for the pin, I introduce the pin, the wallet is unlocked, but the hwi does not finish. Command does not end even with Ctrl+C.

@santochibtc
Copy link

santochibtc commented Jul 3, 2022

Could be an issue with the HWI interface
bitcoin-core/HWI#613

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

3 participants