Closed DhananjayPurohit closed 1 month ago
Is your latest regtest block older than 2 hours? Then bitcoind
(and because of that lnd
as well) will think it's not up to date. Just mine a block and things should fully start up.
Have tried mining a few blocks to make it active but still getting the same RPC error when attempting to connect to the neighboring node.
2024-07-30 14:22:37.826 [INF] LTND: Version: 0.14.2-beta commit=v0.14.2-beta, build=production, logging=default, debuglevel=info
The version is quite old tho.
Yes, I'm using lndinit (lightninglabs/lndinit:v0.1.3-beta-lnd-v0.14.2-beta)
to programmatically create a wallet for LND. There aren't any better versions available.
https://hub.docker.com/r/lightninglabs/lndinit/tags?page=&page_size=&ordering=-last_updated&name=
You ordered by "oldest first"... It's a bit hard to search with the daily build. But if you go to the release page of lndinit
and then look at the latest version there, you'll see it's v0.1.21-beta
. If you filter by that, you'll see there's a new one available: https://hub.docker.com/r/lightninglabs/lndinit/tags?page=&page_size=&ordering=&name=v0.1.21-beta
Thanks, upgrading the lndinit
version to lightninglabs/lndinit:v0.1.21-beta-lnd-v0.18.0-beta
and changing the bitcoind config from
-zmqpubhashblock=tcp://0.0.0.0:28332
-zmqpubhashtx=tcp://0.0.0.0:28333
to
-zmqpubrawblock=tcp://0.0.0.0:28332
-zmqpubrawtx=tcp://0.0.0.0:28333
resolved the issue.
Background
Getting RPC error:-
[lncli] rpc error: code = Unknown desc = server is still in the process of starting
when attempting to connect to the neighboring node.
Your environment
lnd
: using the imagelightninglabs/lndinit:v0.1.3-beta-lnd-v0.14.2-beta
uname -a
on *Nix):Linux logging 5.15.0-102-generic #112-Ubuntu SMP Tue Mar 5 16:50:32 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
btcd
,bitcoind
, or other backend:-lncm/bitcoind:v22.0
Steps to reproduce
Nodes are started using the following script::- https://gist.github.com/DhananjayPurohit/4a558a4923cff2820a722ce763cbe7d9
Commands executed after starting the nodes::- https://gist.github.com/DhananjayPurohit/6decffb90d85e80089c30475be370721
Expected behaviour
The node should successfully connect to the neighboring node.
Actual behaviour
LND logs:-