server is still in the process of starting #9748
-
BackgroundI'm connecting to a bitcoind instance which is running locally. This server was offline for a few weeks and when I brought it back up, it synced up with the chain data, but I'm still unable to connect to a peer because LND thinks it is still starting. ErrorThe error about a bitcoind peer not responding seems to be a red herring, as that was not present after restarting LND, but the "server is still in the process of starting" problem remains. Before LND restart
I don't know anything about this I'm also not sure why LND is not just using 127.0.0.1 for syncing the chain backend. Here's what I have in my lnd.conf:
After LND restartI restarted the LND service and unlocked the wallet and found that the server still thinks that it is not started up. I see "Waiting for chain backend to finish sync, start_height=893407" (which is the current block as of now) but no log message indicating that it has acknowledged that it has completed the chain backend sync.
As shown in the logs, I left it sit for 6 minutes to see if it was possibly doing something in the background and just needed a minute to complete. DebuggingThe bitcoin node is up to date with the chain (the latest block at this time is 893407, which I double checked against mempool.space. bitcoin-cli --rpcuser=REDACTED --rpcpassword=REDACTED getblockcount
893407 LND also seems to acknowledge this: lncli getinfo | grep block_height
"block_height": 893407, And that state says it's RPC_ACTIVE lncli state
{
"state": "RPC_ACTIVE"
} No additional log messages are being written to QuestionWhere do I go from here? How can I determine if LND is really still trying to start up and what it thinks it needs to do before startup is complete? Confusion avoidanceThis issue is on a different server than the issue I've been experiencing in #9614 and I believe they are unrelated. In this ticket, I'm all caught up with the chain. In 9614, I am not all caught up with the chain and unable to sync. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Rescanning started from height 836962, which was a while ago (~60k blocks ago). Maybe rescanning is still in progress? While rescanning is in progress, you should receive progress notifications like "Rescanned through block ... (height ...)" Have you received these messages? |
Beta Was this translation helpful? Give feedback.
Rescanning started from height 836962, which was a while ago (~60k blocks ago). Maybe rescanning is still in progress?
While rescanning is in progress, you should receive progress notifications like "Rescanned through block ... (height ...)"
After rescanning is finished, you should receive final message "Finished rescan for ... ... (synced to block ..., height ...)".
Have you received these messages?