-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
Tendermint version (use tendermint version or git rev-parse --verify HEAD if installed from source):
gaiad 0.24.2-0bf061b7
What happened:
p2p_peers prometheus gauge for a peer does not match the number of peers reported via /net_info RPC (n_peers).
The number reported by p2p_peers is consistently lower than n_peers.
What you expected to happen:
Numbers should match. ;-)
How to reproduce it (as minimally and precisely as possible):
Run gaiad with empty config and use /dial_peers RPC to dial peers.
PEER=nodeid@ip:port
curl -s -G "http://localhost:26657/dial_peers?persistent=false" --data-urlencode "peers=[\"${PEER}\"]"
Logs (paste a small part showing an error (< 10 lines) or link a pastebin, gist, etc. containing more of the log file):
Compare to the below net_info dump from val1.cph1.validator.network:
{
"jsonrpc": "2.0",
"id": "",
"result": {
"listening": true,
"listeners": [
"Listener(@10.255.254.2:26656)"
],
"n_peers": "3",
"peers": [
...
Config (you can paste only the changes you've made):
No changes to default config (empty persistent_peers and seeds).
