LedgerHQ / satstack

Bitcoin full node with Ledger Live
BSD 2-Clause "Simplified" License
158 stars 32 forks source link

FATAL Failed to initialize Bus error=bitcoind unreachable: status code: 200, response: #101

Open aindriu18 opened 1 year ago

aindriu18 commented 1 year ago

I am trying to connect my Ledger wallet to my umbrel node. I am connecting via RPC (local network). When running Satstack in command line, I get the following error:

C:\Users\aindr\OneDrive\Desktop\satstack_0.18.0_Windows-amd64> lss.exe [2023/02/18 - 15:38:06] INFO Ledger SatStack (lss) v0.18.0 arch=windows amd64 build= commit= runtime=go1.17.13 [2023/02/18 - 15:38:06] INFO Config file detected path=C:\Users\aindr/AppData/Roaming/Ledger Live/lss.json [2023/02/18 - 15:38:06] INFO Warming up... [2023/02/18 - 15:38:06] FATAL Failed to initialize Bus error=bitcoind unreachable: status code: 200, response: "<!DOCTYPE html><html lang=\"en\"><head><title>Umbrel</title><meta charset=\"utf-8\"><meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1\"><meta name=\"robots\" content=\"noindex, nofollow\"><meta name=\"referrer\" content=\"no-referrer\"><link rel=\"icon\" href=\"favicon.png\"><meta name=\"description\" content=\"Welcome back\"><link href=\"/css/app.65f6aa45.css\" rel=\"preload\" as=\"style\"><link href=\"/js/app.ab94624e.js\" rel=\"preload\" as=\"script\"><link href=\"/js/chunk-vendors.5ff0ba32.js\" rel=\"preload\" as=\"script\"><link href=\"/css/app.65f6aa45.css\" rel=\"stylesheet\"></head><body><noscript><strong>We're sorry but Umbrel doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=\"app\"></div><script src=\"/js/chunk-vendors.5ff0ba32.js\"></script><script src=\"/js/app.ab94624e.js\"></script></body></html>"

As standard, my lss.json file is the following:

"rpcurl": "umbrel", "rpcuser": "umbrel", "rpcpass": " my password here", "notls": true

I have played around with the lss.json file trying to change the rpcurl to :8332, umbrel.local and other variations. In doing so, I get an error like this:

C:\Users\aindr\OneDrive\Desktop\satstack_0.18.0_Windows-amd64> lss.exe [2023/02/18 - 14:52:31] INFO Ledger SatStack (lss) v0.18.0 arch=windows amd64 build= commit= runtime=go1.17.13 [2023/02/18 - 14:52:31] INFO Config file detected path=C:\Users\aindr/AppData/Roaming/Ledger Live/lss.json [2023/02/18 - 14:52:31] INFO Warming up... [2023/02/18 - 14:52:54] FATAL Failed to initialize Bus error=bitcoind unreachable: invalid http POST response (nil), method: getblockchaininfo, id: 1, last error=Post "http://<host_or_ip>:8332/wallet/satsta lss.exelss.exelookup <host_or_ip>: no such host

Any help would be appreciated.

adrienlacombe commented 1 year ago

@aindriu18 you can't do local network, you need to go through Tor.

aindriu18 commented 1 year ago

@aindriu18 you can't do local network, you need to go through Tor.

I was following this video where he uses local network and states that Tor doesn't work.

https://youtu.be/Fa9AvF4jk1o

adrienlacombe commented 1 year ago

@aindriu18 you can't do local network, you need to go through Tor.

I was following this video where he uses local network and states that Tor doesn't work.

https://youtu.be/Fa9AvF4jk1o

Tor support has been added recently

aindriu18 commented 1 year ago

@aindriu18 you can't do local network, you need to go through Tor.

@aindriu18 you can't do local network, you need to go through Tor.

I was following this video where he uses local network and states that Tor doesn't work. https://youtu.be/Fa9AvF4jk1o

Tor support has been added recently

There is no issue connecting my Umbrel Node to Ledger Live using local network. The problem lies in trying to run Satstack. When trying to connect my Umbrel Node to Ledger Live using Tor, it fails on the first step.

adrienlacombe commented 1 year ago

@aindriu18 you can't do local network, you need to go through Tor.

@aindriu18 you can't do local network, you need to go through Tor.

I was following this video where he uses local network and states that Tor doesn't work. https://youtu.be/Fa9AvF4jk1o

Tor support has been added recently

There is no issue connecting my Umbrel Node to Ledger Live using local network. The problem lies in trying to run Satstack. When trying to connect my Umbrel Node to Ledger Live using Tor, it fails on the first step.

I know, this is why you need to go the Tor way, not the local one https://github.com/LedgerHQ/satstack#manual-setup-for-advanced-users