Closed tweetytoo closed 3 years ago
From the error it looks like lnd
cannot connect to the Tor control port (9051).
Which means, even if the curl --socks5 localhost:9050 --socks5-hostname localhost:9050 -s https://check.torproject.org
command now succeeds, Tor is still not configured properly for lnd
to work.
The Tor control port must be open and lnd
must find the credentials to connect to it in the default place. I think perhaps the installing/reinstalling of Tor overwrote some configuration. If possible, try reverting to a stock RaspiBlitz image that is known to work.
Closing for now until there's more evidence for an actual problem in lnd
.
For anyone who might hit this later: it happens because you need to configure the Tor control port in /etc/tor/torrc
. See, for example, this guide:
https://wiki.ion.radar.tech/tutorials/nodes/tor
Background
I was running RaspiBlitz (Fulmo) for a few weeks, without issues.
I then ran "update TOR from source code" and after reboot (and some errors on the way), Tor would not connect and LND (a dependency wouldn't either).
After removing/reinstalling Tor, I have a "maybe" connection with "Public null:8333 10 peers"
...but LND still cannot start.
Your environment
lnd
-- most recent? I don't know the command to find the versionuname -a
on *Nix) -- RaspiBlitz v1.6.2rc2 (nyx - Linux 5.4.72-v7l+)btcd
,bitcoind
, or other backend -- bitcoind.serviceSteps to reproduce
When I start up/reboot, Bitcoin starts, Tor starts, but LND cannot connect, so fails:
More details on this thread, but I am posting here b/c there seems to be an issue with LND and Tor. If I turn off Tor (running "naked") then LND works...
Expected behaviour
LND should start and sync.
Actual behaviour
Fails