status-im / infra-eth-cluster

Infrastructure for Status-go fleets
https://github.com/status-im/status-go
0 stars 0 forks source link

Figure out why GC nodes do not serve clients #2

Closed adambabik closed 6 years ago

adambabik commented 6 years ago

Problem

Looking at https://grafana.status.im/d/wV77E-4mz/statusd-metrics?panelId=18&fullscreen&orgId=1&from=now-2d&to=now it seems like all GC nodes keep persistent 5 peers which indicates no clients connect to them.

MailServers are hardcoded in the client and are selected randomly and that's why they have connections.

adambabik commented 6 years ago

I examined node-02.gc-us-central1-a.eth.beta and node-04.gc-us-central1-a.eth.beta and they both have only DO peers.

adambabik commented 6 years ago

looks like bootnode and whiper node ports were mixed up in the firewall rules 30303-30310 was enable for bootnodes and 30403-30410 for whisper nodes not the other way around

We fixed that by changing the open node ports configuration.