Open eltoo-cln opened 4 months ago
Hi @eltoo-cln !
What does "Too many active HTLC" mean? This seems like an issue with core lightning or clboss.
Hi @eltoo-cln !
What does "Too many active HTLC" mean? This seems like an issue with core lightning or clboss.
Hi @jonasnick and thank you for your time to read my issue.
Two days ago I could see in RTL over 130 active HTLCs I did have few before, but not more than 10 IIRC.
Currently there are 56 with three different nodes all of which are already Disconnected and in state: Onchain
you can set the max number of concurrent HTLC (per channel I believe), something like
max-concurrent-htlcs=2
in services.clightning.extraConfig within configuration.nix
Hi, I think it would be good to get to the bottom of this to understand what happened here, so others can avoid it.
My node had a channel with @eltoo-cln 's node. Their node lost most of the channels in range of few days because their peers automatically force closed channels with their node.
My node was one of the many that closed channel with their node.
Here are channel updates of our channel as seen from my node:
"state_changes": [
{
"timestamp": "2022-07-08T21:23:57.561Z",
"old_state": "CHANNELD_AWAITING_LOCKIN",
"new_state": "CHANNELD_NORMAL",
"cause": "user",
"message": "Lockin complete"
},
{
"timestamp": "2024-07-07T18:32:26.570Z",
"old_state": "CHANNELD_NORMAL",
"new_state": "AWAITING_UNILATERAL",
"cause": "protocol",
**"message": "Offered HTLC 681 SENT_ADD_ACK_REVOCATION cltv 851131 hit deadline"**
},
{
"timestamp": "2024-07-07T18:43:26.772Z",
"old_state": "AWAITING_UNILATERAL",
"new_state": "FUNDING_SPEND_SEEN",
"cause": "onchain",
"message": "Onchain funding spend"
},
{
"timestamp": "2024-07-07T18:43:27.151Z",
"old_state": "FUNDING_SPEND_SEEN",
"new_state": "ONCHAIN",
"cause": "onchain",
"message": "Onchain init reply"
}
],
This is beyond my understanding of the inner workings of LN, but the important part seems to be:
"message": "Offered HTLC 681 SENT_ADD_ACK_REVOCATION cltv 851131 hit deadline"
Is it possible that @eltoo-cln 's node was in a "stuck" state without ability to write to db or something like that and could not cooperate on moving HTLCs to proper state and that is why all the peers force closed the channels?
could be caused by clboss
: https://github.com/ElementsProject/lightning/issues/7172#issuecomment-2221040042
Hello I am trying to find what went wrong with my node and why I lost recently most of my channels. This situation happen shortly after upgrading to 1.0.9 (CLN 24.05)
My HW setup:
This node has been up for about 2 years without any previous issues. NB is deployed via krops (I still didn't move to flakes)
CLN:
configuration.nix
I would like to ask for support. I didn't find anything suspicious in logs, but I'm also not sure what I should be looking for.
After reviewing clightning.service log, there were coupe of strange lines:
BROKEN lines related to plugin-clboss was already reported here
But I am not sure what is this repetitive part related to:
The other thing which may or may not be related is FS status:
/var/lib
has less than 10%I would like to find out what the problem is or report any issue, but first need to narrow down to the root cause. Is anybody able to guide me on this journey, please?