Hello,
I have this error when I start kibana :
kibana1.lab.fr kibana[2294]: [2022-10-21T14:42:03.355+02:00][ERROR][elasticsearch-service] Unable to retrieve version information from Elasticsearch nodes. socket hang up - Local: 192.168.1.80:41720, Remote: 192.168.1.10:9200
oct. 21 14:42:04 kibana1.lab.fr kibana[2294]: [2022-10-21T14:42:04.650+02:00][INFO ][plugins.screenshotting.chromium] Browser executable: /usr/share/kibana/x-pack/plugins/screenshotting/chromium/headless_shell-linux_x64/headless_shell
oct. 21 14:42:05 kibana1.lab.fr kibana[2294]: [2022-10-21T14:42:05.929+02:00][ERROR][elasticsearch-service] Unable to retrieve version information from Elasticsearch nodes. socket hang up - Local: 192.168.1.80:34066, Remote: 192.168.1.20:9200
oct. 21 14:42:08 kibana1.lab.fr kibana[2294]: [2022-10-21T14:42:08.444+02:00][ERROR][elasticsearch-service] Unable to retrieve version information from Elasticsearch nodes. socket hang up - Local: 192.168.1.80:52746, Remote: 192.168.1.40:9200
oct. 21 14:42:10 kibana1.lab.fr kibana[2294]: [2022-10-21T14:42:10.889+02:00][ERROR][elasticsearch-service] Unable to retrieve version information from Elasticsearch nodes. socket hang up - Local: 192.168.1.80:41800, Remote: 192.168.1.10:9200
oct. 21 14:42:13 kibana1.lab.fr kibana[2294]: [2022-10-21T14:42:13.443+02:00][ERROR][elasticsearch-service] Unable to retrieve version information from Elasticsearch nodes. socket hang up - Local: 192.168.1.80:35878, Remote: 192.168.1.30:9200
oct. 21 14:42:15 kibana1.lab.fr kibana[2294]: [2022-10-21T14:42:15.949+02:00][ERROR][elasticsearch-service] Unable to retrieve version information from Elasticsearch nodes. socket hang up - Local: 192.168.1.80:35702, Remote: 192.168.1.50:9200
oct. 21 14:42:18 kibana1.lab.fr kibana[2294]: [2022-10-21T14:42:18.463+02:00][ERROR][elasticsearch-service] Unable to retrieve version information from Elasticsearch nodes. socket hang up - Local: 192.168.1.80:34186, Remote: 192.168.1.20:9200
an example of the configuration of one of the cluster nodes :
# Enable encryption for HTTP API client connections, such as Kibana, Logstash, and Agents
xpack.security.http.ssl:
enabled: true
keystore.path: /etc/elasticsearch/new/http.p12
truststore.path: /etc/elasticsearch/new/http.p12
client_authentication: required
verification_mode: full
# Enable encryption and mutual authentication between cluster node
xpack.security.transport.ssl:
enabled: true
verification_mode: full
client_authentication: required
keystore.path: /etc/elasticsearch/new/node-1.p12
truststore.path: /etc/elasticsearch/new/node-1.p12
Kibana config:
server.ssl.enabled: true
server.ssl.keystore.path: "/etc/kibana/certs/kibana1.p12"
server.ssl.truststore.path: "/etc/kibana/certs/kibana1.p12"
#server.ssl.clientAuthentication: required
# =================== System: Elasticsearch ===================
# The URLs of the Elasticsearch instances to use for all your queries.
elasticsearch.hosts: ["https://192.168.1.10:9200", "https://192.168.1.20:9200","https://192.168.1.30:9200", "https://192.168.1.40:9200", "https://192.168.1.50:9200"]
elasticsearch.ssl.certificateAuthorities: [ "/etc/kibana/certs/elasticsearch-ca.pem" ]
I think it's the kibana authentication on the cluster nodes that isn't working.
How to fix it?
Thanks in advance for your help