# \[ERROR\]\[elasticsearch-service\] Unable to retrieve version information from Elasticsearch nodes

**URL:** <https://discuss.elastic.co/t/error-elasticsearch-service-unable-to-retrieve-version-information-from-elasticsearch-nodes/325827>\
**Category:** Kibana\
**Created:** [February 17, 2023, 9:48am UTC](https://discuss.elastic.co/t/error-elasticsearch-service-unable-to-retrieve-version-information-from-elasticsearch-nodes/325827 "2023-02-17T09:48:50Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mausam\_Singh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mausam_singh/32/111833_2.png) [@Mausam\_Singh](https://discuss.elastic.co/u/Mausam_Singh)\
**Post date:** [February 17, 2023, 9:48am UTC](https://discuss.elastic.co/t/error-elasticsearch-service-unable-to-retrieve-version-information-from-elasticsearch-nodes/325827/1 "2023-02-17T09:48:50Z")

</div>

Hi Team,

I have locally installed elasticsearch and kibana on Mac OS. it was working fine from last 1.5 months . However I am getting below error (while starting kibana) from last week:

Below is elasticsearch detail :

```auto
< certs git:(main) ✗ curl --cacert http_ca.crt -u elastic https://localhost:9200
Enter host password for user 'elastic':
{
  "name" : "GTDGCYHY4H",
  "cluster_name" : "pmpelastic",
  "cluster_uuid" : "YJUjHnjwRDm22QO1lSln2w",
  "version" : {
    "number" : "8.6.0",
    "build_flavor" : "default",
    "build_type" : "tar",
    "build_hash" : "f67ef2df40237445caa70e2fef79471cc608d70d",
    "build_date" : "2023-01-04T09:35:21.782467981Z",
    "build_snapshot" : false,
    "lucene_version" : "9.4.2",
    "minimum_wire_compatibility_version" : "7.17.0",
    "minimum_index_compatibility_version" : "7.0.0" 

```

For kibana:

```auto
< ➜ certs git:(main) ✗ curl -v --cacert http_ca.crt -u elastic https://localhost:5601
Enter host password for user 'elastic':
* Trying 127.0.0.1:5601...
* Connected to localhost (127.0.0.1) port 5601 (#0)
* ALPN: offers h2
* ALPN: offers http/1.1
* CAfile: http_ca.crt
* CApath: none
* (304) (OUT), TLS handshake, Client hello (1):
* error:1404B42E:SSL routines:ST_CONNECT:tlsv1 alert protocol version
* Closing connection 0
curl: (35) error:1404B42E:SSL routines:ST_CONNECT:tlsv1 alert protocol version />

```

Please assist me on this and let me know if you need anymore information while working on it.

Regards,  
Mausam

---

<div class="post-metadata">

**Author:** ![xeraa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/xeraa/32/48181_2.png) [@xeraa](https://discuss.elastic.co/u/xeraa)\
**Post date:** [February 17, 2023, 10:17am UTC](https://discuss.elastic.co/t/error-elasticsearch-service-unable-to-retrieve-version-information-from-elasticsearch-nodes/325827/2 "2023-02-17T10:17:19Z")

</div>

Did you set up TLS for Kibana? You'd have to do that manually.

What happens if you run `curl -v -u elastic http://localhost:5601`?

---

<div class="post-metadata">

**Author:** ![Mausam\_Singh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mausam_singh/32/111833_2.png) [@Mausam\_Singh](https://discuss.elastic.co/u/Mausam_Singh)\
**Post date:** [February 17, 2023, 2:09pm UTC](https://discuss.elastic.co/t/error-elasticsearch-service-unable-to-retrieve-version-information-from-elasticsearch-nodes/325827/3 "2023-02-17T14:09:29Z")

</div>

Hi Xeraa,

I have installed kibana and Elasticsearch (version 8.6.0 ). I have not done any configuration manually except the basic one. As mentioned before it was working fine for 1.5 months. I already pushed data via Logstash and enable the Machine learning for my use case. Incase you think I should still do TLS setting for kibana. Please provide the link to do the same.

Regards,  
Mausam

---

<div class="post-metadata">

**Author:** ![xeraa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/xeraa/32/48181_2.png) [@xeraa](https://discuss.elastic.co/u/xeraa)\
**Post date:** [February 17, 2023, 3:15pm UTC](https://discuss.elastic.co/t/error-elasticsearch-service-unable-to-retrieve-version-information-from-elasticsearch-nodes/325827/4 "2023-02-17T15:15:06Z")

</div>

But by default, Kibana doesn't configure TLS (while Elasticsearch is). Are you sure Kibana is accessible through HTTPS rather than HTTP? What happens if you run the command from my previous comment?

---

<div class="post-metadata">

**Author:** ![Mausam\_Singh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mausam_singh/32/111833_2.png) [@Mausam\_Singh](https://discuss.elastic.co/u/Mausam_Singh)\
**Post date:** [February 27, 2023, 1:48am UTC](https://discuss.elastic.co/t/error-elasticsearch-service-unable-to-retrieve-version-information-from-elasticsearch-nodes/325827/5 "2023-02-27T01:48:02Z")

</div>

'''  
Last login: Mon Feb 27 02:39:22 on ttys005  
➜ ~ git:(main) ✗ curl -v -u elastic [http://localhost:5601](http://localhost:5601)  
Enter host password for user 'elastic':

- Trying 127.0.0.1:5601...
- Connected to localhost (127.0.0.1) port 5601 (#0)
- Server auth using Basic with user 'elastic'

> GET / HTTP/1.1  
> Host: localhost:5601  
> Authorization: Basic ZWxhc3RpYzpyZ3lmNkt4UXZUYTkwRWs3VFdSNA==  
> User-Agent: curl/7.86.0  
> Accept: _/_

- Mark bundle as not supporting multiuse  
\< HTTP/1.1 200 OK  
\< x-content-type-options: nosniff  
\< referrer-policy: no-referrer-when-downgrade  
\< content-security-policy: script-src 'self' 'unsafe-eval'; worker-src blob: 'self'; style-src 'unsafe-inline' 'self'  
\< kbn-name: GTDGCYHY4H  
\< content-type: text/html; charset=utf-8  
\< cache-control: private, no-cache, no-store, must-revalidate  
\< content-length: 90299  
\< vary: accept-encoding  
\< accept-ranges: bytes  
\< Date: Mon, 27 Feb 2023 01:45:48 GMT  
\< Connection: keep-alive  
\< Keep-Alive: timeout=120  
'''

---

<div class="post-metadata">

**Author:** ![xeraa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/xeraa/32/48181_2.png) [@xeraa](https://discuss.elastic.co/u/xeraa)\
**Post date:** [February 27, 2023, 11:49am UTC](https://discuss.elastic.co/t/error-elasticsearch-service-unable-to-retrieve-version-information-from-elasticsearch-nodes/325827/6 "2023-02-27T11:49:21Z")

</div>

Yes, that works — you're getting a 200 back.

I'm not sure what you are trying to do, but this is the right starting point.

---

<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:** [March 27, 2023, 11:49am UTC](https://discuss.elastic.co/t/error-elasticsearch-service-unable-to-retrieve-version-information-from-elasticsearch-nodes/325827/7 "2023-03-27T11:49:31Z")

</div>

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