Yes, on Producer u shouldn’t run topology updater and add the relays inside topology file and restart the node
Also if it’s running on a private network u will need a port forward (for the relay from digital ocean)
On relays u should run topology updater script
(./deploy-as-systemd.sh and press Y for topology updater)
Then go inside the topology updater and add the Producer Ip + port to custom peer line
And delete # from the beginning
Example
CUSTOM_PEERS=“1.1.1.1,6000”
Then restart the nodes
The result:
The producer should have only the relays to IN/OUT peers
The relays should have the producer + other public nodes to IN/OUT peers
!!! If u activated the topology updater on Producer u can deactivate by running
./deploy-as-systemd.sh and press N for topology updater
Then restart the node
sudo systemctl restart cnode
ok so internal relay is working now!
(Relay - Mainnet) : 1.27.0 [709a2594] <
┌────────────────────────┬────────────┬────────────────────────┐
│ Uptime: 00:20:16 │ Port: 6000 │ Guild LiveView v1.20.7 │
│------------------------└────────────┴────────────────────────┤
│ Epoch 266 [95.3%] (node) │
│ 05:39:59 until epoch boundary (chain) │
│ ▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▖▖▖ │
│ │
│ Block : 5743132 Tip (ref) : 29960401 │
│ Slot : 411565 Tip (node) : 29960365 │
│ Density : 4.866 Tip (diff) : 36
│
│--------------------------------------------------------------│
│ Processed TX : 866 Out / In │
│ Mempool TX/Bytes : 29 / 16103 Peers : 17 3 │
└──────────────────────────────────────────────────────────────┘
but still no transactions on my BP…
(Core - Mainnet) : 1.27.0 [69c77dcc] <
┌────────────────────────┬────────────┬────────────────────────┐
│ Uptime: 00:04:34 │ Port: 6000 │ Guild LiveView v1.20.7 │
│------------------------└────────────┴────────────────────────┤
│ Epoch 266 [95.3%] (node) │
│ 05:38:46 until epoch boundary (chain) │
│ ▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▖▖▖ │
│ │
│ Block : 5743133 Tip (ref) : 29960474 │
│ Slot : 411644 Tip (node) : 29960444 │
│ Density : 4.859 Tip (diff) : 30
│
│--------------------------------------------------------------│
│ Processed TX : 0 Out / In │
│ Mempool TX/Bytes : 0 / 0 Peers : 4 0 │
├──────────────────────────────────────────────────────────────┤
│ KES current/remaining : 231 / 53 │
│ KES expiration date : 2021-08-07 17:44:51 EDT │
│--------------------------------------------------------------│
│ BLOCKS Leader | Adopted | Invalid │
│Since node start (EKG metrics) 0 | 0 | 0 │
└──────────────────────────────────────────────────────────────┘
Because u don’t have the relay as an IN peer in producer
Did u added the Producer IP + port in topology updater script to custom peer line? Also did u uncommented the line (delete # from the beginning)?
ya one relay is down cuz im updating it to 1.27.0 but Im internal relay should be connect… I’m gonna have a look at the topology again… I’m sure I’m missing something simple
1 Like
GNU nano 4.8 topology.json
{
“Producers”: [
{
“addr”: “159.203.39.89”,
“port”: 6000,
“valency”: 1
},
{
“addr”: “192.168.0.183”,
“port”: 6000,
“valency”: 1
},
{
“addr”: “192.168.0.121”,
“port”: 6000,
“valency”: 1
},
{
“addr”: “relays-new.cardano-mainnet.iohk.io”,
“port”: 3001,
“valency”: 2
}
]
}
this is from my relay topology updater
CUSTOM_PEERS=“192.168.0.29:6000|relays-new.cardano-mainnet.iohk.io:3001:2”
omg i think we did it!
Cardano Node - (Core - Mainnet) : 1.27.0 [69c77dcc] <
┌────────────────────────┬────────────┬────────────────────────┐
│ Uptime: 00:02:46 │ Port: 6000 │ Guild LiveView v1.20.7 │
│------------------------└────────────┴────────────────────────┤
│ Epoch 266 [96.0%] (node) │
│ 04:46:12 until epoch boundary (chain) │
│ ▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▌▖▖▖ │
│ │
│ Block : 5743293 Tip (ref) : 29963628 │
│ Slot : 414719 Tip (node) : 29963519 │
│ Density : 4.867 Tip (diff) : 109
│
│--------------------------------------------------------------│
│ Processed TX : 11 Out / In │
│ Mempool TX/Bytes : 73 / 52867 Peers : 3 1 │
├──────────────────────────────────────────────────────────────┤
│ KES current/remaining : 231 / 53 │
│ KES expiration date : 2021-08-07 17:44:51 EDT │
│--------------------------------------------------------------│
│ BLOCKS Leader | Adopted | Invalid │
│Since node start (EKG metrics) 0 | 0 | 0 │
└──────────────────────────────────────────────────────────────┘
1 Like
U still have just on peer connected to ur Producer but it’s a start
1 Like
should be 3/3 right? out and in for each node?
U don’t have IN peers on relays… show me the last log from topology updater script… what is the last message?
Check if the relays ports are open
https://www.yougetsignal.com/tools/open-ports/
how do i get log from topology updater?
run ./topologyUpdater.sh or whatever you named it and if successfully, you’ll see a result similar to below:
{ “resultcode”: “201”, “datetime”:“2020-07-28 01:23:45”, “clientIp”: “1.2.3.4”, “iptype”: 4, “msg”: “nice to meet you” }
just says checking for scripts updates …
my relay ports say they are closed on the website
Ok, then check the fw or the port forward
opt/cardano/cnode/scripts$ sudo ufw status
Status: active
To Action From
22/tcp ALLOW Anywhere
6001/tcp ALLOW Anywhere
6000/tcp ALLOW Anywhere
3001/tcp ALLOW Anywhere
22/tcp (v6) ALLOW Anywhere (v6)
6001/tcp (v6) ALLOW Anywhere (v6)
6000/tcp (v6) ALLOW Anywhere (v6)
3001/tcp (v6) ALLOW Anywhere (v6)
and port is forwarded in my router… that has changed since I had the nodes working yesterday
try to run ./topologyUpdater.sh script… what is the message?
but if u are see the ports closed on that page it means other public nodes can’t connect to your nodes from the outsid… try to check the fw, the portforward again… do you have a static IP at home? perhaps it changed…
it asked me to update i said yes… and then when i rereun it just says "checking for updates … "
i will mess around with my router then… that makes most sense why nothing is getting thru
1 Like
ok redid the port forwarding on my router… open port check shows port is open
Port 6000 is open on 174.92.88.76.
firewall rules on the node
Status: active
To Action From
22/tcp ALLOW Anywhere
6001/tcp ALLOW Anywhere
6000/tcp ALLOW Anywhere
22/tcp (v6) ALLOW Anywhere (v6)
6001/tcp (v6) ALLOW Anywhere (v6)
6000/tcp (v6) ALLOW Anywhere (v6)
peers of relay node
(Relay - Mainnet) : 1.27.0 [709a2594] <
┌────────────────────────┬────────────┬────────────────────────┐
│ Uptime: 00:15:04 │ Port: 6000 │ Guild LiveView v1.20.7 │
│------------------------└────────────┴────────────────────────┤
│ OUT RTT : Peers / Percent │
│ 0-50ms : 1 / 33% ▌▌▌▌▌▌▌▌▌▌▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖│
│ 50-100ms : 1 / 33% ▌▌▌▌▌▌▌▌▌▌▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖│
│ 100-200ms : 1 / 33% ▌▌▌▌▌▌▌▌▌▌▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖│
│ 200ms < : 0 / 0% ▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖│
│- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - │
│ Total / Undetermined : 3 / 0 Average RTT : 65 ms │
│- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - │
│ # REMOTE PEER RTT Geolocation [1-3] │
│ 1 192.168.0.29:6000 0 (Private IP) │
│ 2 54.151.113.34:3001 72 San Jose, US │
│ 3 18.158.196.38:3001 123 Frankfurt am Main, DE │
├──────────────────────────────────────────────────────────────┤
│ In RTT : Peers / Percent │
│ 0-50ms : 0 / 0% ▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖│
│ 50-100ms : 0 / 0% ▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖│
│ 100-200ms : 0 / 0% ▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖│
│ 200ms < : 0 / 0% ▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖▖│
│- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - │
│ Total / Undetermined : 1 / 1 Average RTT : 0 ms │
│- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - │
│ # REMOTE PEER RTT Geolocation [1-1] │
│ 1 192.168.0.29:42121 — (Private IP) │
I’m not what could be blocking the in peers 