Block Producing node having issue connecting to relay node

Hello,

I am new to Cardano, love everything about it so far! I am trying to start a staking pool. I been following this guide so far.

I set up two VMs in digital ocean. Relay node seems to run fine. However my BP node and relay node are having issue on start.

My BP keeps error/restart when I attempt to start the node.

(67.205.167.232) is my relay node’s public IP

[cardano:cardano.node.IpSubscription:Error:122] [2021-05-26 04:03:28.05 UTC] IPs: 0.0.0.0:0 [67.205.167.232:6000] Connection Attempt Exception, destination 67.205.167.232:6000 exception: Network.Socket.connect: <socket: 60>: does not exist (Connection refused)
[cardano:cardano.node.ErrorPolicy:Notice:107] [2021-05-26 04:03:28.05 UTC] IP 67.205.167.232:6000 ErrorPolicySuspendConsumer (Just (ConnectionExceptionTrace Network.Socket.connect: <socket: 60>: does not exist (Connection refused))) 20s
[cardano:cardano.node.IpSubscription:Error:111] [2021-05-26 04:03:28.07 UTC] IPs: 0.0.0.0:0 [67.205.167.232:6000] Failed to start all required subscriptions
[cardano:cardano.node.IpSubscription:Info:111] [2021-05-26 04:03:29.07 UTC] IPs: 0.0.0.0:0 [67.205.167.232:6000] Restarting Subscription after 1.02602774s desired valency 1 current valency 0

This is my mainnet-topology.json

root@cardano:~/cardano-my-node# cat mainnet-topology.json 
 {
    "Producers": [
      {
        "addr": "67.205.167.232",
        "port": 6000,
        "valency": 1
      }
    ]
  }

Debug Info:

Here is some info helpful for debugging

(on my BP node)
root@cardano:~/cardano-my-node# netcat -znv 67.205.167.232 6000
netcat: connect to 67.205.167.232 port 6000 (tcp) failed: Connection refused
root@relay1:~# sudo ufw status
Status: active

To                         Action      From
--                         ------      ----
22/tcp                     ALLOW       Anywhere                  
6000/tcp                   ALLOW       <my.block.producing.ip>              
22/tcp (v6)                ALLOW       Anywhere (v6)   


root@relay1:~# sudo ss -tunlp
Netid State  Recv-Q Send-Q  Local Address:Port    Peer Address:Port Process                                     
udp   UNCONN 0      0       127.0.0.53%lo:53           0.0.0.0:*     users:(("systemd-resolve",pid=3619,fd=12)) 
tcp   LISTEN 0      150         127.0.0.1:12798        0.0.0.0:*     users:(("cardano-node",pid=287466,fd=17))  
tcp   LISTEN 0      8             0.0.0.0:6000         0.0.0.0:*     users:(("cardano-node",pid=287466,fd=25))  
tcp   LISTEN 0      150         127.0.0.1:12788        0.0.0.0:*     users:(("cardano-node",pid=287466,fd=16))  
tcp   LISTEN 0      4096    127.0.0.53%lo:53           0.0.0.0:*     users:(("systemd-resolve",pid=3619,fd=13)) 
tcp   LISTEN 0      128           0.0.0.0:22           0.0.0.0:*     users:(("sshd",pid=116808,fd=3))           
tcp   LISTEN 0      128              [::]:22              [::]:*     users:(("sshd",pid=116808,fd=4))  

deleting db folder and restart seem to do the trick

On relay u will need to open the port 6000 for any not only for ur producer… otherwise other nodes can’t connect to the relay and u will not see TX processed

gotcha, thanks for the tip! Updated

Rule deleted
root@relay1:~# sudo ufw status
Status: active

To                         Action      From
--                         ------      ----
22/tcp                     ALLOW       Anywhere                  
6000/tcp                   ALLOW       Anywhere                  
22/tcp (v6)                ALLOW       Anywhere (v6)             
6000/tcp (v6)              ALLOW       Anywhere (v6)             

1 Like