ElementsProject / ElementsProject/lightning
Bad gossip order, lost track of channels, empty listchannels
- Dominant language
- C
- Stars
- 3.1k
- Forks
- 1k
- Avg merge
- 4d 10h
- Merged PRs (30d)
- 13
Description
Prior to update, I was having intermittent issues with finding routes for payments. Following update, issue as follows:
Channels are visible in getinfo output (3 private, 1 public) and appear in listpeerchannels, but listchannels returns an empty array.
Not sure if the bad gossip order and lost channel warnings are the cause or effect of the above.
### Issue and Steps to Reproduce
Update to v24.08-101-g538a007 and restart service
```
### `getinfo` output
{
...
"num_peers": 4,
"num_pending_channels": 0,
"num_active_channels": 4,
"num_inactive_channels": 0,
"address": [
{
"type": "torv3",
"address": "...onion",
"port": 9736
}
],
"binding": [
{
"type": "ipv4",
"address": "0.0.0.0",
"port": 9736
}
],
"version": "v24.08-101-g538a007",
"blockheight": 864930,
"network": "bitcoin",
"fees_collected_msat": 0,
"lightning-dir": "/home/lightningd/.lightning/bitcoin",
...
}
```
### cln.log
```
2024-10-09T18:57:43.476Z UNUSUAL plugin-bookkeeper: topic 'utxo_spend' is not a known notification topic
2024-10-09T18:58:13.232Z INFO connectd: Static Tor service onion address: "...onion:9736,0.0.0.0:9736" bound from extern port 9736
2024-10-09T18:58:24.258Z INFO plugin-bcli: bitcoin-cli initialized and connected to bitcoind.
2024-10-09T18:58:43.691Z UNUSUAL plugin-bcli: bitcoin-cli: finished bitcoin-cli -rpcclienttimeout=60 estimatesmartfee 2 CONSERVATIVE (19386 ms)
2024-10-09T18:58:56.098Z UNUSUAL plugin-bcli: bitcoin-cli: finished bitcoin-cli -rpcclienttimeout=60 estimatesmartfee 100 ECONOMICAL (12374 ms)
2024-10-09T18:59:14.899Z UNUSUAL 02..00-chan#37: gossipd lost track of announced channel: re-announcing!
2024-10-09T18:59:28.578Z UNUSUAL plugin-bcli: bitcoin-cli: finished bitcoin-cli -rpcclienttimeout=60 getblockchaininfo (13232 ms)
2024-10-09T18:59:28.626Z INFO lightningd: --------------------------------------------------
2024-10-09T18:59:28.626Z INFO lightningd: Server started with... lightningd v24.08-101-g538a007
2024-10-09T19:00:49.203Z UNUSUAL plugin-bcli: bitcoin-cli: finished bitcoin-cli -rpcclienttimeout=60 getmempoolinfo (20295 ms)
2024-10-09T19:05:16.221Z UNUSUAL lightningd: Bad gossip order: could not find channel ... for peer's channel update
2024-10-09T19:05:16.530Z UNUSUAL lightningd: Bad gossip order: could not find channel ... for peer's channel update
2024-10-09T19:05:16.685Z UNUSUAL lightningd: Bad gossip order: could not find channel ... for peer's channel update
2024-10-09T19:05:19.559Z UNUSUAL lightningd: Bad gossip order: could not find channel ... for peer's channel update
2024-10-09T19:06:16.023Z UNUSUAL lightningd: Bad gossip order: could not find channel ... for peer's channel update
2024-10-09T19:06:17.838Z UNUSUAL lightningd: Bad gossip order: could not find channel ... for peer's channel update
2024-10-09T19:06:45.750Z UNUSUAL lightningd: Bad gossip order: could not find channel ... for peer's channel update
2024-10-09T19:08:16.014Z UNUSUAL lightningd: Bad gossip order: could not find channel ... for peer's channel update
2024-10-09T19:09:11.851Z UNUSUAL lightningd: Bad gossip order: could not find channel ... for peer's channel update
2024-10-09T19:09:17.385Z UNUSUAL lightningd: Bad gossip order: could not find channel ... for peer's channel update
2024-10-09T19:09:17.476Z UNUSUAL lightningd: Bad gossip order: could not find channel ... for peer's channel update
2024-10-09T19:09:17.673Z UNUSUAL lightningd: Bad gossip order: could not find channel ... for peer's channel update
2024-10-09T19:10:20.502Z UNUSUAL plugin-bcli: bitcoin-cli: finished bitcoin-cli -rpcclienttimeout=60 getblockhash 864931 (14044 ms)
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.