Block Node is perfectly connecting with Relay Node.
Note: IP addresses have been changed.
[relay-ip:cardano.node.IpSubscription:Info:91] [2021-07-24 02:33:01.01 UTC] IPs: 0.0.0.0:0 [10.12.15.36:3001] Connection Attempt Start, destination 10.12.15.36:3001
[relay-ip:cardano.node.IpSubscription:Notice:91] [2021-07-24 02:33:01.02 UTC] IPs: 0.0.0.0:0 [10.12.15.36:3001] Connection Attempt End, destination 10.12.15.36:3001 outcome: ConnectSuccessLast
[relay-ip:cardano.node.IpSubscription:Info:91] [2021-07-24 02:33:01.02 UTC] IPs: 0.0.0.0:0 [10.12.15.36:3001] Closed socket to 10.12.15.36:3001
[relay-ip:cardano.node.IpSubscription:Error:88] [2021-07-24 02:33:01.04 UTC] IPs: 0.0.0.0:0 [10.12.15.36:3001] Failed to start all required subscriptions
[relay-ip:cardano.node.IpSubscription:Info:88] [2021-07-24 02:33:02.04 UTC] IPs: 0.0.0.0:0 [10.12.15.36:3001] Restarting Subscription after 1.025665196s desired valency 1 current valency 0
[relay-ip:cardano.node.IpSubscription:Info:88] [2021-07-24 02:33:11.01 UTC] IPs: 0.0.0.0:0 [10.12.15.36:3001] Trying to connect to 10.12.15.36:3001
[relay-ip:cardano.node.IpSubscription:Info:162] [2021-07-24 02:33:11.01 UTC] IPs: 0.0.0.0:0 [10.12.15.36:3001] Connection Attempt Start, destination 10.12.15.36:3001
[relay-ip:cardano.node.IpSubscription:Notice:88] [2021-07-24 02:33:11.01 UTC] IPs: 0.0.0.0:0 [10.12.15.36:3001] Waiting 0.025s before attempting a new connection
[relay-ip:cardano.node.IpSubscription:Notice:162] [2021-07-24 02:33:11.01 UTC] IPs: 0.0.0.0:0 [10.12.15.36:3001] Connection Attempt End, destination 10.12.15.36:3001 outcome: ConnectSuccessLast
[relay-ip:cardano.node.IpSubscription:Info:162] [2021-07-24 02:33:11.02 UTC] IPs: 0.0.0.0:0 [10.12.15.36:3001] Closed socket to 10.12.15.36:3001
[relay-ip:cardano.node.IpSubscription:Error:88] [2021-07-24 02:33:11.04 UTC] IPs: 0.0.0.0:0 [10.12.15.36:3001] Failed to start all required subscriptions
Relay Node: relay.example.com:3001
cat /opt/cardano/config/mainnet-topology.json
{
"Producers": [
{
"addr": "10.12.15.36",
"port": 3001,
"valency": 1
},
{
"addr": "relays-new.cardano-mainnet.iohk.io",
"port": 3001,
"valency": 2
}
]
}
Block Node: 10.12.15.36:3001 (LAN); 48.24.97.129:3001 (WLAN)
{
"Producers": [
{
"addr": "relay.example.com",
"port": 3001,
"valency": 1
}
]
}
Firewall:
Port connections are a success from Relay node to Block node.
From relay node, able to connect to Block node Internal IP and port,
$ nc -zv 10.12.15.36 3001
Connection to 10.12.15.36 3001 port [tcp/*] succeeded!
From relay node, able to connect to Block node External IP and port,
$ nc -zv 48.24.97.129 3001
Connection to 48.24.97.129 3001 port [tcp/*] succeeded!
I’ve also tried external IP on Relay node mainnet-topology.json that results in the same issue.
Relay Node works fine if I remove the Block Producer in the mainnet-topology.json.
When I run cardano-node on both block and relay, I use 0.0.0.0 for --host-addr
Am I missing anything? This is the remaining error preventing me from going live. I wanted to solve this before submitting stake pool registration certificate and delegation certificate.