# Block producing node connection timed out

**URL:** <https://forum.cardano.org/t/block-producing-node-connection-timed-out/89351>\
**Category:** Setup a Stake Pool\
**Created:** [19 December 2021 13:14 UTC](https://forum.cardano.org/t/block-producing-node-connection-timed-out/89351 "2021-12-19T13:14:32Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Evochrome](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/evochrome/32/48115_2.png) [@Evochrome](https://forum.cardano.org/u/Evochrome)\
**Post date:** [19 December 2021 13:14 UTC](https://forum.cardano.org/t/block-producing-node-connection-timed-out/89351/1 "2021-12-19T13:14:32Z")

</div>

Hi there,

I just landed in the cardano scene and although I do have linux experience (which is quite rusty), I am a beginner concerning crypto. I had some old computers lying around, so I figured that I should set up a cardano stake pool 🙂. I have Ubuntu Server 20.04 LTS running on both servers.

I followed the guide on coincashew and the official documentation and everything seems to start up as it should except for one thing: The block producing node is not able to connect to the relay node (even when the firewall is disabled). Am I missing something?

 ![Screenshot from 2021-12-19 14-09-13](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/8/a/8a4bbc5cfa28d08ace7eeb36339289aa48c481ef.jpeg)

gLiveView of the relay:

 ![Screenshot from 2021-12-19 13-37-10](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/a/c/ac6ff388f619bcc5c8b62e19984725faf7b0a047.png)

 ![Screenshot from 2021-12-19 14-06-47](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/7/4/74e12310f1ce39fee11ad5616d5f242273c4f325.png)

Thanks in advance for your help!

Edit:  
Changing the BP node’s topology to this, is letting the node sync with the blockchain:

```auto
{
  "Producers": [
    {
      "addr": "relays-new.cardano-mainnet.iohk.io",
      "port": 3001,
      "valency": 2
    }
  ]
}

```

---

<div class="post-metadata">

**Author:** ![Juantxuthree](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/juantxuthree/32/46459_2.png) [@Juantxuthree](https://forum.cardano.org/u/Juantxuthree)\
**Post date:** [19 December 2021 13:54 UTC](https://forum.cardano.org/t/block-producing-node-connection-timed-out/89351/2 "2021-12-19T13:54:15Z")

</div>

Which Linux distro are you using? If it’s red hat-based you need to disable the SELINUX.

---

<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:** [19 December 2021 13:59 UTC](https://forum.cardano.org/t/block-producing-node-connection-timed-out/89351/3 "2021-12-19T13:59:28Z")

</div>

While the node is syncing u will can’t connect on port 6000… the node will accept connections only after will be 100% synced

Wait for the nodes to sync then connect each other… I am sure this is also the advice on coincashew guide

---

<div class="post-metadata">

**Author:** ![Evochrome](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/evochrome/32/48115_2.png) [@Evochrome](https://forum.cardano.org/u/Evochrome)\
**Post date:** [19 December 2021 13:59 UTC](https://forum.cardano.org/t/block-producing-node-connection-timed-out/89351/4 "2021-12-19T13:59:45Z")

</div>

Updated my question.  
I am using Ubuntu server 20.04 LTS on both servers.

---

<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:** [19 December 2021 14:06 UTC](https://forum.cardano.org/t/block-producing-node-connection-timed-out/89351/5 "2021-12-19T14:06:29Z")

</div>

so add the IOHK nodes back on producer topology file or copy the db from relay to producer and restart the node… both options should work fine (last one is faster)

---

<div class="post-metadata">

**Author:** ![Evochrome](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/evochrome/32/48115_2.png) [@Evochrome](https://forum.cardano.org/u/Evochrome)\
**Post date:** [19 December 2021 14:07 UTC](https://forum.cardano.org/t/block-producing-node-connection-timed-out/89351/6 "2021-12-19T14:07:29Z")

</div>

Alexd1985, I did not read anything like that but I could have missed it… I personally thought that the BPN should _only_ connect to the relay and nothing else but I will make sure the node is synced then.

Thanks for your advice 🙂

---

<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:** [19 December 2021 14:13 UTC](https://forum.cardano.org/t/block-producing-node-connection-timed-out/89351/7 "2021-12-19T14:13:20Z")

</div>

Yeah, there isnt’t 🙂 my bad

---

<div class="post-metadata">

**Author:** ![Evochrome](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/evochrome/32/48115_2.png) [@Evochrome](https://forum.cardano.org/u/Evochrome)\
**Post date:** [20 December 2021 14:34 UTC](https://forum.cardano.org/t/block-producing-node-connection-timed-out/89351/8 "2021-12-20T14:34:53Z")

</div>

Alexd1985, allright so my BP Node is now all synced up and `telnet` connections are all responding as expected.  
gLiveView now shows the following:

 ![Screenshot from 2021-12-20 15-53-43](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/c/5/c594293146fced5aa231fd87c8cc4c62c3f1a8db.png)

Edit: it now shows Peers out: 1 and Peers in: 1, which seems to be okay.

And although I do only have 1 relay and 1 node, my relay node shows the following (3 peers out):

 ![Screenshot from 2021-12-20 15-55-57](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/1/f/1fe3ce967cc21f1d3059815c9c85ea5b5067ffa7.png)

Am I misunderstanding something here? I just want to make sure everything is functioning as it should.

Thanks

---

<div class="post-metadata">

**Author:** ![jf3110](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/jf3110/32/32352_2.png) [@jf3110](https://forum.cardano.org/u/jf3110)\
**Post date:** [20 December 2021 15:18 UTC](https://forum.cardano.org/t/block-producing-node-connection-timed-out/89351/9 "2021-12-20T15:18:20Z")

</div>

You need to run a topolgyUpdater script - how about: [GitHub - Josef3110/stakepool\_python\_tools: some tools written in python to run cardano staking pools](https://github.com/Josef3110/stakepool_python_tools)

there’s topologyUpdater.py and a JSON file to configure the script. If you have questions - just email: me askJoe@adapool.at

I’m using it from the beginning and it works without any problems. Has many features the shell script does not provide.

The script should run every hour and the relay node should be restarted once a day. You can check [https://pool.vet/](https://pool.vet/) to see if your pool is properly setup
