Errors in Sonarqube cluster setup

We have setup sonarQube LTS for Datacenter. we have completed the setup but facing few issues.

When one of the application node is down then the system page under SonarQube Admistrations shows the cluster monitoring. but when both of the nodes are Up the system page is blank. Also when we tried searching logs we found errors as below:

2021.12.09 08:06:03 INFO sonarqube-3e0696d6-cfef-4c26-b002-3cccdde7f9f6 ce[c.h.i.s.t.TcpServerConnector] [y.y.y.y]:45379 [SonarQube] [4.2] Could not connect to: /x.x.x.x:37011. Reason: SocketTimeoutException[null]
2021.12.09 08:06:03 WARN sonarqube-3e0696d6-cfef-4c26-b002-3cccdde7f9f6 ce[c.h.i.s.t.TcpServerConnectionErrorHandler] [y.y.y.y]:45379 [SonarQube] [4.2] Removing connection to endpoint [x.x.x.x]:37011 Cause => java.net.SocketTimeoutException {null}, Error-Count: 9
2021.12.09 08:06:03 INFO sonarqube-3e0696d6-cfef-4c26-b002-3cccdde7f9f6 ce[c.h.i.s.t.TcpServerConnector] [x.x.x.x]:45379 [SonarQube] [4.2] Could not connect to: /x.x.x.x:37155.
2021.12.09 08:20:22 INFO sonarqube-3e0696d6-cfef-4c26-b002-3cccdde7f9f6 ce[c.h.i.s.t.TcpServerConnector] [x.x.x.x]:45379 [SonarQube] [4.2] Connecting to /x.x.x.x:37011, timeout: 10000, bind-any: false

[y.y.y.y]:45379 [SonarQube] [4.2] This node does not have a connection to Member [x.x.x.x]:37011 - 039eacbd-b2f0-4101-97a4-c65c996b698f

Please help

Hi @tyagia18 and welcome to the community :wave:

The cluster monitoring status is shared within the cluster via hazelcast.
In the logs you posted it seems like there is something blocking the hazelcast communication in between the application nodes. Do you have network restrictions in place?

1 Like

We dont have network restrictions but we can see that the cluster application nodes are trying to connect to each other on random ports instead of 9003 defined in the sonar.prop file

sonar.cluster.node.port=9003