Error starting Cardno node

Hello guys, im working with the tutorial of the stake pool school and right not passing this section here.

Whe runing
cardano-node run
–topology testnet-topology.json
–database-path db
–socket-path db/node.socket
–host-addr x.x.x.x \ (I use my IP)
–port 3001
–config testnet-config.json

I get this


Any Idea what the problem is?
Thanks

can u try with

–host-addr 0.0.0.0 \

Cheers,

since aprox. 5 min running, see the pic.

how did you fixed?

I tried it with –host-addr 0.0.0.0 \ and its still running as shown in the pic. Not fixed yet.

still running

can you please check whether the node is syncing now? (you can find the instructions how to do that on that tutorial page i.e. cardano-cli shelley query tip --testnet-magic 1097911063)

unfortunately not

HI,

Grab the IP addr from ‘ifconfig’ or ‘ip a’. Pass on the ip addrs to --host-addr …

Are you running this relay node at home or on cloud?

1 Like

Hi,

Before querring the tip, you should sync the node.
Thats my wild guess guess. I remember reading something about it.

Hope it helps.

Best,
Johann

Hi,

And I think you should replace db/node.socket by db/socket.

Best,
Johann

Hello, you where right, I had the wrong ip address. Started again with

cardano-node run
–topology testnet-topology.json
–database-path db
–socket-path db/node.socket
–host-addr 10.0.2.15
–port 3001
–config testnet-config.json

It ist working, but getting a lot of metrics:Critical errors. That’s normal?

Hi,
now it looks like your testnet-config.json is to recent. Have you downloaded it just recently?
May you check out if this version helps?
https://hydra.iohk.io/build/5102327/download/1/testnet-config.json
and replace
TraceBlockFetchDecisions: false
to
TraceBlockFetchDecisions: true

Best,
Johann

1 Like

Perfect!

Is the node in sync with latest Epoch? As @Johann_ADAholycs mentioned check the config files.

May be you can follow Guide: How to build a Cardano Stake Pool - CoinCashew

Hi, yes downloaded it yesterday. I downloaded the suggested version, result is that im getting less errors, see the pic.


And its TraceBlockFetchDecisions: true

Is that ok?

Before building a real stake pool I would like to finish the stake pool school.

1 Like

In the guide
Guide: How to build a Cardano Stake Pool - CoinCashew
they download also a config file which does not work. To defend them it is not their fault.

yes it is ok.

Maybe just let it sync up. I do not remember if the critical will go away. If it is still around then my bet is that the issue is with the testnet-config file.