Hello everyone,
I have a problem with my Cardano nodes and i don’t know hot to solve it.
I have three nodes all running on version 1.35.7.
Node 1 is my block producer with port 6000,
Node 2 is my relay with port 6001,
Node 3 is another relay with port 6005.
Currently, Node 2 is set up as the P2P.
My BP is connected to Node 2, and I have both peer-in and peer-out and transactions processed. However, with Node 3, I can only establish peer-out connections
Node 2 is connected to both BP and Node 3, with peer-in and peer-out connections, and transactions processed.
Node 3 is connected to Node 2 with both peer-in and peer-out connections, but it cannot connect to BP.
My BP and Node 2 are on the local network, whereas Node 3 is on a VPS on Contabo. Both nodes on the local network are under DNS.
Here is the topology for my BP:
{
"Producers": [
{
"addr": "node 2 ip",
"port": xxxx,
"valency": 1
},
{
"addr": "node 3 ip",
"port": xxxx,
"valency": 1
}
]
}
Here is the topology for my Node 2:
{
"localRoots": [
{ "accessPoints": [
{ "address": "BP ip", "port":xxxx },
{ "address": "node 3 ip", "port": xxxx }
]
, "advertise": false
, "valency": 1
}
]
, "publicRoots" : [
{ "accessPoints": [
{ "address": "relays-new.cardano-mainnet.iohk.io", "port": 3001 }
]
, "advertise": true
, "valency": 1
}
]
, "useLedgerAfterSlot": 0
}
And here is the topology updater for Node 3:
CNODE_HOSTNAME="IP"
CNODE_VALENCY=1
MAX_PEERS=15
CUSTOM_PEERS=" DNS,xxxx|DNS,xxxx|relays-new.cardano-mainnet.iohk.io,3001,1"
I have opened the port in the UFW of my BP to accept incoming connections only from my relays, but Node 3 still cannot connect.
Ufw on bp
163/tcp ALLOW Anywhere
6000/tcp ALLOW node 2 ip
6000/tcp ALLOW node 3 ip
163/tcp (v6) ALLOW Anywhere (v6)
I have also noticed an error in the log file in the Cardano node folder, which reads as follows:
{"app":[],"at":"2023-04-23T13:36:14.29Z","data":{"domain":""DNS"","event":"Failed to start all required subscriptions","kind":"SubscriptionTrace"},"env":"1.35.7:f0b4a","host":"vmi11779","loc":null,"msg":"","ns":["cardano.node.DnsSubscription"],"pid":"1876762","sev":"Warning","thread":"600"}
Could this be related to my issue?
Any help or suggestions would be much appreciated.
i have another question, How many IN peers should I have with a p2p node on mainnet?
currntly i have only 7 peer… on preprod testnet i reach over 200, is ok?
thanks in advance guys