# Head plugin unable to connect to Elasticsearch 5.3 - cluster health: not connected

**URL:** <https://discuss.elastic.co/t/head-plugin-unable-to-connect-to-elasticsearch-5-3-cluster-health-not-connected/83327>\
**Category:** Elasticsearch\
**Created:** [April 23, 2017, 4:23pm UTC](https://discuss.elastic.co/t/head-plugin-unable-to-connect-to-elasticsearch-5-3-cluster-health-not-connected/83327 "2017-04-23T16:23:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jovanmal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jovanmal/32/17330_2.png) [@jovanmal](https://discuss.elastic.co/u/jovanmal)\
**Post date:** [April 23, 2017, 4:23pm UTC](https://discuss.elastic.co/t/head-plugin-unable-to-connect-to-elasticsearch-5-3-cluster-health-not-connected/83327/1 "2017-04-23T16:23:06Z")

</div>

Hi guys,

I have Elasticsearch 5.3 installed on Centos 7 x64 server.

Also, I have started Head plugin with built-in web server, following next steps:

```
git clone git://github.com/mobz/elasticsearch-head.git
cd elasticsearch-head
npm install
npm run start

```

After this, I can login to Head webinterface, but cannot connect to the Elasticsearch server. Getting message

`cluster health: not connected`

when I try to connect to [http://localhost:9200/](http://localhost:9200/).

Can somebody tell me why I cannot install head plugin using elasticsearch-plugin command. I tried it using the following command:

`/usr/share/elasticsearch/bin/elasticsearch-plugin install elasticsearch-head`

but without success (getting following message):

`ERROR: Unknown plugin elasticsearch-head`

In older Elasticsearch versions, Head plugin had to be installed by command

`/usr/share/elasticsearch/bin/plugin install mobz/elasticsearch-head`

but this is not working anymore.

Can somebody help me to get Head plugin working with actual Elasticsearch version?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 24, 2017, 8:03am UTC](https://discuss.elastic.co/t/head-plugin-unable-to-connect-to-elasticsearch-5-3-cluster-health-not-connected/83327/2 "2017-04-24T08:03:12Z")

</div>

Site plugins are no longer supported in 5.X so you cannot install it into ES.

You may need to ask on the head GH page though, as I don't know what this could be 🙂

---

<div class="post-metadata">

**Author:** ![Piper0804](https://avatars.discourse-cdn.com/v4/letter/p/e47774/32.png) [@Piper0804](https://discuss.elastic.co/u/Piper0804)\
**Post date:** [May 5, 2017, 11:50pm UTC](https://discuss.elastic.co/t/head-plugin-unable-to-connect-to-elasticsearch-5-3-cluster-health-not-connected/83327/3 "2017-05-05T23:50:48Z")

</div>

I'm having the same issue.

Also cloned the repo, installed and ran. Since plugins are not supported with version 5.x.

I have the same result, I can bring the "plugin" up in the browser but elasticsearch-head cannot connect to my es instance.

---

<div class="post-metadata">

**Author:** ![jovanmal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jovanmal/32/17330_2.png) [@jovanmal](https://discuss.elastic.co/u/jovanmal)\
**Post date:** [May 16, 2017, 6:06am UTC](https://discuss.elastic.co/t/head-plugin-unable-to-connect-to-elasticsearch-5-3-cluster-health-not-connected/83327/4 "2017-05-16T06:06:57Z")

</div>

Hi guys,

I resolved this issue by installing x-pack module which now have native support for Elasticsearch, Kibana and Logstash monitoring.

It looks great and fully meets all of my needs. Also, it is working without any issues.

---

<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:** [June 13, 2017, 6:12am UTC](https://discuss.elastic.co/t/head-plugin-unable-to-connect-to-elasticsearch-5-3-cluster-health-not-connected/83327/5 "2017-06-13T06:12:02Z")

</div>

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