Relay died can't connect to BP after upgraded to 1.29.0

I updated my two relay to 1,29.0 and BP, so far so good, BP and one relay works and connect each other I can see on glview that. But In the second relay I have issues, I can see the log things like these
{“at”:“2021-09-20T21:19:27.19Z”,“env”:“1.27.0:8fe46”,“ns”:[“cardano.node.DnsSubscription”],“data”:{“event”:“Application Exception: 54.255.126.22:3001 MuxError MuxBearerClosed “<socket: 33> closed when reading data, waiting on next header True””,“kind”:“SubscriptionTrace”,“domain”:"“relays-new.cardano-mainnet.iohk.io”"},“app”:[],“msg”:"",“pid”:“784560”,“loc”:null,“host”:“vmi58081”,“sev”:“Error”,“thread”:“2086”}

[ 10:20 PM ]

In the other relay I can see the logs
{“thread”:“1356”,“loc”:null,“data”:{“address”:“IP_RELAY:44407”,“kind”:“ErrorPolicyTrace”,“event”:“ErrorPolicyUnhandledApplicationException (HardForkEncoderDisabledEra (SingleEraInfo {singleEraName = “Alonzo”}))”},“sev”:“Error”,“env”:“1.29.0:4c594”,“msg”:"",“app”:[],“host”:“my host”,“pid”:“694579”,“ns”:[“cardano.node.ErrorPolicy”],“at”:“2021-09-20T21:22:15.26Z”}

I have no idea whats going on here…

I’m running everything on CNTOOLS

how is the relay on glive?

Checking for script updates…
COULD NOT CONNECT TO A RUNNING INSTANCE, 3 FAILED ATTEMPTS IN A ROW!

