# Relay Node not talking with my core Node

**URL:** <https://forum.cardano.org/t/relay-node-not-talking-with-my-core-node/45483>\
**Category:** Operate a Stake Pool\
**Tags:** cardano-node\
**Created:** [25 January 2021 23:40 UTC](https://forum.cardano.org/t/relay-node-not-talking-with-my-core-node/45483 "2021-01-25T23:40:10Z")\
**Posts on this page:** 10\
**Page:** 2

<div class="post-metadata">

**Author:** ![Johann\_ADAholycs](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/johann_adaholycs/32/25579_2.png) [@Johann\_ADAholycs](https://forum.cardano.org/u/Johann_ADAholycs)\
**Post date:** [26 January 2021 14:40 UTC](https://forum.cardano.org/t/relay-node-not-talking-with-my-core-node/45483/22 "2021-01-26T14:40:44Z")

</div>

Hi,

I would recommend to go through this guide about the topologyUpdater

> **[Guide: How to Set Up a Cardano Stake Pool](https://www.coincashew.com/coins/overview-ada/guide-how-to-build-a-haskell-stakepool-node#14-configure-your-topology-files)**
>
> On Ubuntu/Debian, this guide will illustrate how to install and configure a Cardano stake pool from source code on a two node setup with 1 block producer node and 1 relay node.

If you wonder why your pool does not appear in the wallets you can go through these 4 steps:

> [@Resolve issues with the pool registration](https://forum.cardano.org/t/resolve-issues-with-the-pool-registration/45398):
>
> Hey folks, there are few steps which help to verify if your registration is alright and if not helps to debug the issue! I learned this on try and error and by following the official Cardano Telegram channel. Check the hash number of your published metadata.json cardano-cli stake-pool metadata-hash --pool-metadata-file \<(curl -s -L https://git.io/JtepM) cardano-cli stake-pool metadata-hash --pool-metadata-file \<(cat poolMetaData.json) Replace the URL and the poolMetaData.json as it fits yo…

Best,  
Johann

---

<div class="post-metadata">

**Author:** ![Ehtisham](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/ehtisham/32/25743_2.png) [@Ehtisham](https://forum.cardano.org/u/Ehtisham)\
**Post date:** [26 January 2021 15:39 UTC](https://forum.cardano.org/t/relay-node-not-talking-with-my-core-node/45483/23 "2021-01-26T15:39:03Z")

</div>

First I fixed topology file & ran topologyupdate.sh here is output:  
usr@domain:~/cardano-node/scripts$ ./topologyUpdater.sh  
Could not find shelley genesis file in default location or ‘ShelleyGenesisFile’ from the node configuration file  
Could not find shelley genesis file in default location or ‘ShelleyGenesisFile’ from the node configuration file

env is script looks for genesis.json file  
in env but you can see this looks for file/genesis.json

![Capture](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/3/8/38f07bde5d09a71d8cd2ccc6d128e20cc2df5848.png)

here output using search everywhere there is no “file/genesis.json”

usr@domain:~/cardano-node/scripts$ find /home/usr/ -iname genesis.json  
/home/usr/cardano-node/configuration/defaults/mainnet-silent/genesis.json  
/home/usr/cardano-node/configuration/defaults/byron-staging/genesis.json  
/home/usr/cardano-node/configuration/defaults/byron-testnet/genesis.json  
/home/usr/cardano-node/configuration/defaults/mainnet-via-fetcher/genesis.json  
/home/usr/cardano-node/configuration/defaults/byron-mainnet/genesis.json  
/home/usr/cardano-node/configuration/mainnet-ci/genesis.json  
usr@domain:~/cardano-node/scripts$

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [26 January 2021 16:00 UTC](https://forum.cardano.org/t/relay-node-not-talking-with-my-core-node/45483/24 "2021-01-26T16:00:14Z")

</div>

There should be, but maybe have another name

---

<div class="post-metadata">

**Author:** ![Ehtisham](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/ehtisham/32/25743_2.png) [@Ehtisham](https://forum.cardano.org/u/Ehtisham)\
**Post date:** [26 January 2021 16:01 UTC](https://forum.cardano.org/t/relay-node-not-talking-with-my-core-node/45483/25 "2021-01-26T16:01:08Z")

</div>

my cardano version is 1.25.0 maybe that’s the reason?

---

<div class="post-metadata">

**Author:** ![Ehtisham](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/ehtisham/32/25743_2.png) [@Ehtisham](https://forum.cardano.org/u/Ehtisham)\
**Post date:** [26 January 2021 16:02 UTC](https://forum.cardano.org/t/relay-node-not-talking-with-my-core-node/45483/26 "2021-01-26T16:02:39Z")

</div>

can I get someone else genesis file & I’ll match & update path in topology updater

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [26 January 2021 16:14 UTC](https://forum.cardano.org/t/relay-node-not-talking-with-my-core-node/45483/27 "2021-01-26T16:14:22Z")

</div>

This script maybe it’s not good for your setup

Try this guide. STEP 14 (configuring topology file)

[https://www.coincashew.com/coins/overview-ada/guide-how-to-build-a-haskell-stakepool-node](https://www.coincashew.com/coins/overview-ada/guide-how-to-build-a-haskell-stakepool-node)

---

<div class="post-metadata">

**Author:** ![Ehtisham](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/ehtisham/32/25743_2.png) [@Ehtisham](https://forum.cardano.org/u/Ehtisham)\
**Post date:** [28 January 2021 15:02 UTC](https://forum.cardano.org/t/relay-node-not-talking-with-my-core-node/45483/28 "2021-01-28T15:02:12Z")

</div>

Hi mate that didn’t work either cause I’m running relay node with this configurations:

cardano-node run   
–topology mainnet-topology.json   
–database-path db   
–socket-path db/node.socket   
–host-addr 0.0.0.0   
–port 3303   
–config mainnet-config.json

If you can answer me these two question I can build script in python & I’ll share here too.

I can get all the relay nodes from this [https://explorer.mainnet.cardano.org/relays/topology.json](https://explorer.mainnet.cardano.org/relays/topology.json) link is it updated one?

Then

I can build python script to scrape it every 12 hours or maybe every hours & put them in  
–topology mainnet-topology.json  
& restart the node …

I manually tried but this [topology link](https://explorer.mainnet.cardano.org/relays/topology.json)  
also have some relay nodes address that are not active…

how can I get active relay nodes list? from this link?

I think this is what script for… am I correct?

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [28 January 2021 15:15 UTC](https://forum.cardano.org/t/relay-node-not-talking-with-my-core-node/45483/29 "2021-01-28T15:15:05Z")

</div>

hello,

1. I think the link is updated  
the topologyupdater also send a packet every hour to announce into the network that your node is  
online, if the packet will not be send in 4 hours then your node will be considered offline. You can  
build the script to add nodes in your topology (the recommendation is ~ 18-20 nodes) and restart at  
each 12 hours in order to stay connected only with online nodes…

2. yes, but as u said, perhaps some nodes are filtering the imcp packets and you don’t know if is really offline or online (for eg I filtered my relays to not accept ping packets.)

but why you can’t fix topology updater script?

---

<div class="post-metadata">

**Author:** ![Ehtisham](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/ehtisham/32/25743_2.png) [@Ehtisham](https://forum.cardano.org/u/Ehtisham)\
**Post date:** [28 January 2021 18:53 UTC](https://forum.cardano.org/t/relay-node-not-talking-with-my-core-node/45483/30 "2021-01-28T18:53:43Z")

</div>

these script based on CNtools files structures & environment variable I tried to override but they are not working…  
so I’m going to create python script which will send packets & update topology file & also restart so i could benefit me & others…

I’ll update once script is ready

---

<div class="post-metadata">

**Author:** ![JSONLewis](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/jsonlewis/32/30300_2.png) [@JSONLewis](https://forum.cardano.org/u/JSONLewis)\
**Post date:** [16 May 2021 15:42 UTC](https://forum.cardano.org/t/relay-node-not-talking-with-my-core-node/45483/31 "2021-05-16T15:42:45Z")

</div>

Did you manage to get the python script working? I am having similar issues

[Previous page](https://forum.cardano.org/t/relay-node-not-talking-with-my-core-node/45483.md?page=1)
