Background
I just opened a channel but can't balance it with lncli sendpayment because no payment through it could be made, every attempt quickly fails with error Payment status: FAILED, reason: FAILURE_REASON_INSUFFICIENT_BALANCE. My local balance is fine, however, the local max_pending_amt_msat parameter is weird (unusually high, in hex it's 0xFFFFFFFFFFFFFFFF so -1 int64 I assume?). Here's the channel info as reported by my node:
{
"active": true,
"remote_pubkey": "02fe153690061fa27049bae0faa236ddb95df98c514416a350449c24a8018851dc",
"channel_point": "bbbc88139224f18246f646df7504e18f3be5a705283c54ae5a1781242f4e3889:1",
"chan_id": "758268298569842689",
"capacity": "1000000",
"local_balance": "989855",
"remote_balance": "0",
"commit_fee": "10145",
"commit_weight": "600",
"fee_per_kw": "14013",
"unsettled_balance": "0",
"total_satoshis_sent": "0",
"total_satoshis_received": "0",
"num_updates": "1",
"pending_htlcs": [
],
"csv_delay": 144,
"private": false,
"initiator": true,
"chan_status_flags": "ChanStatusDefault",
"local_chan_reserve_sat": "10000",
"remote_chan_reserve_sat": "10000",
"static_remote_key": true,
"commitment_type": "STATIC_REMOTE_KEY",
"lifetime": "186",
"uptime": "186",
"close_address": "",
"push_amount_sat": "0",
"thaw_height": 0,
"local_constraints": {
"csv_delay": 144,
"chan_reserve_sat": "10000",
"dust_limit_sat": "573",
"max_pending_amt_msat": "18446744073709551615",
"min_htlc_msat": "0",
"max_accepted_htlcs": 30
},
"remote_constraints": {
"csv_delay": 144,
"chan_reserve_sat": "10000",
"dust_limit_sat": "546",
"max_pending_amt_msat": "990000000",
"min_htlc_msat": "1",
"max_accepted_htlcs": 483
}
},
I opened it using Ride-The-Lightning, took a while because the block rate suddenly dropped and fees skyrocketed but after three hours it got confirmed and the channel became active. But I can't send any sats through it to the other side and back to myself.
Your environment
- version of
lnd: 0.13-beta (originally built from 20ef37d)
- which operating system (
uname -a on *Nix): Linux 5.10.46-v7l+ #1432 SMP Fri Jul 2 21:17:20 BST 2021 armv7l GNU/Linux (RaspberryPi 4 B)
- version of
btcd, bitcoind, or other backend: bitcoind 0.21.1
Steps to reproduce
Opened a channel using RTL. Try to pay to yourself using lncli sendpayment --amp -d 021c3ec6432d2b9b5abcb01dd64b3a8f2afe3ba7d8c021f63ffd0a994cd3bc9b88 --allow_self_payment -a 10000 --outgoing_chan_id 758268298569842689
Expected behaviour
I should be able to use the channel to at least balance it to 50/50
Actual behaviour
rebalance.py fails with ✘ Could not find any suitable route, lncli sendpayment fails with FAILURE_REASON_INSUFFICIENT_BALANCE. Log:
Jul 04 23:02:47 fullnode lnd[22879]: 2021-07-04 23:02:47.464 [WRN] CRTR: Failed to find route for payment fda26e4f9ab2b7669b273d1e53013575e73fa2197b0ee978d0b94e4ddcbce940: insufficient local balance
Jul 04 23:02:47 fullnode lnd[22879]: 2021-07-04 23:02:47.482 [ERR] CRTR: Payment fda26e4f9ab2b7669b273d1e53013575e73fa2197b0ee978d0b94e4ddcbce940 failed: insufficient_balance
I experienced some system instability, probably due to the power issues (SSD freezes) so the channel issue might be caused by a database corruption. I checked the channel.db and other database files with bolt and it hasn't found any errors so might not be it in the end.
I have another channel with this -1 max_pending_amt_msat, the peer in question connects and disconnects instantly so that channel doesn't work because the peer is always offline. However, the peer in this report above connects normally and the channel was opened after the latest hardware issue. I also opened other channels before today and they work fine, only this one misbehaves.
Background
I just opened a channel but can't balance it with
lncli sendpaymentbecause no payment through it could be made, every attempt quickly fails with errorPayment status: FAILED, reason: FAILURE_REASON_INSUFFICIENT_BALANCE. My local balance is fine, however, the localmax_pending_amt_msatparameter is weird (unusually high, in hex it's0xFFFFFFFFFFFFFFFFso-1 int64I assume?). Here's the channel info as reported by my node:I opened it using Ride-The-Lightning, took a while because the block rate suddenly dropped and fees skyrocketed but after three hours it got confirmed and the channel became active. But I can't send any sats through it to the other side and back to myself.
Your environment
lnd: 0.13-beta (originally built from 20ef37d)uname -aon *Nix):Linux 5.10.46-v7l+ #1432 SMP Fri Jul 2 21:17:20 BST 2021 armv7l GNU/Linux (RaspberryPi 4 B)btcd,bitcoind, or other backend: bitcoind 0.21.1Steps to reproduce
Opened a channel using RTL. Try to pay to yourself using
lncli sendpayment --amp -d 021c3ec6432d2b9b5abcb01dd64b3a8f2afe3ba7d8c021f63ffd0a994cd3bc9b88 --allow_self_payment -a 10000 --outgoing_chan_id 758268298569842689Expected behaviour
I should be able to use the channel to at least balance it to 50/50
Actual behaviour
rebalance.py fails with
✘ Could not find any suitable route,lncli sendpaymentfails withFAILURE_REASON_INSUFFICIENT_BALANCE. Log:I experienced some system instability, probably due to the power issues (SSD freezes) so the channel issue might be caused by a database corruption. I checked the
channel.dband other database files withboltand it hasn't found any errors so might not be it in the end.I have another channel with this -1
max_pending_amt_msat, the peer in question connects and disconnects instantly so that channel doesn't work because the peer is always offline. However, the peer in this report above connects normally and the channel was opened after the latest hardware issue. I also opened other channels before today and they work fine, only this one misbehaves.