Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: peterpeterpeterschwarz on August 26, 2020, 07:27:57 PM



Title: LND force closed channel stuck on "waiting_close_channels"
Post by: peterpeterpeterschwarz on August 26, 2020, 07:27:57 PM
I forced closed a channel awhile ago, but now it has been stuck in "waiting_close_channels" forever. It is not shown in "pending_force_closing_channels".

"waiting_close_channels": [
        {
            "channel": {
                "remote_node_pub": "03037dc08e9ac63b82581f79b662a4d0ceca8a8ca162b1af3551595b8f2d97b70a",
                "channel_point": "76e9771241b8c2c39a2e465adf3826b3850d3fb6b1ed947d12beb983ab9a5d4b:1",
                "capacity": "7900000",
                "local_balance": "7872973",
                "remote_balance": "0",
                "local_chan_reserve_sat": "79000",
                "remote_chan_reserve_sat": "79000",
                "initiator": "INITIATOR_LOCAL",
                "commitment_type": "STATIC_REMOTE_KEY"
            },
            "limbo_balance": "7872973",
            "commitments": {
                "local_txid": "b64f7d9a4b4eea9bd4952931aed15f2dfc149e9513974f136eda14455de463ad",
                "remote_txid": "a8d4ceef7a6091b67ab8e3fca17bdcdd1cdf8fe165ca2738e65dd53ee8e284ee",
                "remote_pending_txid": "",
                "local_commit_fee_sat": "27027",
                "remote_commit_fee_sat": "27027",
                "remote_pending_commit_fee_sat": "0"



When I try to close it again I get:
[lncli] rpc error: code = Unknown desc = channel is already in the process of being force closed

I am running LND 0.10.4-beta and bitcoind 0.20.1
Any Idea what I could do?


Title: Re: LND force closed channel stuck on "waiting_close_channels"
Post by: Pmalek on August 27, 2020, 08:50:44 AM
I am not really familiar with the Lightning Network but a search led me to a couple of github issues that were solved with "waiting_close_channels" queries.

Maybe this can help you:
https://github.com/lightningnetwork/lnd/issues/2636
https://github.com/lightningnetwork/lnd/issues/4337

From the posts it seems the reasons they didn't close were low fees and unconfirmed on-chain transaction that closes the payment channel.
 


Title: Re: LND force closed channel stuck on "waiting_close_channels"
Post by: DaveF on August 27, 2020, 03:40:17 PM
I forced closed a channel awhile ago, but now it has been stuck in "waiting_close_channels" forever. It is not shown in "pending_force_closing_channels".

What was "a while ago" hours / days / week?

Could be what Pmalek said and you have too low a fee. Do you know what the fee was?

Why did you force close instead of regular close?

How much was in the channel?

You will might get a better response posting the question / issue in the LND github.

-Dave