I’m still going through the Stake pool course. My relay node is not talking to the core node and vice versa.
#Relay node topology file. I got the ip address from AWS EC2->corenode->Public IPv4 address
[ec2-user@ip-xxx-xx-x-xxx relay]$ cat testnet-topology.json
{
“Producers”: [
{
“addr”: “core ipaddress”,
“port”: 3000,
“valency”: 1
}
]
}
#Core node topology file. I got the ip address from AWS EC2->relaynode->Public IPv4 address
[ec2-user@ip-xxx-xx-x-xxx pool]$ cat testnet-topology.json
{
“Producers”: [
{
“addr”: “relaynode ipaddress”,
“port”: 3000,
“valency”: 1
}
]
}
First I start the relay node
cd relay
cardano-node run
–topology testnet-topology.json
–database-path db
–socket-path db/node.socket
–host-addr 0.0.0.0
–port 3000
–config testnet-config.json
#I see the messages below saying failed to start subscriptions. I guess it’s not connecting to core node because it’s not started yet.
[ip-172-3:cardano.node.IpSubscription:Info:54] [2021-04-22 15:02:14.64 UTC] IPs: 0.0.0.0:0 [core ipaddress:3000] Skipping peer core ipaddress:3000
[ip-172-3:cardano.node.IpSubscription:Error:54] [2021-04-22 15:02:14.64 UTC] IPs: 0.0.0.0:0 [core ipaddress:3000] Failed to start all required subscriptions
[ip-172-3:cardano.node.IpSubscription:Info:54] [2021-04-22 15:02:15.64 UTC] IPs: 0.0.0.0:0 [core ipaddress:3000] Restarting Subscription after 1.001414497s desired valency 1 current valency 0
#then I start the core node
cd
cardano-node run
–topology pool/testnet-topology.json
–database-path pool/db
–socket-path pool/db/node.socket
–host-addr 0.0.0.0
–port 3000
–config pool/testnet-config.json
–shelley-kes-key pool-keys/kes.skey
–shelley-vrf-key pool-keys/vrf.skey
–shelley-operational-certificate pool-keys/node.cert
#I get similar messages even though relay node is running.
[ip-172-3:cardano.node.IpSubscription:Info:54] [2021-04-22 15:08:38.53 UTC] IPs: 0.0.0.0:0 [relay ipaddress:3000] Skipping peer relay ipaddress:3000
[ip-172-3:cardano.node.IpSubscription:Error:54] [2021-04-22 15:08:38.53 UTC] IPs: 0.0.0.0:0 [relay ipaddress:3000] Failed to start all required subscriptions
[ip-172-3:cardano.node.IpSubscription:Info:54] [2021-04-22 15:08:39.53 UTC] IPs: 0.0.0.0:0 [relay ipaddress:3000] Restarting Subscription after 1.002236912s desired valency 1 current valency 0
It doesn’t look like they’re connecting. Appreciate any ideas.