I am setting up a stake pool on mainnet after practicing on testnet for a while, but I can't get over this issue. BP is supposed to connect to my relay only, but I get the following:
BP:
[vmi92943:cardano.node.IpSubscription:Info:376] [2022-07-22 02:37:28.30 UTC] IPs: 0.0.0.0:0 [RelayIP:6000] Connection Attempt Start, destination RelayIP:6000
[vmi92943:cardano.node.IpSubscription:Error:376] [2022-07-22 02:37:31.36 UTC] IPs: 0.0.0.0:0 [RelayIP:6000] Connection Attempt Exception, destination RelayIP:6000 exception: Network.Socket.connect: <socket: 131>: does not exist (No route to host)
[vmi92943:cardano.node.ErrorPolicy:Notice:360] [2022-07-22 02:37:31.36 UTC] IP RelayIP:6000 ErrorPolicySuspendConsumer (Just (ConnectionExceptionTrace Network.Socket.connect: <socket: 131>: does not exist (No route to host))) 20s
[vmi92943:cardano.node.IpSubscription:Error:362] [2022-07-22 02:37:31.36 UTC] IPs: 0.0.0.0:0 [RelayIP:6000] Failed to start all required subscriptions
Relay:
[vmi92943:cardano.node.IpSubscription:Info:428] [2022-07-22 02:40:52.25 UTC] IPs: 0.0.0.0:0 [BPIP:6000] Skipping peer BPIP:6000
[vmi92943:cardano.node.IpSubscription:Error:428] [2022-07-22 02:40:52.25 UTC] IPs: 0.0.0.0:0 [BPIP:6000] Failed to start all required subscriptions
[vmi92943:cardano.node.IpSubscription:Info:428] [2022-07-22 02:40:53.25 UTC] IPs: 0.0.0.0:0 [BPIP:6000] Restarting Subscription after 1.004306329s desired valency 1 current valency 0
My topology seems to be fine:
BP:
{
"Producers": [
{
"addr": "Relay ip",
"port": 6000,
"valency": 1
}
]
}
Relay:
{
"Producers": [
{
"addr": "BP ip",
"port": 6000,
"valency": 1
},
{
"addr": "relays-new.cardano-mainnet.iohk.io",
"port": 3001,
"valency": 2
}
]
}
Currently I have no firewall on both systems.
I can't figure out the source of this issue. Thanks in advance for your help.
netstat -tpan
to see IPs, ports and processes - everything look as expected there (for the cardano node process)? Port 6000 is often used by X Windows - do you need to change it?telnet: Unable to connect to remote host: No route to host
in both machines.cardanobp
(in 3 spots) but relay script refscardano
- was that a bad copy/paste? 2) Is your socket file named$DIR/db/socket
? Most people use$DIR/db/node.socket
, not that it matters as long as you are consistent when setting CARDANO_NODE_SOCKET_PATHsudo iptables -S
) for your IPs and Ports. Start UFW and make sure the node/relay ports are accepting from all IPs ie from 'Anywhere' egsudo ufw status verbose
(you can lock down the inbound IP of your relay on the BP node later, so then only the relay can connect to your BP), and monitor all updated logs in /var/log.