Sync Error - Alonzo Purple Testnet

I’m in the process of configuring a testnet environment to run some tests on a Smart Contract I’m working on and am stuck in the sync at about the hardfork it looks like. The error is: cardanod:cardano.node.DnsSubscription

I’m on 1.29.0 for the node and cli, appear to have the latest Alonzo config and installed the node and cli via nix-build. The system is Ubuntu 20. Not sure if the entire error is necessary but I’m happy to share it if it helps.

I’m following the guidance from here: 1. AWS Node Setup — Plutus Pioneer Program Lecture Notes documentation starting at 1.3 as this is a vm not an aws.

journalct -e -f -u cardano-node or cnode

1 Like

Here is the error showing up in the output (I’m not using cnode or cardano-node via systemd just running the command in a terminal…get’s to about 94% sync)

[cardanod:cardano.node.ErrorPolicy:Notice:51] [2021-09-17 19:19:20.03 UTC] IP 35.76.48.104:3001 ErrorPolicySuspendConsumer (Just (ConnectionExceptionTrace (SubscriberError {seType = SubscriberParallelConnectionCancelled, seMessage = "Parallel connection cancelled", seStack = []}))) 1s
[cardanod:cardano.node.DnsSubscription:Debug:53] [2021-09-17 19:19:20.03 UTC] Domain: "relays.alonzo-purple.dev.cardano.org" Required subscriptions started
[cardanod:cardano.node.DnsSubscription:Error:68] [2021-09-17 19:19:21.35 UTC] Domain: "relays.alonzo-purple.dev.cardano.org" Application Exception: 3.64.236.32:3001 HeaderError (At (Block {blockPointSlot = SlotNo 2261160, blockPointHash = f9dee539ef2f498021a0ff5bb522849da957a33e81be5f01d9bd687140d81b37})) (HeaderEnvelopeError (OtherHeaderEnvelopeError (HardForkEnvelopeErrFromEra S (S (S (S (Z (WrapEnvelopeErr {unwrapEnvelopeErr = ObsoleteNodeCHAIN 6 5})))))))) (Tip (SlotNo 2260421) 189fffb36bab15961e7ba02291d870f37e7d24eaca5b55850902bd5030233746 (BlockNo 104605)) (Tip (SlotNo 2424320) 5a2541324aeea907e458d504b77f3a5a0c580fcb02df1a2a2bd0e3634024df58 (BlockNo 111674))
[cardanod:cardano.node.DnsSubscription:Debug:68] [2021-09-17 19:19:21.35 UTC] Domain: "relays.alonzo-purple.dev.cardano.org" Closed socket to 3.64.236.32:3001
[cardanod:cardano.node.ErrorPolicy:Warning:51] [2021-09-17 19:19:21.35 UTC] IP 3.64.236.32:3001 ErrorPolicySuspendPeer (Just (ApplicationExceptionTrace (HeaderError (At (Block {blockPointSlot = SlotNo 2261160, blockPointHash = f9dee539ef2f498021a0ff5bb522849da957a33e81be5f01d9bd687140d81b37})) (HeaderEnvelopeError (OtherHeaderEnvelopeError (HardForkEnvelopeErrFromEra S (S (S (S (Z (WrapEnvelopeErr {unwrapEnvelopeErr = ObsoleteNodeCHAIN 6 5})))))))) (Tip (SlotNo 2260421) 189fffb36bab15961e7ba02291d870f37e7d24eaca5b55850902bd5030233746 (BlockNo 104605)) (Tip (SlotNo 2424320) 5a2541324aeea907e458d504b77f3a5a0c580fcb02df1a2a2bd0e3634024df58 (BlockNo 111674))))) 200s 200s
[cardanod:cardano.node.DnsSubscription:Debug:53] [2021-09-17 19:19:22.35 UTC] Domain: "relays.alonzo-purple.dev.cardano.org" Restarting Subscription after 2.609692103s desired valency 1 current valency 0

I see “ObsoleteNodeChain” in there, but the config files appear correct, so not sure what’s up - is there a better place to get up-to-date instructions on the testnet node setup?

I know your issue :slight_smile: wait

Download again the files from here and restart the node

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

2 Likes

done, resyncing now . . . taking a LOT longer to sync, this seems more right :slight_smile: thank you, will update later when it finishes

1 Like

Worked! Thank you!

1 Like

I am facing the same issue. Downloaded all the mentioned files, but still the same error:

