My node is EDU1. It it set up completely fine, however it goes down every 24 hours. I’ve timed it multiple times and it works great for 24 hours and then goes down…I restart the node and it works great for another 24 hours. Any suggestions on how to fix this?
I thought it may be a wifi issue…but xfinity has been little to no help. Other SPOs have not ran into this problem and my wifi friends seem to have no idea where this issue is stemming from.
Hi!
Are you using CNtools? there is a default 24 hour restart schedule for relays…
Hi Laplasz 
I do not believe I am using CNtools - but weirdly enough, I had a feeling it was my relay disconnecting and didn’t have to do with my bp.
How do I disable the 24 hour restart schedule? Thank you for your help.
Check the timers on your system:
systemctl list-timers
can be used to to check the push and restart service schedule.
https://cardano-community.github.io/guild-operators/#/Scripts/topologyupdater?id=deploy-the-script
This is the output from checking my timers. Do you notice anything that would cause the node to go down?
how do you run cardano-node? via service, or?
cardano-node run --topology mainnet-topology.json --database-path db --socket-path db/node.socket --host-addr X.X.X.X --port XXXX --config mainnet-config.json
for the relay^^
1 Like
and what is the exit code of the execution? do you have logs of the cardano-node?
Listening on http://xxx.x.x.x:xxxxx
[relay:cardano.node.networkMagic:Notice:5] [2021-05-21 14:01:50.26 UTC] NetworkMagic 764824073
[relay:cardano.node.basicInfo.protocol:Notice:5] [2021-05-21 14:01:50.26 UTC] Byron; Shelley
[relay:cardano.node.basicInfo.version:Notice:5] [2021-05-21 14:01:50.26 UTC] 1.26.2
[relay:cardano.node.basicInfo.commit:Notice:5] [2021-05-21 14:01:50.26 UTC] 3531289c9f79eab7ac5d3272ce6e6821504fec4c
[relay:cardano.node.basicInfo.nodeStartTime:Notice:5] [2021-05-21 14:01:50.26 UTC] 2021-05-21 14:01:50.263832758 UTC
[relay:cardano.node.basicInfo.systemStartTime:Notice:5] [2021-05-21 14:01:50.26 UTC] 2017-09-23 21:44:51 UTC
[relay:cardano.node.basicInfo.slotLengthByron:Notice:5] [2021-05-21 14:01:50.26 UTC] 20s
[relay:cardano.node.basicInfo.epochLengthByron:Notice:5] [2021-05-21 14:01:50.26 UTC] 21600
[relay:cardano.node.basicInfo.slotLengthShelley:Notice:5] [2021-05-21 14:01:50.26 UTC] 1s
[relay:cardano.node.basicInfo.epochLengthShelley:Notice:5] [2021-05-21 14:01:50.26 UTC] 432000
[relay:cardano.node.basicInfo.slotsPerKESPeriodShelley:Notice:5] [2021-05-21 14:01:50.26 UTC] 129600
this is the output from executing the code
yes, but would be great to see the last log statements right before the node exiting…
and then check the exit code - by echo $?
so write a short script like:
#!/bin/sh
cardano-node run --topology mainnet-topology.json --database-path db --socket-path db/node.socket --host-addr X.X.X.X --port XXXX --config mainnet-config.json > output.log 2>&1
echo "Exit code: $?" >> output.log
My apologies for the late response - I’ve been trying to get these logs…what I’ve realized is that my code never actually exits when it goes down - it continues to run on my terminal. When I see the node has gone down on ada pools, i then control C which stops the code and then just run cardano-node run… however…this error message is in my log:
[relay:cardano.node.IpSubscription:Error:279] [2021-05-21 17:29:33.65 UTC] IPs: 0.0.0.0:0 [24.91.139.119:3001] Failed to start all required subscriptions
What is the content of the topology.json file?
I realized that the reason the nodes weren’t communicating was because my KES has expired. I wonder if that has anything to do with the node going down every 24 hours.

good catch - but still not sure it is running properly at all… are the nodes syncing?
I ran this commmand:
cardano-cli query tip --mainnet
{
“epoch”: 267,
“hash”: “ea6eb4f987000809a08a6b53ea43035d92cdd78961ef141e2564c2b808896d9b”,
“slot”: 30075084,
“block”: 5748863
}
It appears they are synced. Here are my topology files:
Relay:
**{**
**"Producers"** **:** **[**
**{**
**"addr"** **:** **“24.91.139.119”** **,**
**"port"** **:** portnum **,**
**"valency"** **:** 1
**},**
**{**
**"addr"** **:** **“[relays-new.cardano-mainnet.iohk.io](http://relays-new.cardano-mainnet.iohk.io/)”** **,**
**"port"** **:** portnum **,**
**"valency"** **:** 2
**}**
**]**
**}**
BP:
**{**
**"Producers"** **:** **[**
**{**
**"addr"** **:** **“24.91.139.119”** **,**
**"port"** **:** portnum **,**
**"valency"** **:** 1
**}**
**]**
**}**
also here is a clearer picture of the list timers. Do any of those indicate the node disconnecting after 24 hours.
What do you mean on that?
What I mean by the node going down is that this will be green for 24 hours and then turn red until I run the Cardano node again.
The node should start automatically u don’t need to do nothing