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

Issues connecting to Core RPC over Tor #84

Closed
MattDHill opened this issue Mar 28, 2021 · 1 comment
Closed

Issues connecting to Core RPC over Tor #84

MattDHill opened this issue Mar 28, 2021 · 1 comment

Comments

@MattDHill
Copy link

MattDHill commented Mar 28, 2021

Running on MacOS. Initial connection succeeded. A few days later, the connection failed with these errors:

2021-03-28 09:30:41,076 ERROR [JavaFX Application Thread] c.s.s.n.ElectrumServer [null:-1] Failed to start BWT dev.bwt.libbwt.BwtException: JSON-RPC error: Hyper error: failed to lookup address information: nodename nor servname provided, or not known at com.sparrowwallet.merged.module@1.3.1/dev.bwt.libbwt.daemon.NativeBwtDaemon.start(Native Method) at com.sparrowwallet.sparrow@1.3.1/com.sparrowwallet.sparrow.net.Bwt.start(Unknown Source) at com.sparrowwallet.sparrow@1.3.1/com.sparrowwallet.sparrow.net.Bwt.start(Unknown Source) at com.sparrowwallet.sparrow@1.3.1/com.sparrowwallet.sparrow.net.Bwt$ConnectionService$1.call(Unknown Source) at com.sparrowwallet.sparrow@1.3.1/com.sparrowwallet.sparrow.net.Bwt$ConnectionService$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)

2021-03-28 09:30:41,078 ERROR [JavaFX Application Thread] c.s.s.p.ServerPreferencesController [null:-1] Connection error com.sparrowwallet.sparrow.net.ServerException: Check if Bitcoin Core is running, and the authentication details are correct. at com.sparrowwallet.sparrow@1.3.1/com.sparrowwallet.sparrow.net.ElectrumServer$ConnectionService$1.call(Unknown Source) at com.sparrowwallet.sparrow@1.3.1/com.sparrowwallet.sparrow.net.ElectrumServer$ConnectionService$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)

Seems to be expecting an Electrum (BWT) server, even though I'm trying to connct to Core RPC?

The request does not appear to be getting out the door. Run "test Connection" throws immediately.

Initially, I had to disable my global Tor daemon on 9050 to make this work. Perhaps re-enabling that daemon between usages caused an issue? Doesn't sound likely.

@craigraw
Copy link
Collaborator

craigraw commented Apr 1, 2021

Duplicate of #83. It's unclear how this could ever have succeeded. Let's track in the other issue.

@craigraw craigraw closed this as completed Apr 1, 2021
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