user5594: I am setting up a stake pool on mainnet after practicing on testnet for a while, but I can't get over this issue. BP is supposed to connect to my relay only, but I get the following:
BP:
[vmi92943:cardano.node.IpSubscription:Info:376] [2022-07-22 02:37:28.30 UTC] IPs: 0.0.0.0:0 [RelayIP:6000] Connection Attempt Start, destination RelayIP:6000
[vmi92943:cardano.node.IpSubscription:Error:376] [2022-07-22 02:37:31.36 UTC] IPs: 0.0.0.0:0 [RelayIP:6000] Connection Attempt Exception, destination RelayIP:6000 exception: Network.Socket.connect: <socket: 131>: does not exist (No route to host)
[vmi92943:cardano.node.ErrorPolicy:Notice:360] [2022-07-22 02:37:31.36 UTC] IP RelayIP:6000 ErrorPolicySuspendConsumer (Just (ConnectionExceptionTrace Network.Socket.connect: <socket: 131>: does not exist (No route to host))) 20s
[vmi92943:cardano.node.IpSubscription:Error:362] [2022-07-22 02:37:31.36 UTC] IPs: 0.0.0.0:0 [RelayIP:6000] Failed to start all required subscriptions


Relay:
[vmi92943:cardano.node.IpSubscription:Info:428] [2022-07-22 02:40:52.25 UTC] IPs: 0.0.0.0:0 [BPIP:6000] Skipping peer BPIP:6000
[vmi92943:cardano.node.IpSubscription:Error:428] [2022-07-22 02:40:52.25 UTC] IPs: 0.0.0.0:0 [BPIP:6000] Failed to start all required subscriptions
[vmi92943:cardano.node.IpSubscription:Info:428] [2022-07-22 02:40:53.25 UTC] IPs: 0.0.0.0:0 [BPIP:6000] Restarting Subscription after 1.004306329s desired valency 1 current valency 0


My topology seems to be fine:
BP:
{
  "Producers": [
    {
      "addr": "Relay ip",
      "port": 6000,
      "valency": 1
    }
  ]
}


Relay:
 {
    "Producers": [
      {
        "addr": "BP ip",
        "port": 6000,
        "valency": 1
      },
      {
        "addr": "relays-new.cardano-mainnet.iohk.io",
        "port": 3001,
        "valency": 2
      }
    ]
  }

Currently I have no firewall on both systems.
I can't figure out the source of this issue. Thanks in advance for your help.

user6001: the error is caused by a connectivity problem, but we can't be sure of what is exactly causing the problem without you providing additional details, so I would start diagnosing the connectivity between the two hosts. Please post masked results.
Please check IP addresses, and make sure you have them correctly, run in each host. Please specify if both hosts belong to the same subnet or not and if possible your hosting provider (some may require a special routing setup or policies).:
ip a

Please use IP numbers for the other tests below (instead of hostnames).
Please ping and tracert from each host to the other.
ping other_host
sudo apt install traceroute
traceroute other_host

Check if ufw or iptables are running in each host:
sudo ufw status numbered
service iptables status

Check if there's something running in the expected port:
netstat -an |grep LISTEN |grep your_port_for_that_host

If there's connectivity (you've got ping replies), there's no firewall (at least in your hosts), and your ports are in LISTEN state, you should be able to connect. Otherwise we should start looking outside your hosts (i.e. a network firewall).
Please check that the host 1 port is reachable from host 2.
From host 1:
nc -zv host_2_ip host_2_port

Depending on the results for the above tests, we can test further.
EDIT: After the first batch of tests, it seems that TCP connectivity to the node ports exists between the two hosts.
What instructions did you follow to install the nodes? are you using guild-operators scripts or any other? How do you start the node?
If using systemd, could you provide the output of the following command for both nodes?
sudo systemctl -l --no-pager status cnode

Cheers,
Josep

