<p>As cdecker points out in the comments, I think you are running a node where you do not have any connection with an external peer.</p>
<p>In fact core lightning is preservative, and it does not start to gossip information about yourself if you do not have any information to share.</p>
<p>Moreover, you can choose also to use the core lightning with only private channels so in this case, the network must not know your information!</p>
<p>So, I guess you want to use cln to make some analysis on the network? if yes you need to configure your cln and start to connect with some public peer.</p>

CC BY-SA 4.0
2022-11-30T09:22:03.373Z
2022-11-30T09:22:03.373Z
vincenzopalazzo
<p>CLN 0.12.1</p>
<p>My node has been running for hours now. But it doesn't seem to be aware of the network. This is what I get when I try to run listchannels.</p>
<pre><code>$ lightning-cli listchannels
{
   &quot;channels&quot;: []
}
</code></pre>
<p>What would cause this? And what can I do about it?</p>

CC BY-SA 4.0
2022-11-24T09:14:21.253Z
Do you have a connection to a peer in the network? Nodes gossip about the state of the network to learn about channels and nodes, but if you don't have a connection you won't get gossip.
cdecker
CC BY-SA 4.0
2022-11-24T09:41:40.243Z
https://lightning.readthedocs.io/lightning-listpeers.7.html
Michael Folkson
CC BY-SA 4.0
2022-11-24T15:24:54.593Z
listpeers returns no results either. Would I use the connect command to make a connection without actually opening a channel? And if so, how would I find a peer?
Zephyrus
CC BY-SA 4.0
2022-11-30T10:34:26.370Z
@Zephyrus: I think the general advice would be to connect to a peer controlled by an individual/company that you know. But if you don't know anyone 1ml.com and amboss.space list Lightning nodes.
Michael Folkson
CC BY-SA 4.0
2022-11-30T10:36:31.767Z
https://lightning.readthedocs.io/lightning-connect.7.html
Michael Folkson
<lightning-network><core-lightning><p2p>
listchannels returns no results from CLN
Zephyrus
# listchannels returns no results from CLN

(Asked by: username_0 on 2022-11-23)

CLN 0.12.1

My node has been running for hours now. But it doesn't seem to be aware of the network. This is what I get when I try to run listchannels.

```
$ lightning-cli listchannels
{
   "channels": []
}

```

What would cause this? And what can I do about it?

**Tags:** lightning-network, core-lightning, p2p

> **Comments:**
> **username_1**: Do you have a connection to a peer in the network? Nodes gossip about the state of the network to learn about channels and nodes, but if you don't have a connection you won't get gossip.  
> **username_2**: https://lightning.readthedocs.io/lightning-listpeers.7.html  
> **username_0**: listpeers returns no results either. Would I use the connect command to make a connection without actually opening a channel? And if so, how would I find a peer?  
> **username_2**: @username_0: I think the general advice would be to connect to a peer controlled by an individual/company that you know. But if you don't know anyone 1ml.com and amboss.space list Lightning nodes.  
> **username_2**: https://lightning.readthedocs.io/lightning-connect.7.html  

---

## 1 answers

### Answer by username_3 on 2022-11-30. Score: 1

As username_1 points out in the comments, I think you are running a node where you do not have any connection with an external peer.

In fact core lightning is preservative, and it does not start to gossip information about yourself if you do not have any information to share.

Moreover, you can choose also to use the core lightning with only private channels so in this case, the network must not know your information!

So, I guess you want to use cln to make some analysis on the network? if yes you need to configure your cln and start to connect with some public peer.


---

