btcpayserver / btcpayserver-docker

Docker resources for hosting BTCPayServer easily
MIT License
590 stars 363 forks source link

CLN 24.05 kinda broken, can't send funds out #915

Open ndeet opened 3 months ago

ndeet commented 3 months ago

Steps to reproduce:

Error in RTL:

500 - {"code":210,"message":"destination 027fffce2833bf834935cac44740b2055e53df4bbf25a443c3b941347f2bfa5dfc Is Not Reachable Directly And All Routehints Were Unusable.","attempts":[{"status":"failed","failreason":"destination 027fffce2833bf834935cac44740b2055e53df4bbf25a443c3b941347f2bfa5dfc Is Not Reachable Directly And All Routehints Were Unusable.","partid":0,"amount_msat":1111000}]}

But the route works as you can receive funds over that same channel.

On CLN logs it seems to hang at a specific block which might be the root of the issue?

2024-07-27T11:03:12.906Z UNUSUAL plugin-bcli: bitcoin-cli -datadir=/etc/bitcoin -rpcclienttimeout=60 -rpcconnect=bitcoind getblock 00000000000000000005f7a06bd4efe545999aba00eeff9a49747a3cd1f3c9df 0 exited with status 1
2024-07-27T11:03:25.091Z UNUSUAL plugin-bcli: bitcoin-cli -datadir=/etc/bitcoin -rpcclienttimeout=60 -rpcconnect=bitcoind getblock 00000000000000000005f7a06bd4efe545999aba00eeff9a49747a3cd1f3c9df 0 exited with status 1
2024-07-27T11:03:37.258Z UNUSUAL plugin-bcli: bitcoin-cli -datadir=/etc/bitcoin -rpcclienttimeout=60 -rpcconnect=bitcoind getblock 00000000000000000005f7a06bd4efe545999aba00eeff9a49747a3cd1f3c9df 0 exited with status 1
2024-07-27T11:03:49.418Z UNUSUAL plugin-bcli: bitcoin-cli -datadir=/etc/bitcoin -rpcclienttimeout=60 -rpcconnect=bitcoind getblock 00000000000000000005f7a06bd4efe545999aba00eeff9a49747a3cd1f3c9df 0 exited with status 1
2024-07-27T11:04:01.591Z UNUSUAL plugin-bcli: bitcoin-cli -datadir=/etc/bitcoin -rpcclienttimeout=60 -rpcconnect=bitcoind getblock 00000000000000000005f7a06bd4efe545999aba00eeff9a49747a3cd1f3c9df 0 exited with status 1
2024-07-27T11:04:13.769Z UNUSUAL plugin-bcli: bitcoin-cli -datadir=/etc/bitcoin -rpcclienttimeout=60 -rpcconnect=bitcoind getblock 00000000000000000005f7a06bd4efe545999aba00eeff9a49747a3cd1f3c9df 0 exited with status 1

Other user reported the same stuck block on Telegram.

# bitcoin-lightning-cli.sh getchaininfo
{
   "chain": "main",
   "headercount": 854177,
   "blockcount": 854177,
   "ibd": false
}
bashmeester commented 3 months ago

@ndeet is the btc node pruned in your setup?

I am considering deleting the blockchain so it can resync, and CLN should eventually get the needed block when it becomes available.

ndeet commented 3 months ago

Hey @bashmeester yes it is. After discussing with Kukks it that the block is not the problem (it showed that warning also when sending was working) but some other issue that needs to be found and fixed.

ndeet commented 3 weeks ago

seems there is a fix with renepay https://github.com/raspiblitz/raspiblitz/issues/4777

cc @Kukks @NicolasDorier