Is my block producing node configured correctly?

Hi,
I have set-up the relays and block producing nodes. However, I am not 100% sure that they correctly configured. I use the simpleLiveView script to check it on all nodes. It puzzels me that there are no Peers (out / in) identified on my block producing node (not the relays), but on the other hand it seems to update slots correctly. It also says that I have 1 Slots led and 1 Blocks forged too. Have I minted a block? I cannot see this in Adapools.org or pooltool.io.
I would be thankful for your feedback.
Thanks,
JC

Here are my outputs in SimpleLiveView:

1 Block producing node:
±-------------------------------------+
| Simple Node Stats by Crypto2099 |
±--------------------±---------------+
| Version | 1.25.1 |
±--------------------±---------------+
| Revision | 9a7331cc |
±--------------------±---------------+
| Peers (Out / In) | / 0 |
±--------------------±---------------+
| Epoch / Block | 254 / 5472420 |
±--------------------±---------------+
| Slot | 24413747 |
±--------------------±---------------+
| Uptime (D:H:M:S) | 08:04:17:59 |
±--------------------±---------------+
| Transactions | |
±--------------------±---------------+
| Chain Density | 4.840% |
±--------------------±---------------+
| RUNNING IN BLOCK PRODUCER MODE! :slight_smile: |
±--------------------±---------------+
| KES PERIOD | 188 |
±--------------------±---------------+
| KES REMAINING | 51 |
±--------------------±---------------+
| SLOTS LED | 1 |
±--------------------±---------------+
| BLOCKS FORGED | 1 |
±--------------------±---------------+

  1. One of the relays:
    ±-------------------------------------+
    | Simple Node Stats by Crypto2099 |
    ±--------------------±---------------+
    | Version | 1.25.1 |
    ±--------------------±---------------+
    | Revision | 9a7331cc |
    ±--------------------±---------------+
    | Peers (Out / In) | 9 / 4 |
    ±--------------------±---------------+
    | Epoch / Block | 254 / 5472423 |
    ±--------------------±---------------+
    | Slot | 24413800 |
    ±--------------------±---------------+
    | Uptime (D:H:M:S) | 04:22:27:53 |
    ±--------------------±---------------+
    | Transactions | 150984 |
    ±--------------------±---------------+
    | Chain Density | 4.840% |
    ±--------------------±---------------+
    | NOT A BLOCK PRODUCER! RELAY ONLY! |
    ±-------------------------------------+
  • for BP incoming 0
    check ur BP firewall. if u opened the port to accept incoming connections from ur Relay
    check the topology updater script from ur Relays, if u added the Producer IP+ port to custome peers

  • for BP outgoing 0
    check the Producer topology file, did u added ur relays there?

Regarding the forged block, if u don’t see it on adapools.org or pooltool.io or pool.pm means u didn’t succeeded to create (perhaps because ur Producer doesn’t have peers connections)

Cheers,

1 Like

Many thanks for the quick reply! I think that I have done it, but let’s see if you find some error(s).

For BP incoming:
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip

To Action From


3000 ALLOW IN 10.164.0.6
3000 ALLOW IN 10.132.0.2

The topology file on my relay is:
{
“Producers”: [
{
“operator”: “core”,
“addr”: “10.164.0.2”,
“port”: 3000,
“valency”: 1
},
etc.

For BP outgoing:
{
“Producers”: [
{
“addr”: “10.132.0.2”,
“port”: 3001,
“valency”: 1
},
{
“addr”: “10.164.0.6”,
“port”: 3002,
“valency”: 1
}
]
}

I start the BP node with:
xxx/.local/bin/cardano-node run
–database-path xxx/cnode/db
–socket-path xxx/cnode/sockets/node.socket
–port 3000
–host-addr 127.0.0.1
–config xxx/cnode/config/mainnet-config.json
–topology xxx/cnode/config/mainnet-topology.json
–shelley-kes-key xxx/pool-keys/kes.skey
–shelley-vrf-key xxx/pool-keys/vrf.skey
–shelley-operational-certificate xxx/pool-keys/node.cert

Pity about the missed forged block.
Thanks again for your support!

Try to start the producer with 0.0.0.0
On relays u need to run topology updater… what is ur ticker?

Try from bp
telnet Relays_IP 3001/3002
Saying connected?

Try from relays to bp
telnet BP_IP 3000
Saying connected?

I see u are using private IPs… the nodes communicate between them? Try with ping

U can check the connections also with netstat command
Cheers,

Thanks again! OK, I have started the BP with 0.0.0.0.

My ticker is 12345

Thanks to your comments, I realised that the firewall in the cloud (not on the nodes themselves that you configure with ufw) was restricting the traffic between the nodes. When I deactivated it, the transactions show up in simpleLiveView, the Slots LED, and Blocks Forged have also disappeared. So at least some progress.

I can use telnet from BP to relay, but not the other way around. It says connection refused even though the ports are open, or even if I deactivate the local firewall on the node. Ping works in both directions.

I’m very grateful for your support!

ok, perhaps same issue with the port closed on cloud fw?
you know what? try to start again the producer with the private IP. ur nodes are in the same private network? do they cross the cloud fw in order to communicate?

your relays are fine on adapools.org. (remember to use topology updater on Relays)

Yes, you were right, it was another port on the cloud fw!
Yes, they are on the same private network.
Thanks a million!
Ok, I will check the topology updater. Is it this one?

are u using cntools?

Cheers,

No, do you advice that?

Then u will need to setup the topology updater from this guide, step 14
Remember, only on Relays !

https://www.coincashew.com/coins/overview-ada/guide-how-to-build-a-haskell-stakepool-node

Your help was really great!
Have a nice evening!

1 Like

Hello Alexd,

Does it mean, that BP should have both incoming and outgoing connections ? For some reason, despite having proper ports open in the firewall, my BP only has OUT peers, and no IN peersbp-stats

What could be the reason for this ? In my topology for BP node, I only have two of my relays.
Both relays have topology updater with CUSTOM_PEER set to the BP…

Also, log file for BP is empty !

what do you mean, you have 2 peers to OUT and 2 peers to IN.

hmm as on the picture above, I have total 2 peers for IN section, and in OUT section, there are 2 peers that are unreachable (Total/Unreachable - 2/2).

Unreachable not meaning u don’t have peers, press Info [i] in glive, perhaps the ICMP is filtered and that’s why u see them unreachable… I see the same for my Producer :wink:

OK, that’s damn confusing :wink: Thank you…again.

1 Like

U just check when u start the glive… to see core mainnet, peers 2/2, tx processing, infos about kes expiration, infos about blocks, etc

and ur relays should be green on adapools - about