Problems with running node 1.20.0 on testnet

Hi!

I created node 1.20.0
I’m starting my relay node following
https://cardano-foundation.gitbook.io/stake-pool-course/stake-pool-guide/start_your_nodes/start-your-node

But i see some errors with DNS

[ubuntu-4:cardano.node.ErrorPolicy:Notice:55] 
[ubuntu-4:cardano.node.DnsSubscription:Error:60] 

my start command is:

cardano-node run \
 --topology testnet-topology.json \
 --database-path db \
 --socket-path db/node.socket \
 --host-addr  here is my real ip address
 --port 3001 \
 --config testnet-config.json

And here is a full log

./start_node.sh
Listening on http://127.0.0.1:12798
[ubuntu-4:cardano.node.release:Notice:5] [2020-09-23 13:55:18.21 UTC] ShelleyProtocol
[ubuntu-4:cardano.node.networkMagic:Notice:5] [2020-09-23 13:55:18.21 UTC] NetworkMagic 1097911063
[ubuntu-4:cardano.node.version:Notice:5] [2020-09-23 13:55:18.21 UTC] 1.20.0
[ubuntu-4:cardano.node.commit:Notice:5] [2020-09-23 13:55:18.21 UTC] 1f2f51164b53b9b775c03ac9f1e23e7b70c74b05
[ubuntu-4:cardano.node.ChainDB:Info:5] [2020-09-23 13:55:18.22 UTC] Opened imm db with immutable tip at genesis (origin) and chunk 0
[ubuntu-4:cardano.node.ChainDB:Info:5] [2020-09-23 13:55:18.22 UTC] Opened vol db
[ubuntu-4:cardano.node.ChainDB:Info:5] [2020-09-23 13:55:18.22 UTC] Replaying ledger from genesis
[ubuntu-4:cardano.node.ChainDB:Info:5] [2020-09-23 13:55:18.22 UTC] Opened lgr db
[ubuntu-4:cardano.node.ChainDB:Info:5] [2020-09-23 13:55:18.22 UTC] Opened db with immutable tip at genesis (origin) and tip genesis (origin)
[ubuntu-4:cardano.node.DnsSubscription:Notice:59] [2020-09-23 13:55:18.22 UTC] [String "Connection Attempt Start, destination 18.133.130.172:3001",String "SubscriptionTrace",String "\"relays-new.cardano-testnet.iohkdev.io\""]
[ubuntu-4:cardano.node.DnsSubscription:Notice:60] [2020-09-23 13:55:18.25 UTC] [String "Connection Attempt Start, destination 18.159.64.253:3001",String "SubscriptionTrace",String "\"relays-new.cardano-testnet.iohkdev.io\""]
[ubuntu-4:cardano.node.DnsSubscription:Notice:59] [2020-09-23 13:55:18.25 UTC] [String "Connection Attempt End, destination 18.133.130.172:3001 outcome: ConnectSuccess",String "SubscriptionTrace",String "\"relays-new.cardano-testnet.iohkdev.io\""]
[ubuntu-4:cardano.node.DnsSubscription:Notice:61] [2020-09-23 13:55:18.28 UTC] [String "Connection Attempt Start, destination 3.124.102.218:3001",String "SubscriptionTrace",String "\"relays-new.cardano-testnet.iohkdev.io\""]
[ubuntu-4:cardano.node.DnsSubscription:Notice:60] [2020-09-23 13:55:18.28 UTC] [String "Connection Attempt End, destination 18.159.64.253:3001 outcome: ConnectSuccessLast",String "SubscriptionTrace",String "\"relays-new.cardano-testnet.iohkdev.io\""]
[ubuntu-4:cardano.node.ErrorPolicy:Notice:55] [2020-09-23 13:55:18.28 UTC] [String "ErrorPolicySuspendConsumer (Just (ConnectionExceptionTrace (SubscriberError {seType = SubscriberParallelConnectionCancelled, seMessage = \"Parallel connection cancelled\", seStack = []}))) 1s",String "ErrorPolicyTrace",String "3.124.102.218:3001"]
[ubuntu-4:cardano.node.DnsSubscription:Error:60] [2020-09-23 13:55:18.37 UTC] [String "Application Exception: 18.159.64.253:3001 DecoderFailure (ChainSync (Header (HardForkBlock (': * (ShelleyBlock (Shelley StandardCrypto)) ('[] *)))) (Tip HardForkBlock (': * (ShelleyBlock (Shelley StandardCrypto)) ('[] *)))) ServerAgency TokNext TokCanAwait) (DeserialiseFailure 88 \"expected list len or indef\")",String "SubscriptionTrace",String "\"relays-new.cardano-testnet.iohkdev.io\""]
[ubuntu-4:cardano.node.ErrorPolicy:Warning:55] [2020-09-23 13:55:18.37 UTC] [String "ErrorPolicySuspendPeer (Just (ApplicationExceptionTrace DecoderFailure (ChainSync (Header (HardForkBlock (': * (ShelleyBlock (Shelley StandardCrypto)) ('[] *)))) (Tip HardForkBlock (': * (ShelleyBlock (Shelley StandardCrypto)) ('[] *)))) ServerAgency TokNext TokCanAwait) (DeserialiseFailure 88 \"expected list len or indef\"))) 200s 200s",String "ErrorPolicyTrace",String "18.159.64.253:3001"]
[ubuntu-4:cardano.node.DnsSubscription:Error:59] [2020-09-23 13:55:18.37 UTC] [String "Application Exception: 18.133.130.172:3001 DecoderFailure (ChainSync (Header (HardForkBlock (': * (ShelleyBlock (Shelley StandardCrypto)) ('[] *)))) (Tip HardForkBlock (': * (ShelleyBlock (Shelley StandardCrypto)) ('[] *)))) ServerAgency TokNext TokCanAwait) (DeserialiseFailure 88 \"expected list len or indef\")",String "SubscriptionTrace",String "\"relays-new.cardano-testnet.iohkdev.io\""]
[ubuntu-4:cardano.node.ErrorPolicy:Warning:55] [2020-09-23 13:55:18.37 UTC] [String "ErrorPolicySuspendPeer (Just (ApplicationExceptionTrace DecoderFailure (ChainSync (Header (HardForkBlock (': * (ShelleyBlock (Shelley StandardCrypto)) ('[] *)))) (Tip HardForkBlock (': * (ShelleyBlock (Shelley StandardCrypto)) ('[] *)))) ServerAgency TokNext TokCanAwait) (DeserialiseFailure 88 \"expected list len or indef\"))) 200s 200s",String "ErrorPolicyTrace",String "18.133.130.172:3001"]
[ubuntu-4:cardano.node.DnsSubscription:Notice:94] [2020-09-23 13:55:28.22 UTC] [String "Connection Attempt Start, destination 18.159.64.253:3001",String "SubscriptionTrace",String "\"relays-new.cardano-testnet.iohkdev.io\""]
[ubuntu-4:cardano.node.DnsSubscription:Notice:95] [2020-09-23 13:55:28.25 UTC] [String "Connection Attempt Start, destination 3.124.102.218:3001",String "SubscriptionTrace",String "\"relays-new.cardano-testnet.iohkdev.io\""]
[ubuntu-4:cardano.node.DnsSubscription:Notice:94] [2020-09-23 13:55:28.25 UTC] [String "Connection Attempt End, destination 18.159.64.253:3001 outcome: ConnectSuccess",String "SubscriptionTrace",String "\"relays-new.cardano-testnet.iohkdev.io\""]
[ubuntu-4:cardano.node.DnsSubscription:Notice:95] [2020-09-23 13:55:28.28 UTC] [String "Connection Attempt End, destination 3.124.102.218:3001 outcome: ConnectSuccessLast",String "SubscriptionTrace",String "\"relays-new.cardano-testnet.iohkdev.io\""]
[ubuntu-4:cardano.node.DnsSubscription:Notice:96] [2020-09-23 13:55:28.28 UTC] [String "Connection Attempt Start, destination 52.77.148.212:3001",String "SubscriptionTrace",String "\"relays-new.cardano-testnet.iohkdev.io\""]
[ubuntu-4:cardano.node.DnsSubscription:Error:95] [2020-09-23 13:55:28.36 UTC] [String "Application Exception: 3.124.102.218:3001 DecoderFailure (ChainSync (Header (HardForkBlock (': * (ShelleyBlock (Shelley StandardCrypto)) ('[] *)))) (Tip HardForkBlock (': * (ShelleyBlock (Shelley StandardCrypto)) ('[] *)))) ServerAgency TokNext TokCanAwait) (DeserialiseFailure 88 \"expected list len or indef\")",String "SubscriptionTrace",String "\"relays-new.cardano-testnet.iohkdev.io\""]
[ubuntu-4:cardano.node.ErrorPolicy:Warning:55] [2020-09-23 13:55:28.36 UTC] [String "ErrorPolicySuspendPeer (Just (ApplicationExceptionTrace DecoderFailure (ChainSync (Header (HardForkBlock (': * (ShelleyBlock (Shelley StandardCrypto)) ('[] *)))) (Tip HardForkBlock (': * (ShelleyBlock (Shelley StandardCrypto)) ('[] *)))) ServerAgency TokNext TokCanAwait) (DeserialiseFailure 88 \"expected list len or indef\"))) 200s 200s",String "ErrorPolicyTrace",String "3.124.102.218:3001"]
[ubuntu-4:cardano.node.DnsSubscription:Error:94] [2020-09-23 13:55:28.37 UTC] [String "Application Exception: 18.159.64.253:3001 DecoderFailure (ChainSync (Header (HardForkBlock (': * (ShelleyBlock (Shelley StandardCrypto)) ('[] *)))) (Tip HardForkBlock (': * (ShelleyBlock (Shelley StandardCrypto)) ('[] *)))) ServerAgency TokNext TokCanAwait) (DeserialiseFailure 88 \"expected list len or indef\")",String "SubscriptionTrace",String "\"relays-new.cardano-testnet.iohkdev.io\""]
[ubuntu-4:cardano.node.ErrorPolicy:Warning:55] [2020-09-23 13:55:28.37 UTC] [String "ErrorPolicySuspendPeer (Just (ApplicationExceptionTrace DecoderFailure (ChainSync (Header (HardForkBlock (': * (ShelleyBlock (Shelley StandardCrypto)) ('[] *)))) (Tip HardForkBlock (': * (ShelleyBlock (Shelley StandardCrypto)) ('[] *)))) ServerAgency TokNext TokCanAwait) (DeserialiseFailure 88 \"expected list len or indef\"))) 200s 200s",String "ErrorPolicyTrace",String "18.159.64.253:3001"]
[ubuntu-4:cardano.node.DnsSubscription:Notice:96] [2020-09-23 13:55:28.53 UTC] [String "Connection Attempt End, destination 52.77.148.212:3001 outcome: ConnectSuccess",String "SubscriptionTrace",String "\"relays-new.cardano-testnet.iohkdev.io\""]
[ubuntu-4:cardano.node.DnsSubscription:Error:96] [2020-09-23 13:55:29.31 UTC] [String "Application Exception: 52.77.148.212:3001 DecoderFailure (ChainSync (Header (HardForkBlock (': * (ShelleyBlock (Shelley StandardCrypto)) ('[] *)))) (Tip HardForkBlock (': * (ShelleyBlock (Shelley StandardCrypto)) ('[] *)))) ServerAgency TokNext TokCanAwait) (DeserialiseFailure 88 \"expected list len or indef\")",String "SubscriptionTrace",String "\"relays-new.cardano-testnet.iohkdev.io\""]
[ubuntu-4:cardano.node.ErrorPolicy:Warning:55] [2020-09-23 13:55:29.31 UTC] [String "ErrorPolicySuspendPeer (Just (ApplicationExceptionTrace DecoderFailure (ChainSync (Header (HardForkBlock (': * (ShelleyBlock (Shelley StandardCrypto)) ('[] *)))) (Tip HardForkBlock (': * (ShelleyBlock (Shelley StandardCrypto)) ('[] *)))) ServerAgency TokNext TokCanAwait) (DeserialiseFailure 88 \"expected list len or indef\"))) 200s 200s",String "ErrorPolicyTrace",String "52.77.148.212:3001"]

