# Kibana is not getting connected to elastic search

**URL:** https://discuss.elastic.co/t/kibana-is-not-getting-connected-to-elastic-search/291630
**Category:** Kibana
**Created:** [December 13, 2021, 10:54am UTC](https://discuss.elastic.co/t/kibana-is-not-getting-connected-to-elastic-search/291630 "2021-12-13T10:54:15Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![aravi](https://avatars.discourse-cdn.com/v4/letter/a/35a633/32.png) [@aravi](https://discuss.elastic.co/u/aravi)
#### Post date: [December 13, 2021, 10:54am UTC](https://discuss.elastic.co/t/kibana-is-not-getting-connected-to-elastic-search/291630/1 "2021-12-13T10:54:15Z")

</div>

We are not bale to open up the kibana portal due to the probable socket timed out error while reaching the Elasticsearch. Recently we have made a change to disable the xpack-security in the Elasticsearch. Please be informed that the current version of ELK is trial version and Elasticsearch is hosted in cluster configuration.

**ABLE/1/state not recovered / initialized];\"},\"status\":503}"}"}**  
**{"type":"log","@timestamp":"2021-12-13T06:30:39Z","tags":["error","Elasticsearch","admin"],"pid":109943,"message":"Request error, retrying\nGET [http://10.0.1.4:9200/.kibana\_task\_manager](http://10.0.1.4:9200/.kibana_task_manager) =\> socket hang up"}**  
**{"type":"log","@timestamp":"2021-12-13T06:30:39Z","tags":["error","Elasticsearch","admin"],"pid":109943,"message":"Request error, retrying\nGET [http://10.0.1.4:9200/.kibana](http://10.0.1.4:9200/.kibana) =\> socket hang up"}**  
**{"type":"log","@timestamp":"2021-12-13T06:30:41Z","tags":["fatal","root"],"pid":109943,"message":"Error: Cluster client cannot be used after it has been closed.\n at ClusterClient.assertIsNotClosed (/usr/share/kibana/src/core/server/Elasticsearch/cluster\_client.js:187:13)\n at ClusterClient.\_defineProperty [as callAsInternalUser] (/usr/share/kibana/src/core/server/Elasticsearch/cluster\_client.js:108:12)\n at callAsInternalUser (/usr/share/kibana/src/core/server/Elasticsearch/elasticsearch\_service.js:78:29)"}**  
**{"type":"log","@timestamp":"2021-12-13T07:45:19Z","tags":["listening","info"],"pid":3491,"message":"Server running at [https://10.0.1.6:8443](https://10.0.1.6:8443)"}**

---

<div class="post-metadata">

### Author: ![majagrubic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/majagrubic/32/74459_2.png) [@majagrubic](https://discuss.elastic.co/u/majagrubic)
#### Post date: [December 15, 2021, 1:16pm UTC](https://discuss.elastic.co/t/kibana-is-not-getting-connected-to-elastic-search/291630/2 "2021-12-15T13:16:08Z")

</div>

Can you reach your Elasticsearch cluster by executing  
`curl -X GET "<your_es_url>/_cluster/health?pretty"`

and paste the response here?

---

<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: [January 12, 2022, 1:16pm UTC](https://discuss.elastic.co/t/kibana-is-not-getting-connected-to-elastic-search/291630/3 "2022-01-12T13:16:59Z")

</div>

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