Issue connecting LND and Core on separate devices

4 replies 166 views
Posts: 21 · Reputation: 205
#1Jul 30, 2021, 06:17 AM
Hey everyone, I’m having trouble getting my LND node to connect with my Core, since they're on different machines. After I unlock the wallet, LND just hangs and I can’t make any RPC calls. I keep running into this error: Error from the lnd side: I did a quick search online and it seems this might be due to Core not being fully synced, but according to mempool.space, the last block is 809706. Here are my bitcoin.conf and lnd.conf files: [Bitcoin.conf] [LND] Thanks for any help you can provide, -SS
6 Reply Quote Share
hash_bossLegendary
Posts: 1166 · Reputation: 5261
#2Jul 30, 2021, 12:11 PM
At very least, number on verificationprogress is just estimation and one of Bitcoin Core member said there's no problem if it's slightly below 1.0[1]. It's proven by 0.9999983770795251 doesn't refer to total of verified block since the value equal to 6249989856747 / 6250000000000 [2]. [1] https://bitcoin.stackexchange.com/a/85973 [2] https://www.calculator.net/fraction-calculator.html?c2d1=0.9999983770795251&ctype=2&x=79&y=24#decimal2fraction
2 Reply Quote Share
Posts: 21 · Reputation: 205
#3Aug 1, 2021, 08:49 AM
Yes, I absolutely discard that as the issue. I think there's some network config issue on bitcoin.conf and lnd.conf files but I'm unable to see it. I've modified rpcallowip parameter to 0.0.0.0/0 but still not working :/ If I just wait I get the following message on LND:
1 Reply Quote Share
Posts: 21 · Reputation: 205
#4Aug 2, 2021, 10:21 AM
After changing some config as binding to 0.0.0.0 and listening to 0.0.0.0/0 on bitcoin.conf now I get a different error:
3 Reply Quote Share
Posts: 21 · Reputation: 205
#5Aug 2, 2021, 03:39 PM
Finally it's working! There were different issues. First of all the bindings of bitcoind services must be on 0.0.0.0 if not external IP cannot connect. Also, there was a traffic filtering on the bitcoin core firewall and it was blocking LND traffic. - SS
0 Reply Quote Share

Related topics