Help with connecting second relay node. Topology questions

then please verify that relay node is listening on 6001 - sudo netstat -lnaopt

Timer

tcp 0 0 0.0.0.0:3003 0.0.0.0:* LISTEN 95620/cardano-node off (0.00/0/0)
tcp 0 0 127.0.0.1:12798 0.0.0.0:* LISTEN 95620/cardano-node off (0.00/0/0)
tcp 0 0 127.0.0.1:12788 0.0.0.0:* LISTEN 95620/cardano-node off (0.00/0/0)
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 1668/systemd-resolv off (0.00/0/0)
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1789/sshd: /usr/s

It is not. Looks like it is listening on 3003

just to be sure check all the other nodes that listening on the desired port
also how do you start relay 2?

Well there it is. There is a cardano.service script that had 3003 as the port for startup. Not configurable by the topology files. Now that I changed it to 6001, things are looking better.

I now have 2 INS on the gLiveView of relay 2. one from relay 1 random port, one from relay 2 random port.

I also have 2 OUTS on my BlockProducer one to relay 1 (192.168.1.2:6000) and one to relay 2 (192.168.1.41:6001). It has no INS.

My relay 1 has 5 random INS all from 10.0.2.2 which I guess is the virtual machine masking my BlockProducer address?

Is this finally looking all as it should?

Yes:) so please consider mark one of the answers as solution to indicate there is no need more attention - finally:)

Hold crap I canā€™t thank you enough for your help over these last few days. Can I just mark you as the solution? Iā€™d love to send you some beer or wine or somethingā€¦
-Sully

1 Like

Actually It is Saturday night here - so yeah definitely a good idea for a cheers:)

1 Like

Well, Iā€™m toasting you right now. And will move to your stake pool until I finally feel more comfortable that I know every angle of this. And that could be a while :wink:

:slight_smile: cheers! - hmm if you mean you would delegate to my pool - hmm it would be good experience

Me again :flushed:. All was running fine, and Iā€™ve progressed to setting up some keys for the block node when now Iā€™ve lost connection with my second relay again. I can netcat in both directions and both my relay is showing up in the IN section of the blocknode, but my blocknode is only sending (OUT) to my first relay. I have changed none of the topology files other than to add location to the keys in my blocknode topo.

The only other update was moving my node files from a SD card to a SSD on my pi. But ip address and all content stayed the same, and both relays send to my blocknode as an OUT peer.

Any direction on where to start to see why there is a disconnect again?

Mar 31 07:03:09 sully-OptiPlex-7050 bash[2744609]: [sully-Op:cardano.node.IpSubscription:Info:69] [2021-03-31 11:03:09.51 UTC] IPs: 0.0.0.0:0 [192.168.1.2:6000,192.168.1.41:6000] Trying to connect to 192.168.1.2:6000
Mar 31 07:03:09 sully-OptiPlex-7050 bash[2744609]: [sully-Op:cardano.node.IpSubscription:Info:69] [2021-03-31 11:03:09.51 UTC] IPs: 0.0.0.0:0 [192.168.1.2:6000,192.168.1.41:6000] Skipping peer 192.168.1.41:6000
Mar 31 07:03:09 sully-OptiPlex-7050 bash[2744609]: [sully-Op:cardano.node.IpSubscription:Error:69] [2021-03-31 11:03:09.51 UTC] IPs: 0.0.0.0:0 [192.168.1.2:6000,192.168.1.41:6000] Failed to start all required subscriptions

Thanks!
-Sully

Nevermind! Your previous advice helped me track down the problem. The 192.168.1.41 should have been on port 6001. Not sure how it got switched back to 6000, but Iā€™m all good now. Feeling a bit more confident in my problem-solving skills and understanding now. Till my next problem, that isā€¦
-Sully

1 Like

Great that you could walk through and check what could be wong on you own!

1 Like