I can not go past this step on my relay node

I am trying to set up a relay node, my system is Ubuntu20 with 16GB memory.

I’ve in my startRelayNode1.sh

#!/bin/bash
DIRECTORY=/home/carda/cardano
PORT=6000
HOSTADDR=0.0.0.0
TOPOLOGY=${DIRECTORY}/configuration/mainnet-topology.json
DB_PATH=${DIRECTORY}/state
SOCKET_PATH=${DIRECTORY}/state/node.socket
CONFIG=${DIRECTORY}/configuration/mainnet-config.json
/usr/local/bin/cardano-node run +RTS -N -A16m -qg -qb -RTS --topology ${TOPOLOGY} --database-path ${DB_PATH} --socket-path ${SOCKET_PATH} --host-addr ${HOSTADDR} --port ${PORT} --config ${CONFIG}

But I can not go beyond this point in multiple tries. Any help is appreciated.

[aha-momo:cardano.node.Mux:Info:690] [2022-04-13 19:21:51.77 UTC] Bearer on ConnectionId {localAddress = 192.168.0.53:36913, remoteAddress = 204.236.161.163:3001} event: State: Dead
[aha-momo:cardano.node.Mux:Notice:690] [2022-04-13 19:21:51.77 UTC] Bearer on ConnectionId {localAddress = 192.168.0.53:36913, remoteAddress = 204.236.161.163:3001} event: Miniprotocol MiniPsh = 75e642af4d44365e4ecbb65e8a044ef4bec7dd411cf28b6b990f29c1938c5026})) (ValidationError (ExtValidationErrorLedger (HardForkLedgerErrorFromEra S (S (S (S (Z (WrapLedgerErr {unwrapLedgerErr Failure (MissingVKeyWitnessesUTXOW (WitHashes (fromList [KeyHash "7598e250b8fc7287578c53b2fd0573ea80f7a506d78d922edb0ed789"])))))))])}))))))))
[aha-momo:cardano.node.DnsSubscription:Error:676] [2022-04-13 19:21:51.77 UTC] Domain: "relays-new.cardano-mainnet.iohk.io" Application Exception: 204.236.161.163:3001 InvalidBlock (At (BlocValidationError (ExtValidationErrorLedger (HardForkLedgerErrorFromEra S (S (S (S (Z (WrapLedgerErr {unwrapLedgerErr = BBodyError (BlockTransitionError [ShelleyInAlonzoPredFail (LedgersFailurb8fc7287578c53b2fd0573ea80f7a506d78d922edb0ed789"])))))))])}))))))))
[aha-momo:cardano.node.ErrorPolicy:Warning:500] [2022-04-13 19:21:51.77 UTC] IP 204.236.161.163:3001 ErrorPolicySuspendPeer (Just (ApplicationExceptionTrace (InvalidBlock (At (Block {blockPoError (ExtValidationErrorLedger (HardForkLedgerErrorFromEra S (S (S (S (Z (WrapLedgerErr {unwrapLedgerErr = BBodyError (BlockTransitionError [ShelleyInAlonzoPredFail (LedgersFailure (LedgerF8c53b2fd0573ea80f7a506d78d922edb0ed789"])))))))])}))))))))))) 200s 200s
[aha-momo:cardano.node.DnsSubscription:Notice:710] [2022-04-13 19:22:00.74 UTC] Domain: "relays-new.cardano-mainnet.iohk.io" Connection Attempt Start, destination 54.150.68.245:3001
[aha-momo:cardano.node.DnsSubscription:Notice:711] [2022-04-13 19:22:00.76 UTC] Domain: "relays-new.cardano-mainnet.iohk.io" Connection Attempt Start, destination 3.23.246.240:3001
[aha-momo:cardano.node.DnsSubscription:Notice:711] [2022-04-13 19:22:00.92 UTC] Domain: "relays-new.cardano-mainnet.iohk.io" Connection Attempt End, destination 3.23.246.240:3001 outcome: Co
[aha-momo:cardano.node.DnsSubscription:Notice:710] [2022-04-13 19:22:01.02 UTC] Domain: "relays-new.cardano-mainnet.iohk.io" Connection Attempt End, destination 54.150.68.245:3001 outcome: C
[aha-momo:cardano.node.Mux:Info:711] [2022-04-13 19:22:01.08 UTC] Bearer on ConnectionId {localAddress = 192.168.0.53:46169, remoteAddress = 3.23.246.240:3001} event: Handshake Client end, d
[aha-momo:cardano.node.Mux:Info:712] [2022-04-13 19:22:01.08 UTC] Bearer on ConnectionId {localAddress = 192.168.0.53:46169, remoteAddress = 3.23.246.240:3001} event: State: Mature
[aha-momo:cardano.node.Mux:Info:712] [2022-04-13 19:22:01.08 UTC] Bearer on ConnectionId {localAddress = 192.168.0.53:46169, remoteAddress = 3.23.246.240:3001} event: Eagerly started (MiniPr
[aha-momo:cardano.node.Mux:Info:712] [2022-04-13 19:22:01.08 UTC] Bearer on ConnectionId {localAddress = 192.168.0.53:46169, remoteAddress = 3.23.246.240:3001} event: Eagerly started (MiniPr
[aha-momo:cardano.node.Mux:Info:712] [2022-04-13 19:22:01.08 UTC] Bearer on ConnectionId {localAddress = 192.168.0.53:46169, remoteAddress = 3.23.246.240:3001} event: Eagerly started (MiniPr
[aha-momo:cardano.node.Mux:Info:712] [2022-04-13 19:22:01.08 UTC] Bearer on ConnectionId {localAddress = 192.168.0.53:46169, remoteAddress = 3.23.246.240:3001} event: Eagerly started (MiniPr
[aha-momo:cardano.node.Mux:Info:710] [2022-04-13 19:22:01.31 UTC] Bearer on ConnectionId {localAddress = 192.168.0.53:40233, remoteAddress = 54.150.68.245:3001} event: Handshake Client end,
[aha-momo:cardano.node.Mux:Info:725] [2022-04-13 19:22:01.31 UTC] Bearer on ConnectionId {localAddress = 192.168.0.53:40233, remoteAddress = 54.150.68.245:3001} event: State: Mature
[aha-momo:cardano.node.Mux:Info:725] [2022-04-13 19:22:01.31 UTC] Bearer on ConnectionId {localAddress = 192.168.0.53:40233, remoteAddress = 54.150.68.245:3001} event: Eagerly started (MiniP
[aha-momo:cardano.node.Mux:Info:725] [2022-04-13 19:22:01.31 UTC] Bearer on ConnectionId {localAddress = 192.168.0.53:40233, remoteAddress = 54.150.68.245:3001} event: Eagerly started (MiniP
[aha-momo:cardano.node.Mux:Info:725] [2022-04-13 19:22:01.31 UTC] Bearer on ConnectionId {localAddress = 192.168.0.53:40233, remoteAddress = 54.150.68.245:3001} event: Eagerly started (MiniP
[aha-momo:cardano.node.Mux:Info:725] [2022-04-13 19:22:01.31 UTC] Bearer on ConnectionId {localAddress = 192.168.0.53:40233, remoteAddress = 54.150.68.245:3001} event: Eagerly started (MiniP
[aha-momo:cardano.node.Mux:Info:712] [2022-04-13 19:22:01.57 UTC] Bearer on ConnectionId {localAddress = 192.168.0.53:46169, remoteAddress = 3.23.246.240:3001} event: State: Dead
[aha-momo:cardano.node.Mux:Notice:712] [2022-04-13 19:22:01.57 UTC] Bearer on ConnectionId {localAddress = 192.168.0.53:46169, remoteAddress = 3.23.246.240:3001} event: Miniprotocol MiniProt= 75e642af4d44365e4ecbb65e8a044ef4bec7dd411cf28b6b990f29c1938c5026})) (ValidationError (ExtValidationErrorLedger (HardForkLedgerErrorFromEra S (S (S (S (Z (WrapLedgerErr {unwrapLedgerErr = Blure (MissingVKeyWitnessesUTXOW (WitHashes (fromList [KeyHash "7598e250b8fc7287578c53b2fd0573ea80f7a506d78d922edb0ed789"])))))))])}))))))))
[aha-momo:cardano.node.DnsSubscription:Error:711] [2022-04-13 19:22:01.57 UTC] Domain: "relays-new.cardano-mainnet.iohk.io" Application Exception: 3.23.246.240:3001 InvalidBlock (At (Block {idationError (ExtValidationErrorLedger (HardForkLedgerErrorFromEra S (S (S (S (Z (WrapLedgerErr {unwrapLedgerErr = BBodyError (BlockTransitionError [ShelleyInAlonzoPredFail (LedgersFailure (c7287578c53b2fd0573ea80f7a506d78d922edb0ed789"])))))))])}))))))))
[aha-momo:cardano.node.ErrorPolicy:Warning:500] [2022-04-13 19:22:01.57 UTC] IP 3.23.246.240:3001 ErrorPolicySuspendPeer (Just (ApplicationExceptionTrace (InvalidBlock (At (Block {blockPointor (ExtValidationErrorLedger (HardForkLedgerErrorFromEra S (S (S (S (Z (WrapLedgerErr {unwrapLedgerErr = BBodyError (BlockTransitionError [ShelleyInAlonzoPredFail (LedgersFailure (LedgerFail3b2fd0573ea80f7a506d78d922edb0ed789"])))))))])}))))))))))) 200s 200s
[aha-momo:cardano.node.Mux:Info:725] [2022-04-13 19:22:02.18 UTC] Bearer on ConnectionId {localAddress = 192.168.0.53:40233, remoteAddress = 54.150.68.245:3001} event: State: Dead
[aha-momo:cardano.node.Mux:Notice:725] [2022-04-13 19:22:02.18 UTC] Bearer on ConnectionId {localAddress = 192.168.0.53:40233, remoteAddress = 54.150.68.245:3001} event: Miniprotocol MiniPro = 75e642af4d44365e4ecbb65e8a044ef4bec7dd411cf28b6b990f29c1938c5026})) (ValidationError (ExtValidationErrorLedger (HardForkLedgerErrorFromEra S (S (S (S (Z (WrapLedgerErr {unwrapLedgerErr = ilure (MissingVKeyWitnessesUTXOW (WitHashes (fromList [KeyHash "7598e250b8fc7287578c53b2fd0573ea80f7a506d78d922edb0ed789"])))))))])}))))))))
[aha-momo:cardano.node.DnsSubscription:Error:710] [2022-04-13 19:22:02.18 UTC] Domain: "relays-new.cardano-mainnet.iohk.io" Application Exception: 54.150.68.245:3001 InvalidBlock (At (Block lidationError (ExtValidationErrorLedger (HardForkLedgerErrorFromEra S (S (S (S (Z (WrapLedgerErr {unwrapLedgerErr = BBodyError (BlockTransitionError [ShelleyInAlonzoPredFail (LedgersFailure fc7287578c53b2fd0573ea80f7a506d78d922edb0ed789"])))))))])}))))))))

Hi,

What version did u installed and which guide did u used?

Cheers,

Hi, Sorry for the incomplete information, my system spec is as below,
cardano-node 1.34.0 - linux-x86_64 - ghc-8.10
cardano-cli 1.34.0 - linux-x86_64 - ghc-8.10

I did not compile it myself from the source. instead, I’ve downloaded the pre-compiled from the git repo. For reference, I read many different articles so I didn’t follow a specific guidelines in that sense. But my startup script startRelayNode1.sh is copied from Creating Startup Scripts - CoinCashew, and I’ve adapted the paths and environment variables. Also from a pure organization reasons I’ve put put my config (.json) files inside configuration directory. Config files, I’ve copied them from Cardano Configurations.

  1. Does your node gets stuck after that output or does it produce more logs? Asking as mostly those are notice and info level logs.
  2. What does the sync status say, is it incrementing? cardano-cli query tip --mainnet
  3. What about CPU utilization?
  4. Are you connected to multiple relays or just the IOHK one? If only IOHK use topologyUpdater (search for it in the coincashew guide)
  1. my above output is just a snippet. It keeps on repeating like the one above, I had to break it with ctrl C.

  2. cardano-cli query tip --mainnet gives result below.

{
    "era": "Alonzo",
    "syncProgress": "94.81",
    "hash": "118c36512fec5686e6a7d285a1247f1af421c1ac032801af7fe210cd59365af9",
    "epoch": 315,
    "slot": 50898867,
    "block": 6769562
}
  1. CPU utilization swings 98 - 100 %
  2. just IOHK one: I’ll try topologyUpdater and post back.
  1. You can probably ignore the notics and info logs
  2. You need to wait 10+ hours to sync to 100%
  3. That is expected during sync
  4. Use TopologyUpdater until P2P comes to mainnet (in several months maybe)

check if the sync progress is increasing… should reach 100% … and use gLiveView for a better view of the node status (peers, sync status, tx processed, etc)
u can find the steps inside coincashew guide
and also set the node to run as systemd (also you will find the steps inside coincashew guide); this way if your server will reboot, the node will start automatically

@mcrio:
In between I am getting this error msg.

[aha-momo:cardano.node.DnsSubscription:Error:1381] [2022-04-14 09:01:51.97 UTC] Domain: "relays-new.cardano-mainnet.iohk.io" Application Exception: 18.223.202.44:3001 InvalidBlock (At (Block {blockPointSlot = SlotNo 50898875, blockPointHash = 75e642af4d44365e4ecbb65e8a044ef4bec7dd411cf28b6b990f29c1938c5026})) (ValidationError (ExtValidationErrorLedger (HardForkLedgerErrorFromEra S (S (S (S (Z (WrapLedgerErr {unwrapLedgerErr = BBodyError (BlockTransitionError [ShelleyInAlonzoPredFail (LedgersFailure (LedgerFailure (UtxowFailure (WrappedShelleyEraFailure (MissingVKeyWitnessesUTXOW (WitHashes (fromList [KeyHash "7598e250b8fc7287578c53b2fd0573ea80f7a506d78d922edb0ed789"])))))))])}))))))))

And when I ran topologyUpdater.sh I get:

{ "resultcode": "503", "datetime":"2022-04-14 08:56:22", "clientIp": "xx.xx.xx.xx", "msg": "blockNo 6769562 seems out of sync. please retry" }

What do I need to do? Cardano-node is still running and spitting out lots of warnings and errors. Do I wait and keep on running?

Wait first until it syncs 100%

you are receiving that error when u run topologyupdater because the node is not synced

Thanks, I’ve now installed/setup gLiveView
Screenshot 2022-04-14 at 11.49.04
How do I know it’s syncing?

When I do cardano-cli query tip --mainnet, syncProgress, slot and block numbers remained the same as already posted an hour ago.

did u started the relay with cnode port 6000? Did u edited the path inside the env file?

also, try to donwload the files again from here, and restart the node

https://hydra.iohk.io/build/13695229/download/1/index.html

Yes I started cardano-node with port 6000 and also I’ve edited the env file as below.

CNODE_HOME="/home/carda/cardano" 
CNODE_PORT=6000  
CONFIG="${NODE_HOME}/configuration/mainnet-config.json" 
SOCKET="${NODE_HOME}/state/node.socket" 

Wait more time then… inside glive I see starting status (wait more minutes and check if the status will change to syncing)

sidenode: latest version is 1.34.1

I’ve updated cardano-node/cli to 1.34.1, downloaded config files again and deleted the folder ledger inside my db folder. After that running cardano-node for about 3 hours, now it is syncing again. Thanks for the help and guidance provided.
Screen Shot 2022-04-14 at 18.24.29

2 Likes