LedgerHQ / satstack

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

Fatal error initializing SatStack #103

Open serdiogo opened 1 year ago

serdiogo commented 1 year ago

FATAL Failed to initialize Bus error=bitcoind unreachable: invalid http POST response (nil), method: getblockchaininfo, id: 1, last error=Post "http://serdiogo.local/wallet/satstack": dial tcp: lookup serdiogo.local on [fe80::1%en14]:53: no such host

Hello, after warming up goes green, I get this message ... anyone can help please ?

thanks in advance !

adrienlacombe commented 1 year ago

what kind of node are you running?

serdiogo commented 1 year ago

I'm on an iMac M1, with a VM (ubuntu) running umbrel. I setup ledger live without tls and choose RPC local.

adrienlacombe commented 1 year ago

Thank you, Umbrel usually uses Tor so you have to do this https://github.com/LedgerHQ/satstack#manual-setup-for-advanced-users replace serdiogo.local by the .onion address

serdiogo commented 1 year ago

thanks Adrien! Im hoping I can do this...

👍

adrienlacombe commented 1 year ago

Any issue, let me know, I will help :)

serdiogo commented 1 year ago

thanks again for your availability, that's awesome!

now I choose the rpc TOR from the node and put it on ledger live, but ledger now cannot sync with the node itself... is it another way around? :/

adrienlacombe commented 1 year ago

No, but this is fine, you won't be able to use Ledger Live to generate the config json file but you can do it manually as explained on GitHub and still make it work!

serdiogo commented 1 year ago

oh ok, I'll try for sure!

let me see and I come back to you!

serdiogo commented 1 year ago

iMac-de-Diogo ~ % cd scripts cd: no such file or directory: scripts

when I try retrieve the scripts from the device my terminal gives this message ...

adrienlacombe commented 1 year ago

you need to clone the gituhb repo first: git clone https://github.com/LedgerHQ/satstack.git and then cd satstack

serdiogo commented 1 year ago

I already have the scripts external and internal but now can you simplify this step please ?

"Create a config file lss.json in your home directory. You can use this sample config file as a template.

Add "torproxy": "socks5://127.0.0.1:9050", to connect to a Tor client running locally so that satstack can reach a full node behind Tor. Replace the rpcurl with the .onion address of your node."

thanks a lot again.

...specifically I'm using json formatter tool if I succeed with coding should I add "torproxy": "socks5://127.0.0.1:9050" at the end? is that it?

serdiogo commented 1 year ago

I wrote the json file already, but now starting the satstack gives another error:

FATAL Failed to load config error=config file not found

what should I do next? thanks !

adrienlacombe commented 1 year ago

@serdiogo your json config file must be located in the same folder as satstack executble

adrienlacombe commented 1 year ago

it must be named lss.json

serdiogo commented 1 year ago

I did that but same problem...

FATAL Failed to load config error=config file not found

adrienlacombe commented 1 year ago

make sure the json is properly formatted, no missing { or }, things like that...

serdiogo commented 1 year ago
Captura de ecrã 2023-03-02, às 16 02 56

I wrote it again, now on visual studio code, saved as lss.json on satstack folder and nothing yet.

adrienlacombe commented 1 year ago

let's take this via email if this is fine with you and we will come back here if we have valuable information to share with the world but I suspect this is just an issue with your local setup, you can reach me at adrien.lacombe at ledger.com