~$ sudo systemctl status cnode
● cnode.service - Cardano Node
Loaded: loaded (/etc/systemd/system/cnode.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2021-09-20 23:25:20 CEST; 4min 34s ago
Main PID: 785523 (bash)
Tasks: 12 (limit: 9486)
Memory: 4.8G
CGroup: /system.slice/cnode.service
├─785523 bash /opt/cardano/cnode/scripts/cnode.sh
└─785575 cardano-node run --topology /opt/cardano/cnode/files/topology.json --config /opt/cardano/cnode/files/config.json --database-pa>

Sep 20 23:25:20 systemd[1]: Started Cardano Node.
Sep 20 23:25:21 cnode[785523]: Guild scripts has now been upgraded to support cardano-node 1.29.0 or higher (1.27.0 founas now been upgraded to support cardano-node 1.29.0 or higher (1.27.0 found).
Sep 20 23:25:21 cnode[785523]: Please update cardano-node (note that you should ideally update your config too) or use t>
ardano-node (note that you should ideally update your config too) or use tagged branches for older node version.

Sep 20 23:25:21 cnode[785523]: WARN: A prior running Cardano node was not cleanly shutdown, socket file still exists. Cl>unning Cardano node was not cleanly shutdown, socket file still exists. Cleaning up.

Sep 20 23:25:22 cnode[785575]: Listening on http://127.0.0.1:12798

Exactly… not working

type journalctl -e -f -u cnode

share the output

also type sudo systemctl status cnode

nano $HOME/.bashrc

show me the last lines with export

Sep 20 23:16:25 cnode[784505]: Guild scripts has now been upgraded to support cardano-node 1.29.0 or higher (1.27.0 found).

Sep 20 23:16:25 cnode[784505]: Please update cardano-node (note that you should ideally update your config too) or use tagged branches for older node version.

Sep 20 23:16:25 cnode[784505]: WARN: A prior running Cardano node was not cleanly shutdown, socket file still exists. Cleaning up.

Sep 20 23:16:26 cnode[784560]: Listening on http://127.0.0.1:12798

Sep 20 23:25:18 cnode[784560]: Shutting down…

Sep 20 23:25:21 cnode[785523]: Guild scripts has now been upgraded to support cardano-node 1.29.0 or higher (1.27.0 found).

Sep 20 23:25:21 cnode[785523]: Please update cardano-node (note that you should ideally update your config too) or use tagged branches for older node version.

Sep 20 23:25:21 cnode[785523]: WARN: A prior running Cardano node was not cleanly shutdown, socket file still exists. Cleaning up.

Sep 20 23:25:22 cnode[785575]: Listening on http://127.0.0.1:12798

export CNODE_HOME=/opt/cardano/cnode

Only this one?

type cd /usr/local/bin

ls -l

cardano-node - -version
cardano-cli - -version

drwxr-xr-x 5 cardano cardano 4096 Jun 11 15:27 auto-completion

-rwxr-xr-x 1 cardano cardano 5121272 Jun 11 15:27 bech32

-rwxr-xr-x 1 cardano cardano 8973768 Jun 11 15:27 cardano-address

-rwxr-xr-x 1 cardano cardano 27941296 Jun 11 15:27 cardano-cli

-rwxr-xr-x 1 cardano cardano 34294752 Jun 11 15:27 cardano-node

-rwxr-xr-x 1 cardano cardano 33086248 Jun 11 15:27 cardano-wallet

cardano-node 1.29.0 - linux-x86_64 - ghc-8.10
git rev 4c59442958072657812c6c0bb8e0b4ab85ce1ba2
cardano-cli 1.29.0 - linux-x86_64 - ghc-8.10
git rev 4c59442958072657812c6c0bb8e0b4ab85ce1ba2

I added to bashrc
export CARDANO_NODE_SOCKET_PATH=/opt/cardano/cnode/sockets/node0.socket

Type which cardano-node
let’s see the path for the node

/home/cardano/.cabal/bin/cardano-node

Ok, is fine, it seems u missed to update to 1.29.0

I think I will try your tutorial from scratch and recompile this node… this thing must have missed some part

Type cd /home/cardano/.cabal/bin/

ls -l

and check the dates, perhaps u didn’t updated

Just check my guide how to update to 1.29.0 for cntools users

yep, I just updated but for some reason the problem persists

Guild scripts has now been upgraded to support cardano-node 1.29.0 or higher (1.27.0 found).

-rwxrwxr-x 1 cardano cardano 116460856 Sep 21 00:11 cardano-cli

-rwxrwxr-x 1 cardano cardano 127623584 Sep 21 00:11 cardano-node

-rwxrwxr-x 1 cardano cardano 105378504 Sep 21 00:11 cardano-node-chairman

-rwxrwxr-x 1 cardano cardano 125601040 Sep 21 00:11 cardano-submit-api

-rwxrwxr-x 1 cardano cardano 28314968 Sep 21 00:11 cardano-topology

-rwxrwxr-x 1 cardano cardano 29680832 Sep 21 00:11 locli

-rwxrwxr-x 1 cardano cardano 79189032 Sep 21 00:11 plutus-example

-rwxrwxr-x 1 cardano cardano 129827808 Sep 21 00:11 tx-generator

-rwxrwxr-x 1 cardano cardano 3188488 Sep 21 00:11 unit

The time and date are updated

Ok, it’s seems the scripts are looking on cd /usr/local/bin

can u remove that folder?

cd /usr/local

sudo rm -R bin

Restart the node and check if the error dissapeared

if not go inside the env file and uncomment the lines:


#CCLI="${HOME}/.cabal/bin/cardano-cli"                  # Override automatic detection of path to cardano-cli executable
#CNODE_HOME="/opt/cardano/cnode"                        

restart the node and check again, should be fine now

1 Like

I think its OK now
Started Cardano Node.
cnode[793996]: Listening on http://127.0.0.1:12798

the thing was these files in usr/local
thank you very much

1 Like

Today even though my relay is up and running it displays offline for some reason…

{“thread”:“1173”,“loc”:null,“data”:{“address”:“161.97.154.102:40947”,“kind”:“ErrorPolicyTrace”,“event”:“ErrorPolicyUnhandledApplicationException (HardForkEncoderDisabledEra (SingleEraInfo {singleEraName = “Alonzo”}))”},“sev”:“Error”,“env”:“1.29.0:4c594”,“msg”:"",“app”:[],“host”:“hostname”,“pid”:“793996”,“ns”:[“cardano.node.ErrorPolicy”],“at”:“2021-09-21T08:33:08.06Z”}

the same relay, by the way, the other is ok. I recompiled it from scratch yesterday but for some reason this won’t connect to BP and will display on adapools offline.
thanks for your assistance.