Failed to start all required subscriptions

Hi!

And the error causing what? the node is not syncing?

yes node is not syncing. It stuck at “slot”: 4492780, “block”: 4490491

nano config file and show me the first 10 lines

{

"ApplicationName" : “cardano-sl” ,

"ApplicationVersion" : 1 ,

"ByronGenesisFile" : “mainnet-byron-genesis.json” ,

"ByronGenesisHash" : “5f20df933584822601f9e3f8c024eb5eb252fe8cefb24d1317dc3d432e940ebb” ,

"LastKnownBlockVersion-Alt" : 0 ,

"LastKnownBlockVersion-Major" : 3 ,

"LastKnownBlockVersion-Minor" : 0 ,

"MaxKnownMajorProtocolVersion" : 2 ,

"Protocol" : “Cardano” ,

"RequiresNetworkMagic" : “RequiresNoMagic” ,

"ShelleyGenesisFile" : “mainnet-shelley-genesis.json” ,

"ShelleyGenesisHash" : “40710bcc4e024224641dc12fe1e5e478d2c3d3aa7ad4f032283ddcc73b2ddb03” ,

"TraceBlockFetchClient" : false ,

"TraceBlockFetchDecisions" : false ,

"TraceBlockFetchProtocol" : false ,

"TraceBlockFetchProtocolSerialised" : false ,

"TraceBlockFetchServer" : false ,

Replace the hash

40710bcc4e024224641dc12fe1e5e478d2c3d3aa7ad4f032283ddcc73b2ddb03

With

1a3be38bcbb7911969283716ad7aa550250226b76a61fc51cc9a9a35d9276d81

and restart the node

May 25 14:35:14 ip-172-31-66-0 cardano-node[112639]: Wrong Shelley genesis file: the actual hash is “40710bcc4e024224641dc12fe1e5e478d2c3d3aa7ad4f032283ddcc73b2ddb03”, but the expected Shelley genesis hash given in the node configuration file is “1a3be38bcbb7911969283716ad7aa550250226b76a61fc51cc9a9a35d9276d81”
I downloaded new config files from here https://hydra.iohk.io/build/6198010/download/1/index.html

Reminde me… are u using cntools?

U need also to download the shelley genesis file

wget https://hydra.iohk.io/build/6198010/download/1/mainnet-shelley-genesis.json

and restart the node

I don’t no what’s cntools. But I use this script
#!/bin/bash
DIRECTORY=/home/ubuntu/src/relay
PORT=3001
HOSTADDR=0.0.0.0
TOPOLOGY=/home/ubuntu/src/configuration/mainnet-topology.json
DB_PATH=/home/ubuntu/src/relay/db
SOCKET_PATH=/home/ubuntu/src/relay/db/socket
CONFIG=/home/ubuntu/src/configuration/mainnet-config.json
/home/ubuntu/.local/bin/cardano-node run --topology ${TOPOLOGY} --database-path ${DB_PATH} --socket-path ${SOCKET_PATH} --host-addr ${HOSTADDR} --port ${PORT} --config ${CONFIG}

and created service for this.

Ok, see above

same error on this json file
Wrong Shelley genesis file: the actual hash is “40710bcc4e024224641dc12fe1e5e478d2c3d3aa7ad4f032283ddcc73b2ddb03”, but the expected Shelley genesis hash given in the node configuration file is “1a3be38bcbb7911969283716ad7aa550250226b76a61fc51cc9a9a35d9276d81”

did u downloaded also the shelley-genesis file?

also check inside config file… u need to see this hash

“ShelleyGenesisHash”: “1a3be38bcbb7911969283716ad7aa550250226b76a61fc51cc9a9a35d9276d81”,

It stuck at here [2021-05-25 14:42:43.57 UTC] IPSubscriptionTarget {ispIps = , ispValency = 0} Do I need to wait for few miniutes ?

Ok, inside the topology file keep the iohk mainnet nodes till the nodes will sync ok?

Download the topology file also and restart the node

is this looks good ?
"addr" : relays-new.cardano-mainnet.iohk.io ,

"port" : 3001 ,

"valency" : 2

It’s just I have to wait It’s syncing now. Thank you!

1 Like

How do you know if the nodes are connected to eachother? I’ve updated the block producing node and the relay node. But now when I start the block node (that points to the relay node) but the relay node is not active, there’s no message in the block node that indicates that it “Failed to start all required subscriptions”. All the block producer node says is

[60cb0990:cardano.node.dns-producers:Notice:5] [2021-05-29 08:11:17.03 UTC]
[60cb0990:cardano.node.ip-producers:Notice:5] [2021-05-29 08:11:17.03 UTC] IPSubscriptionTarget {ispIps = [10.0.0.154:7001], ispValency = 1}

Which is weird because I’d expect a similar message that would hint towards no connection being made (like my original comment above)

Also the above output is the exact same when I start the relay node, so I have no idea if the two nodes are actually connected or not

EDIT: After leaving the block node and relay node on for about 15 min or so the block node started to update (so i guess to answer my own question, you just have to leave it alone for a while)

1 Like