Also when i run the command:
cardano-cli shelley query tip --testnet-magic 1097911063

I just get
{
    "genesis": true
}

What can be wrong.

I found the source of my error:
The manual i used. Tells to change “Protocol” to “TPraos” in testnet-config
I returned to “Cardano”
Now works

Be carefull with Manuals guys!

cardano-cli shelley query tip --testnet-magic 1097911063

{
    "blockNo": 181565,
    "headerHash": "573c9c31db209a3c175ebf4762af9aa2451db16ea1994922d8685be85030da87",
    "slotNo": 182607
}

Now my stdout looks like

[ubuntu-4:cardano.node.ChainDB:Notice:35] [2020-09-23 14:37:20.54 UTC] Chain extended, new tip: 5f0ff75f519c77f698536baf8105a6052fa5ec5b02929d259c39628bcfcd6834 at slot 394558
[ubuntu-4:cardano.node.ChainDB:Notice:35] [2020-09-23 14:37:21.79 UTC] Chain extended, new tip: 2de26e75f60e86322fa1442af434cd2dcb4c2ee3c4a867bf6e74173e38827434 at slot 395746
[ubuntu-4:cardano.node.ChainDB:Notice:35] [2020-09-23 14:37:23.04 UTC] Chain extended, new tip: 92e8afac922120e8e181ce2738fad281c1122f6e10f4ad46d6efc871bb89a0e1 at slot 397095
[ubuntu-4:cardano.node.ChainDB:Notice:35] [2020-09-23 14:37:24.29 UTC] Chain extended, new tip: 1fc46905cd728d3b4e1f2a7d01dd164d354e0f13ba52aa01fc3e137ab6548091 at slot 398332
[ubuntu-4:cardano.node.ChainDB:Notice:35] [2020-09-23 14:37:25.54 UTC] Chain extended, new tip: 14122e20750848d3e4c1cd3217fa62b88bc6a9fa5158115dca847c1ca3cfb379 at slot 399499

I see activity on the chain

2 Likes

Welcome @lespool and well spotted on that universal TPraos issue which is like an initiation experience for SPOs. Catching this error in the official documentation, even after 3 months, is still “left as an exercise for the reader” :crazy_face:

1 Like

Nice catch. Could you please submit a ticket on the repo for the official doc/manual ?

1 Like

Thanks, this just fixed a problem I just posted about:

:grin:

I opened this PR for the docs on changing this to ‘Cardano’ from ‘Tpraos’ do add your thoughts in the discussion if you know anything about this.

2 Likes