Relay giving '"Failed to start all required subscriptions", but they do establish a connection

Have just run through the https://cardano-node-installation.stakepool247.eu/ set up and have 2 relays up on mainnet. Have not registered block producer as yet. Relays dont seem to talk to each other nicely… I get this message that they connect … (using AWS internal/private IP’s for now)

[relay01:cardano.node.DnsSubscription:Notice:85] [2021-03-06 05:48:38.75 UTC] Domain: "ip-172-31-30-46.ap-southeast-2.compute.internal" Connection Attempt Start, destination 172.31.30.46:3001
[relay01:cardano.node.DnsSubscription:Notice:85] [2021-03-06 05:48:38.75 UTC] Domain: "ip-172-31-30-46.ap-southeast-2.compute.internal" Connection Attempt End, destination 172.31.30.46:3001 outcome: ConnectSuccess

So I get a ConnectSuccess message, but then I get this …

[relay01:cardano.node.DnsSubscription:Warning:75] [2021-03-06 05:49:58.76 UTC] Domain: "ip-172-31-30-46.ap-southeast-2.compute.internal" Failed to start all required subscriptions
[relay01:cardano.node.DnsSubscription:Warning:75] [2021-03-06 05:50:08.76 UTC] Domain: "ip-172-31-30-46.ap-southeast-2.compute.internal" Failed to start all required subscriptions
[relay01:cardano.node.DnsSubscription:Warning:75] [2021-03-06 05:50:18.76 UTC] Domain: "ip-172-31-30-46.ap-southeast-2.compute.internal" Failed to start all required subscriptions
[relay01:cardano.node.DnsSubscription:Warning:75] [2021-03-06 05:50:28.77 UTC] Domain: "ip-172-31-30-46.ap-southeast-2.compute.internal" Failed to start all required subscriptions

It talks to the relays-new.cardano-mainnet.iohk.io and gets new tip updates etc just fine.

Any help appreciated…

Thanks

what does your mainnet-topology.json file look like?

Yes what does the topology file look like for those, but also I believe I was getting this error because I had valency equal to 2 when the dns name only had 1 IP associated with it. The valency is used both for dns names and IP’s slightly differently.

https://docs.cardano.org/projects/cardano-node/en/latest/getting-started/understanding-config-files.html

valency tells the node how many connections your node should have. It only has an effect for dns addresses. If a dns address is given, valency governs to how many resolved ip addresses should we maintain active (hot) connection; for ip addresses, valency is used as a Boolean value, where 0 means to ignore the address.

Regards,
COINZ Pool