Testnet Syncing Issues

Hey Cardonians,

I’m walking through the tutorial on creating and running a stake pool. Currently, I’m learning by doing everything on the testnet before trying the real thing on the mainnet. Recently, however, I’ve been having a problem with my testnet node not syncing. When I restart it it’ll sync, but then while it’s running it won’t. My mainnet node is syncing fine however.

I’m using the following testnet config/setup files:

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

I’m using the following testnet config/setup files:

I’m running the following command:

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

I’m getting the following error/warning messages:

[ubuntu:cardano.node.DnsSubscription:Error:1750] [2020-08-31 11:49:45.68 UTC] [String “Application Exception: 54.248.196.117:3001 InvalidBlock (At (Block {blockPointSlot = SlotNo 4504571, blockPointHash = a7b8a285a063ff1a8767914e5986f88b6050d95f094475a906bb7ce11e2fd0b6})) (InFutureExceedsClockSkew (RealPoint (SlotNo 4504571) a7b8a285a063ff1a8767914e5986f88b6050d95f094475a906bb7ce11e2fd0b6))”,String “SubscriptionTrace”,String “"relays-new.cardano-testnet.iohkdev.io"”]
[ubuntu:cardano.node.ErrorPolicy:Warning:55] [2020-08-31 11:49:45.68 UTC] [String “ErrorPolicySuspendPeer (Just (ApplicationExceptionTrace (InvalidBlock (At (Block {blockPointSlot = SlotNo 4504571, blockPointHash = a7b8a285a063ff1a8767914e5986f88b6050d95f094475a906bb7ce11e2fd0b6})) (InFutureExceedsClockSkew (RealPoint (SlotNo 4504571) a7b8a285a063ff1a8767914e5986f88b6050d95f094475a906bb7ce11e2fd0b6))))) 200s 200s”,String “ErrorPolicyTrace”,String “54.248.196.117:3001”]

Again, it’s weird because it’ll sync when I restart it, however, it’s not syncing while running normally. Only syncs at the start of the restart.

Any ideas? Thanks!

Hi,

Try –host-addr 0.0.0.0

Lauris

As far as I understand - - host-addr is optional.

Also, in your topology you will be connecting to relays on port 3001 (unless you’ve changed it). Maybe try a different port for your node.

Hope this helps.

A

Thanks for all the suggestions, I decided to just delete the whole db and sync the blockchain from scratch and that seemed to have fixed my problem.