# Unable to retrieve version information from Elasticsearch nodes

**URL:** <https://discuss.elastic.co/t/unable-to-retrieve-version-information-from-elasticsearch-nodes/313467>\
**Category:** Elasticsearch\
**Created:** [September 1, 2022, 5:15pm UTC](https://discuss.elastic.co/t/unable-to-retrieve-version-information-from-elasticsearch-nodes/313467 "2022-09-01T17:15:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Technolust](https://avatars.discourse-cdn.com/v4/letter/t/dbc845/32.png) [@Technolust](https://discuss.elastic.co/u/Technolust)\
**Post date:** [September 1, 2022, 5:15pm UTC](https://discuss.elastic.co/t/unable-to-retrieve-version-information-from-elasticsearch-nodes/313467/1 "2022-09-01T17:15:52Z")

</div>

I'm not able to get kibana to present username password continuously shows:

10.141.0.171:5601  
Kibana server is not ready yet.

kibana.log shows:

"ecs":{"version":"8.4.0"},"@timestamp":"2022-09-01T13:03:37.022-04:00","message":"Unable to retrieve version information from Elasticsearch nodes. socket hang up - Local: 10.141.0.171:53038, Remote: 10.141.0.170:9200","log":{"level":"ERROR","logger":"elasticsearch-service"},"process":{"pid":900},"trace":{"id":"3ade4c23f557a2ddd0ff197d27775d16"},"transaction":{"id":"dc0af279d635b759"}}

I'm able to curl from the kibana server using the kibana\_system user.  
I copied the elastic cert (/etc/elasticsearch/certs/http\_ca.crt) over to the kibana server (/etc/kibana/certs)

[root@rbdckibana01 kibana]# curl --cacert /etc/kibana/certs/http\_ca.crt -u kibana\_system [https://10.141.0.170:9200](https://10.141.0.170:9200)  
Enter host password for user 'kibana\_system':

```auto
{
  "name" : "rbdcelastic01",
  "cluster_name" : "rbdc-elk-stack",
  "cluster_uuid" : "gyBRmaH2SLCDle39ZSCdTQ",
  "version" : {
    "number" : "8.4.1",
    "build_flavor" : "default",
    "build_type" : "rpm",
    "build_hash" : "2bd229c8e56650b42e40992322a76e7914258f0c",
    "build_date" : "2022-08-26T12:11:43.232597118Z",
    "build_snapshot" : false,
    "lucene_version" : "9.3.0",
    "minimum_wire_compatibility_version" : "7.17.0",
    "minimum_index_compatibility_version" : "7.0.0"
  },
  "tagline" : "You Know, for Search"
}

```

Any thoughts on what could be causing and how to fix?

---

<div class="post-metadata">

**Author:** ![Technolust](https://avatars.discourse-cdn.com/v4/letter/t/dbc845/32.png) [@Technolust](https://discuss.elastic.co/u/Technolust)\
**Post date:** [September 1, 2022, 5:29pm UTC](https://discuss.elastic.co/t/unable-to-retrieve-version-information-from-elasticsearch-nodes/313467/2 "2022-09-01T17:29:43Z")

</div>

```auto
ELASTICSEARCH:

cluster.name: rbdc-elk-stack
node.name: rbdcelastic01
path.data: /data/elasticsearch
path.logs: /var/log/elasticsearch
network.host: 10.141.0.170
http.port: 9200

xpack.security.enabled: true
xpack.security.enrollment.enabled: true

# Enable encryption for HTTP API client connections, such as Kibana, Logstash, and Agents
xpack.security.http.ssl:
  enabled: true
  keystore.path: certs/http.p12

# Enable encryption and mutual authentication between cluster nodes
xpack.security.transport.ssl:
  enabled: true
  verification_mode: certificate
  keystore.path: certs/transport.p12
  truststore.path: certs/transport.p12

cluster.initial_master_nodes: ["rbdcelastic01"]

http.host: 0.0.0.0

```

```auto
KIBANA:

server.port: 5601
server.host: "10.141.0.171"
server.publicBaseUrl: "http://10.141.0.171:5601"
server.name: "rbdckibana01"
elasticsearch.hosts: ["http://10.141.0.170:9200"]
elasticsearch.username: "kibana_system"
elasticsearch.password: "kibbles"
elasticsearch.ssl.certificateAuthorities: ["/etc/kibana/certs/http_ca.crt"]

logging:
  appenders:
    file:
      type: file
      fileName: /var/log/kibana/kibana.log
      layout:
        type: json
  root:
    appenders:
      - default
      - file

pid.file: /run/kibana/kibana.pid

```

---

<div class="post-metadata">

**Author:** ![Technolust](https://avatars.discourse-cdn.com/v4/letter/t/dbc845/32.png) [@Technolust](https://discuss.elastic.co/u/Technolust)\
**Post date:** [September 1, 2022, 7:17pm UTC](https://discuss.elastic.co/t/unable-to-retrieve-version-information-from-elasticsearch-nodes/313467/3 "2022-09-01T19:17:38Z")

</div>

When I change the xpack.security.enabled:true to false I'm able to get in.

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [September 1, 2022, 8:05pm UTC](https://discuss.elastic.co/t/unable-to-retrieve-version-information-from-elasticsearch-nodes/313467/4 "2022-09-01T20:05:00Z")

</div>

Your `elasticsearch.yml` has SSL enabled for clients:

```auto
xpack.security.http.ssl:
  enabled: true
  keystore.path: certs/http.p12

```

So, if you enable this you need to use **HTTPS** , but your `kibana.yml` is configured to use **HTTP**.

```auto
elasticsearch.hosts: ["http://10.141.0.170:9200"]

```

Try to change it to **https**.

---

<div class="post-metadata">

**Author:** ![Technolust](https://avatars.discourse-cdn.com/v4/letter/t/dbc845/32.png) [@Technolust](https://discuss.elastic.co/u/Technolust)\
**Post date:** [September 1, 2022, 8:22pm UTC](https://discuss.elastic.co/t/unable-to-retrieve-version-information-from-elasticsearch-nodes/313467/5 "2022-09-01T20:22:27Z")

</div>

You are a godsend! That was it... So simple, I don't know why I didn't catch that 🤦‍♂️...

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 29, 2022, 8:23pm UTC](https://discuss.elastic.co/t/unable-to-retrieve-version-information-from-elasticsearch-nodes/313467/6 "2022-09-29T20:23:27Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
