Hello all,
My block producing node is able to connect to the relay node(I can see my relay node as peer in block producing node). On the other hand my relay node is not able to connect my block producing node, where I get the following error:
[ip-172-3:cardano.node.IpSubscription:Info:53] [2020-10-18 17:13:45.25 UTC] [String "Trying to connect to xx.xx.xx.xx:8003",String "[xx.xx.xx.xx:8003]",String "WithIPList SubscriptionTrace",String "LocalAddresses {laIpv4 = Just 0.0.0.0:0, laIpv6 = Nothing, laUnix = Nothing}"]
[ip-172-3:cardano.node.IpSubscription:Info:157] [2020-10-18 17:13:45.25 UTC] [String "Connection Attempt Start, destination xx.xx.xx.xx:8003",String "[xx.xx.xx.xx:8003]",String "WithIPList SubscriptionTrace",String "LocalAddresses {laIpv4 = Just 0.0.0.0:0, laIpv6 = Nothing, laUnix = Nothing}"]
[ip-172-3:cardano.node.IpSubscription:Notice:53] [2020-10-18 17:13:45.25 UTC] [String "Waiting 0.025s before attempting a new connection",String "[xx.xx.xx.xx:8003]",String "WithIPList SubscriptionTrace",String "LocalAddresses {laIpv4 = Just 0.0.0.0:0, laIpv6 = Nothing, laUnix = Nothing}"]
[ip-172-3:cardano.node.IpSubscription:Notice:157] [2020-10-18 17:13:45.25 UTC] [String "Connection Attempt End, destination xx.xx.xx.xx:8003 outcome: ConnectSuccessLast",String "[xx.xx.xx.xx:8003]",String "WithIPList SubscriptionTrace",String "LocalAddresses {laIpv4 = Just 0.0.0.0:0, laIpv6 = Nothing, laUnix = Nothing}"]
[ip-172-3:cardano.node.IpSubscription:Info:157] [2020-10-18 17:13:45.26 UTC] [String "Closed socket to xx.xx.xx.xx:8003",String "[xx.xx.xx.xx:8003]",String "WithIPList SubscriptionTrace",String "LocalAddresses {laIpv4 = Just 0.0.0.0:0, laIpv6 = Nothing, laUnix = Nothing}"]
[ip-172-3:cardano.node.IpSubscription:Error:53] [2020-10-18 17:13:45.27 UTC] [String "Failed to start all required subscriptions",String "[xx.xx.xx.xx:8003]",String "WithIPList SubscriptionTrace",String "LocalAddresses {laIpv4 = Just 0.0.0.0:0, laIpv6 = Nothing, laUnix = Nothing}"]
xx.xx.xx.xx is the public IP of my BP node
My mainnet-topology.json file for the relay node.
{
"Producers": [
{
"addr": "xx.xx.xx.xx",
"port": 8003,
"valency": 1
},
{
"addr": "relays-new.cardano-mainnet.iohk.io",
"port": 3001,
"valency": 2
}
]
}
I am using the --host-addr 0.0.0.0 option to run both BP and relay nodes.
Earlier when I was using --host-addr xx.xx.xx.xx option even my BP node was not connecting to the relay node. Now the BP node is connected and syncing with the relay node, but relay node can’t connect to the BP node. Am I missing anything, please help, I just got started with staking.