lnd icon indicating copy to clipboard operation
lnd copied to clipboard

Coop close failure. couldn't find compromise fee

Open mannersmike opened this issue 3 years ago • 2 comments

Background

3 consecutive coop channel closure fails. channels stuck in "waiting_close_channels" state with no closing_txid

Your environment

  • version of lnd 0.15.0-beta commit=v0.15.0-beta-55-ge6277986f
  • which operating system (uname -a on *Nix) Linux huk 5.11.0-49-generic # 55-Ubuntu SMP Wed Jan 12 17:36:34 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
  • version of btcd, bitcoind, or other backend version v23.99.0-4129c1375430

Steps to reproduce

Attempt to coop close any channel.

Expected behaviour

channel coop closes at desired sat/vB successfully

Actual behaviour

Error returns 'unable to process close msg: couldn't find compromise fee' channel disables and is in a 'waiting_close_channels' state.

Log pulled from time frame of one of the closures filtering for channel point address

Logs
2022-08-10 00:48:56.908 [DBG] HSWC: ChannelLink(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1): removing Add packet (Chan ID=747356:2031:0, HTLC ID=17110) from mailbox
2022-08-10 00:48:57.517 [DBG] HSWC: ChannelLink(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1): settle-fail-filter &{1 [0]}
2022-08-10 00:48:57.517 [DBG] HSWC: ChannelLink(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1): Failed to send 320001320 mSAT
2022-08-10 00:49:59.268 [INF] HSWC: ChannelLink(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1): exited
2022-08-10 00:49:59.268 [INF] HSWC: ChannelLink(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1): stopping
2022-08-10 00:49:59.270 [INF] CHCL: Ideal fee for closure of ChannelPoint(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1) is: 183 sat
2022-08-10 00:49:59.270 [INF] CHCL: ChannelPoint(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1): initiating shutdown
2022-08-10 00:49:59.270 [INF] NANN: Announcing channel(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1) disabled [requested]
2022-08-10 00:49:59.275 [INF] CHCL: ChannelPoint(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1): sending shutdown message
2022-08-10 00:49:59.973 [INF] CHCL: ChannelPoint(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1): shutdown response received, entering fee negotiation
2022-08-10 00:49:59.973 [INF] CHCL: ChannelPoint(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1): proposing fee of 183 sat to close chan
2022-08-10 00:50:00.137 [INF] CHCL: ChannelPoint(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1): computing fee compromise, ideal=183, last_sent=183, remote_offer=3627
2022-08-10 00:50:00.137 [INF] CHCL: ChannelPoint(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1): proposing fee of 201 sat to close chan
2022-08-10 00:50:00.301 [INF] CHCL: ChannelPoint(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1): computing fee compromise, ideal=183, last_sent=201, remote_offer=3265
2022-08-10 00:50:00.301 [INF] CHCL: ChannelPoint(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1): proposing fee of 221 sat to close chan
2022-08-10 00:50:00.464 [INF] CHCL: ChannelPoint(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1): computing fee compromise, ideal=183, last_sent=221, remote_offer=2939
2022-08-10 00:50:00.464 [INF] CHCL: ChannelPoint(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1): proposing fee of 243 sat to close chan
2022-08-10 00:50:00.630 [INF] CHCL: ChannelPoint(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1): computing fee compromise, ideal=183, last_sent=243, remote_offer=2646
2022-08-10 00:50:00.630 [INF] CHCL: ChannelPoint(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1): proposing fee of 267 sat to close chan
2022-08-10 00:50:00.793 [INF] CHCL: ChannelPoint(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1): computing fee compromise, ideal=183, last_sent=267, remote_offer=2382
2022-08-10 00:50:00.793 [INF] CHCL: ChannelPoint(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1): proposing fee of 293 sat to close chan
2022-08-10 00:50:00.958 [INF] CHCL: ChannelPoint(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1): computing fee compromise, ideal=183, last_sent=293, remote_offer=2144
2022-08-10 00:50:00.958 [INF] CHCL: ChannelPoint(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1): proposing fee of 322 sat to close chan
2022-08-10 00:50:01.122 [INF] CHCL: ChannelPoint(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1): computing fee compromise, ideal=183, last_sent=322, remote_offer=1930
2022-08-10 00:50:01.122 [INF] CHCL: ChannelPoint(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1): proposing fee of 354 sat to close chan
2022-08-10 00:50:01.285 [INF] CHCL: ChannelPoint(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1): computing fee compromise, ideal=183, last_sent=354, remote_offer=1737
2022-08-10 00:50:01.285 [INF] CHCL: ChannelPoint(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1): proposing fee of 389 sat to close chan
2022-08-10 00:50:01.449 [INF] CHCL: ChannelPoint(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1): computing fee compromise, ideal=183, last_sent=389, remote_offer=1564
2022-08-10 00:50:01.449 [INF] CHCL: ChannelPoint(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1): proposing fee of 427 sat to close chan
2022-08-10 00:50:01.612 [INF] CHCL: ChannelPoint(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1): computing fee compromise, ideal=183, last_sent=427, remote_offer=1408
2022-08-10 00:50:01.612 [INF] CHCL: ChannelPoint(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1): proposing fee of 469 sat to close chan
2022-08-10 00:50:01.776 [INF] CHCL: ChannelPoint(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1): computing fee compromise, ideal=183, last_sent=469, remote_offer=1268
2022-08-10 00:50:01.776 [INF] CHCL: ChannelPoint(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1): proposing fee of 515 sat to close chan
2022-08-10 00:50:01.939 [INF] CHCL: ChannelPoint(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1): computing fee compromise, ideal=183, last_sent=515, remote_offer=1142
2022-08-10 00:50:01.939 [ERR] RPCS: [closechannel] unable to close ChannelPoint(a13cf1c30cc12a7e32a04f3ad2a140d63ac76427570ceb1758875bc707af62d6:1): unable to process close msg: couldn't find compromise fee

Qs

Is my only option to force close on these channels now? What do i doing going forward? i dont seem to be able to coop close any channel currently.

mannersmike avatar Aug 10 '22 01:08 mannersmike

You tried coop close with 1sat/vB when mempool was congested so it was highly likely to not able to get to a compromise. Yes I think your only option now is to force close.

I think they fixed so that you can retry coop close if the first try fails, but I think both nodes need to be lnd 0.15.0 for it to work. Refer #4819 and #6419.

hazrulnizam avatar Aug 10 '22 02:08 hazrulnizam

Also related: #6587 #6604 Did you set an explicit fee rate via the command line or do you have any confirmation target configured in lnd.conf? Could you try to reconnect to the peer and report the logs? You may be able to re-initiate a cooperative close with a higher fee then.

bitromortac avatar Aug 10 '22 07:08 bitromortac