# Relay node NOT connecting to block node

**URL:** <https://forum.cardano.org/t/relay-node-not-connecting-to-block-node/67458>\
**Category:** Setup a Stake Pool\
**Tags:** cardano\
**Created:** [24 July 2021 03:01 UTC](https://forum.cardano.org/t/relay-node-not-connecting-to-block-node/67458 "2021-07-24T03:01:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![raka1](https://avatars.discourse-cdn.com/v4/letter/r/34f0e0/32.png) [@raka1](https://forum.cardano.org/u/raka1)\
**Post date:** [24 July 2021 03:01 UTC](https://forum.cardano.org/t/relay-node-not-connecting-to-block-node/67458/1 "2021-07-24T03:01:44Z")

</div>

Block Node is perfectly connecting with Relay Node.

**Note:** IP addresses have been changed.

```auto
[relay-ip:cardano.node.IpSubscription:Info:91] [2021-07-24 02:33:01.01 UTC] IPs: 0.0.0.0:0 [10.12.15.36:3001] Connection Attempt Start, destination 10.12.15.36:3001
[relay-ip:cardano.node.IpSubscription:Notice:91] [2021-07-24 02:33:01.02 UTC] IPs: 0.0.0.0:0 [10.12.15.36:3001] Connection Attempt End, destination 10.12.15.36:3001 outcome: ConnectSuccessLast
[relay-ip:cardano.node.IpSubscription:Info:91] [2021-07-24 02:33:01.02 UTC] IPs: 0.0.0.0:0 [10.12.15.36:3001] Closed socket to 10.12.15.36:3001
[relay-ip:cardano.node.IpSubscription:Error:88] [2021-07-24 02:33:01.04 UTC] IPs: 0.0.0.0:0 [10.12.15.36:3001] Failed to start all required subscriptions
[relay-ip:cardano.node.IpSubscription:Info:88] [2021-07-24 02:33:02.04 UTC] IPs: 0.0.0.0:0 [10.12.15.36:3001] Restarting Subscription after 1.025665196s desired valency 1 current valency 0
[relay-ip:cardano.node.IpSubscription:Info:88] [2021-07-24 02:33:11.01 UTC] IPs: 0.0.0.0:0 [10.12.15.36:3001] Trying to connect to 10.12.15.36:3001
[relay-ip:cardano.node.IpSubscription:Info:162] [2021-07-24 02:33:11.01 UTC] IPs: 0.0.0.0:0 [10.12.15.36:3001] Connection Attempt Start, destination 10.12.15.36:3001
[relay-ip:cardano.node.IpSubscription:Notice:88] [2021-07-24 02:33:11.01 UTC] IPs: 0.0.0.0:0 [10.12.15.36:3001] Waiting 0.025s before attempting a new connection
[relay-ip:cardano.node.IpSubscription:Notice:162] [2021-07-24 02:33:11.01 UTC] IPs: 0.0.0.0:0 [10.12.15.36:3001] Connection Attempt End, destination 10.12.15.36:3001 outcome: ConnectSuccessLast
[relay-ip:cardano.node.IpSubscription:Info:162] [2021-07-24 02:33:11.02 UTC] IPs: 0.0.0.0:0 [10.12.15.36:3001] Closed socket to 10.12.15.36:3001
[relay-ip:cardano.node.IpSubscription:Error:88] [2021-07-24 02:33:11.04 UTC] IPs: 0.0.0.0:0 [10.12.15.36:3001] Failed to start all required subscriptions

```

Relay Node: [relay.example.com:3001](http://relay.example.com:3001)

cat /opt/cardano/config/mainnet-topology.json

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

```

Block Node: 10.12.15.36:3001 (LAN); 48.24.97.129:3001 (WLAN)

```auto
{
  "Producers": [
    {
      "addr": "relay.example.com",
      "port": 3001,
      "valency": 1
    }
  ]
}

```

Firewall:

Port connections are a success from Relay node to Block node.

From relay node, able to connect to Block node Internal IP and port,  
`$ nc -zv 10.12.15.36 3001`  
`Connection to 10.12.15.36 3001 port [tcp/*] succeeded!`

From relay node, able to connect to Block node External IP and port,  
`$ nc -zv 48.24.97.129 3001`  
`Connection to 48.24.97.129 3001 port [tcp/*] succeeded!`

I’ve also tried external IP on Relay node mainnet-topology.json that results in the same issue.

Relay Node works fine if I remove the Block Producer in the mainnet-topology.json.

When I run cardano-node on both block and relay, I use 0.0.0.0 for --host-addr

Am I missing anything? This is the remaining error preventing me from going live. I wanted to solve this before submitting stake pool registration certificate and delegation certificate.

---

<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:** [24 July 2021 04:54 UTC](https://forum.cardano.org/t/relay-node-not-connecting-to-block-node/67458/2 "2021-07-24T04:54:02Z")

</div>

U need to add the Producer IP + Port inside the:

- topology updater script to custom peers and uncomment the line (if u are using cntools)
- relay-topology\_pull.sh if u are using coincashew guide

---

<div class="post-metadata">

**Author:** ![raka1](https://avatars.discourse-cdn.com/v4/letter/r/34f0e0/32.png) [@raka1](https://forum.cardano.org/u/raka1)\
**Post date:** [25 July 2021 23:22 UTC](https://forum.cardano.org/t/relay-node-not-connecting-to-block-node/67458/3 "2021-07-25T23:22:30Z")

</div>

I’m using the official documentation and not using cntools or coincashew.  
I’m just in the sync’ing phase trying to get both my relay and block producer node running together.

I looked up topology updater and realized it is necessary to ensure the minted blocks are made known to other nodes. But I am not yet there.

Is there a reason why the syncing stops abruptly.