5594: <p>I am setting up a stake pool on mainnet after practicing on testnet for a while, but I can't get over this issue. BP is supposed to connect to my relay only, but I get the following:</p>
<p>BP:</p>
<pre><code>[vmi92943:cardano.node.IpSubscription:Info:376] [2022-07-22 02:37:28.30 UTC] IPs: 0.0.0.0:0 [RelayIP:6000] Connection Attempt Start, destination RelayIP:6000
[vmi92943:cardano.node.IpSubscription:Error:376] [2022-07-22 02:37:31.36 UTC] IPs: 0.0.0.0:0 [RelayIP:6000] Connection Attempt Exception, destination RelayIP:6000 exception: Network.Socket.connect: &lt;socket: 131&gt;: does not exist (No route to host)
[vmi92943:cardano.node.ErrorPolicy:Notice:360] [2022-07-22 02:37:31.36 UTC] IP RelayIP:6000 ErrorPolicySuspendConsumer (Just (ConnectionExceptionTrace Network.Socket.connect: &lt;socket: 131&gt;: does not exist (No route to host))) 20s
[vmi92943:cardano.node.IpSubscription:Error:362] [2022-07-22 02:37:31.36 UTC] IPs: 0.0.0.0:0 [RelayIP:6000] Failed to start all required subscriptions

</code></pre>
<p>Relay:</p>
<pre><code>[vmi92943:cardano.node.IpSubscription:Info:428] [2022-07-22 02:40:52.25 UTC] IPs: 0.0.0.0:0 [BPIP:6000] Skipping peer BPIP:6000
[vmi92943:cardano.node.IpSubscription:Error:428] [2022-07-22 02:40:52.25 UTC] IPs: 0.0.0.0:0 [BPIP:6000] Failed to start all required subscriptions
[vmi92943:cardano.node.IpSubscription:Info:428] [2022-07-22 02:40:53.25 UTC] IPs: 0.0.0.0:0 [BPIP:6000] Restarting Subscription after 1.004306329s desired valency 1 current valency 0

</code></pre>
<p>My topology seems to be fine:</p>
<p>BP:</p>
<pre><code>{
  &quot;Producers&quot;: [
    {
      &quot;addr&quot;: &quot;Relay ip&quot;,
      &quot;port&quot;: 6000,
      &quot;valency&quot;: 1
    }
  ]
}

</code></pre>
<p>Relay:</p>
<pre><code> {
    &quot;Producers&quot;: [
      {
        &quot;addr&quot;: &quot;BP ip&quot;,
        &quot;port&quot;: 6000,
        &quot;valency&quot;: 1
      },
      {
        &quot;addr&quot;: &quot;relays-new.cardano-mainnet.iohk.io&quot;,
        &quot;port&quot;: 3001,
        &quot;valency&quot;: 2
      }
    ]
  }
</code></pre>
<p>Currently I have no firewall on both systems.</p>
<p>I can't figure out the source of this issue. Thanks in advance for your help.</p>
 6001: <p>the error is caused by a connectivity problem, but we can't be sure of what is exactly causing the problem without you providing additional details, so I would start diagnosing the connectivity between the two hosts. Please post masked results.</p>
<p>Please check IP addresses, and make sure you have them correctly, run in each host. Please specify if both hosts belong to the same subnet or not and if possible your hosting provider (some may require a special routing setup or policies).:</p>
<pre><code>ip a
</code></pre>
<p>Please use IP numbers for the other tests below (instead of hostnames).</p>
<p>Please ping and tracert from each host to the other.</p>
<pre><code>ping other_host
sudo apt install traceroute
traceroute other_host
</code></pre>
<p>Check if ufw or iptables are running in each host:</p>
<pre><code>sudo ufw status numbered
service iptables status
</code></pre>
<p>Check if there's something running in the expected port:</p>
<pre><code>netstat -an |grep LISTEN |grep your_port_for_that_host
</code></pre>
<p>If there's connectivity (you've got ping replies), there's no firewall (at least in your hosts), and your ports are in LISTEN state, you should be able to connect. Otherwise we should start looking outside your hosts (i.e. a network firewall).</p>
<p>Please check that the host 1 port is reachable from host 2.
From host 1:</p>
<pre><code>nc -zv host_2_ip host_2_port
</code></pre>
<p>Depending on the results for the above tests, we can test further.</p>
<p>EDIT: After the first batch of tests, it seems that TCP connectivity to the node ports exists between the two hosts.</p>
<p>What instructions did you follow to install the nodes? are you using guild-operators scripts or any other? How do you start the node?</p>
<p>If using systemd, could you provide the output of the following command for both nodes?</p>
<pre><code>sudo systemctl -l --no-pager status cnode
</code></pre>
<p>Cheers,
Josep</p>