[danicuki:cardano.node.ErrorPolicy:Notice:52] [2021-10-13 16:48:29.62 UTC] IP 54.250.11.33:3001 ErrorPolicySuspendConsumer (Just (ConnectionExceptionTrace (SubscriberError {seType = SubscriberParallelConnectionCancelled, seMessage = "Parallel connection cancelled", seStack = []}))) 1s
[danicuki:cardano.node.ErrorPolicy:Notice:52] [2021-10-13 16:48:29.62 UTC] IP 18.132.238.21:3001 ErrorPolicySuspendConsumer (Just (ConnectionExceptionTrace (SubscriberError {seType = SubscriberParallelConnectionCancelled, seMessage = "Parallel connection cancelled", seStack = []}))) 1s
[danicuki:cardano.node.ErrorPolicy:Notice:52] [2021-10-13 16:48:29.62 UTC] IP 18.159.64.253:3001 ErrorPolicySuspendConsumer (Just (ConnectionExceptionTrace (SubscriberError {seType = SubscriberParallelConnectionCancelled, seMessage = "Parallel connection cancelled", seStack = []}))) 1s
[danicuki:cardano.node.ErrorPolicy:Notice:52] [2021-10-13 16:48:29.62 UTC] IP 54.241.77.32:3001 ErrorPolicySuspendConsumer (Just (ConnectionExceptionTrace (SubscriberError {seType = SubscriberParallelConnectionCancelled, seMessage = "Parallel connection cancelled", seStack = []}))) 1s
[danicuki:cardano.node.ErrorPolicy:Notice:52] [2021-10-13 16:48:29.63 UTC] IP 54.151.49.138:3001 ErrorPolicySuspendConsumer (Just (ConnectionExceptionTrace (SubscriberError {seType = SubscriberParallelConnectionCancelled, seMessage = "Parallel connection cancelled", seStack = []}))) 1s
[danicuki:cardano.node.DnsSubscription:Error:112] [2021-10-13 16:48:30.29 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Application Exception: 3.128.220.55:3001 HeaderError (At (Block {blockPointSlot = SlotNo 39614475, blockPointHash = 1acb3ab3338115eb485e8ae73e8abc24b2c48f2ddb4880bd85ca586aa6dcfd5b})) (HeaderEnvelopeError (OtherHeaderEnvelopeError (HardForkEnvelopeErrFromEra S (S (S (S (Z (WrapEnvelopeErr {unwrapEnvelopeErr = ObsoleteNodeCHAIN 6 5})))))))) (Tip (SlotNo 39614381) 809a09ac9273bf7c468622c0f6f480deb8f81946c4381e7dbdf1aae63195c678 (BlockNo 2984847)) (Tip (SlotNo 39774427) bd48afea977bc086e9329a6de76ce094ff20c0a960c6e9e7e761c4322d6e3392 (BlockNo 2989605))
[danicuki:cardano.node.ErrorPolicy:Warning:52] [2021-10-13 16:48:30.29 UTC] IP 3.128.220.55:3001 ErrorPolicySuspendPeer (Just (ApplicationExceptionTrace (HeaderError (At (Block {blockPointSlot = SlotNo 39614475, blockPointHash = 1acb3ab3338115eb485e8ae73e8abc24b2c48f2ddb4880bd85ca586aa6dcfd5b})) (HeaderEnvelopeError (OtherHeaderEnvelopeError (HardForkEnvelopeErrFromEra S (S (S (S (Z (WrapEnvelopeErr {unwrapEnvelopeErr = ObsoleteNodeCHAIN 6 5})))))))) (Tip (SlotNo 39614381) 809a09ac9273bf7c468622c0f6f480deb8f81946c4381e7dbdf1aae63195c678 (BlockNo 2984847)) (Tip (SlotNo 39774427) bd48afea977bc086e9329a6de76ce094ff20c0a960c6e9e7e761c4322d6e3392 (BlockNo 2989605))))) 200s 200s
[danicuki:cardano.node.DnsSubscription:Error:109] [2021-10-13 16:48:30.58 UTC] Domain: "relays-new.cardano-testnet.iohkdev.io" Application Exception: 52.58.117.45:3001 HeaderError (At (Block {blockPointSlot = SlotNo 39614475, blockPointHash = 1acb3ab3338115eb485e8ae73e8abc24b2c48f2ddb4880bd85ca586aa6dcfd5b})) (HeaderEnvelopeError (OtherHeaderEnvelopeError (HardForkEnvelopeErrFromEra S (S (S (S (Z (WrapEnvelopeErr {unwrapEnvelopeErr = ObsoleteNodeCHAIN 6 5})))))))) (Tip (SlotNo 39614381) 809a09ac9273bf7c468622c0f6f480deb8f81946c4381e7dbdf1aae63195c678 (BlockNo 2984847)) (Tip (SlotNo 39774427) bd48afea977bc086e9329a6de76ce094ff20c0a960c6e9e7e761c4322d6e3392 (BlockNo 2989605))
[danicuki:cardano.node.ErrorPolicy:Warning:52] [2021-10-13 16:48:30.58 UTC] IP 52.58.117.45:3001 ErrorPolicySuspendPeer (Just (ApplicationExceptionTrace (HeaderError (At (Block {blockPointSlot = SlotNo 39614475, blockPointHash = 1acb3ab3338115eb485e8ae73e8abc24b2c48f2ddb4880bd85ca586aa6dcfd5b})) (HeaderEnvelopeError (OtherHeaderEnvelopeError (HardForkEnvelopeErrFromEra S (S (S (S (Z (WrapEnvelopeErr {unwrapEnvelopeErr = ObsoleteNodeCHAIN 6 5})))))))) (Tip (SlotNo 39614381) 809a09ac9273bf7c468622c0f6f480deb8f81946c4381e7dbdf1aae63195c678 (BlockNo 2984847)) (Tip (SlotNo 39774427) bd48afea977bc086e9329a6de76ce094ff20c0a960c6e9e7e761c4322d6e3392 (BlockNo 2989605))))) 200s 200s

Try to delete the db and let the node to sync again… or copy the db from another working node

Something I did later is discovered the guide by coincashew and followed it, but replaced mainnet with testnet and/or testnet-magic as per the instructions on the guide. Then just stopped short after I got it up and running (didn’t go on to do the staking server instructions of course). (link)

Have the same issue:

[8f413db9:cardano.node.DnsSubscription:Warning:53] [2021-12-22 13:59:57.88 UTC] Domain: "relays.alonzo-purple.dev.cardano.org" Failed to start all required subscriptions
[8f413db9:cardano.node.DnsSubscription:Debug:53] [2021-12-22 13:59:58.88 UTC] Domain: "relays.alonzo-purple.dev.cardano.org" Restarting Subscription after 1.1111889s desired valency 2 current valency 0
[8f413db9:cardano.node.DnsSubscription:Debug:53] [2021-12-22 14:00:07.77 UTC] Domain: "relays.alonzo-purple.dev.cardano.org" Starting Subscription Worker, valency 2

Tried to follow this exercise1

downloaded the configuration files as mentioned in the exercise and a newer build version: 9746151

wget https://hydra.iohk.io/build/7189190/download/1/alonzo-purple-config.json
wget https://hydra.iohk.io/build/7189190/download/1/alonzo-purple-byron-genesis.json
wget https://hydra.iohk.io/build/7189190/download/1/alonzo-purple-shelley-genesis.json
wget https://hydra.iohk.io/build/7189190/download/1/alonzo-purple-alonzo-genesis.json
wget https://hydra.iohk.io/build/7189190/download/1/alonzo-purple-topology.json
vscode ➜ /cardano/relay (master ✗) $ cardano-cli --version
cardano-cli 1.32.1 - linux-x86_64 - ghc-8.10
git rev 4f65fb9a27aa7e3a1873ab4211e412af780a3648

Am I allowed to use a newer binary version (1.32.1) for the exercise?

Ok, I got it solved. That wasn’t the right version of configuration files for my release.

As I’m now found out, we can find the right configuration files, linked in the Releases

But, why am I in the Byron era? Shouldn’t it be the Alonzo era?
cardano-cli 1.32.1
Now I used this configuration files:
https://hydra.iohk.io/build/8111119/download/1/index.html

cardano-cli query tip --testnet-magic 1097911063
{
    "epoch": 9,
    "hash": "135b65dea261d0480ae6d364ae4ce594e4b1b9231e63db0d9300ebd14fbbf639",
    "slot": 208298,
    "block": 207256,
    "era": "Byron",
    "syncProgress": "5.47"
}

ok, I think I got it. (yes I’m a newbie)
The era is changing…

{
    "epoch": 73,
    "hash": "0b1685cd544b4f687284a63ebe930acf22e915c790a06a9f4b6b2650457850f8",
    "slot": 1594806,
    "block": 1593539,
    "era": "Byron",
    "syncProgress": "41.87"
}
vscode ➜ /cardano (master ✗) $ cardano-cli query tip --testnet-magic 1097911063
{
    "epoch": 74,
    "hash": "893327755b01c090400ba84ca6e51a607c2b17681a895de8ea09ae291a971a13",
    "slot": 1894000,
    "block": 1611898,
    "era": "Shelley",
    "syncProgress": "42.35"
}