# After 1.7 to 5.5.1 Unable to authenticate user for REST request

**URL:** https://discuss.elastic.co/t/after-1-7-to-5-5-1-unable-to-authenticate-user-for-rest-request/96510
**Category:** Elasticsearch
**Created:** [August 9, 2017, 8:52pm UTC](https://discuss.elastic.co/t/after-1-7-to-5-5-1-unable-to-authenticate-user-for-rest-request/96510 "2017-08-09T20:52:23Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![JJerpseth](https://avatars.discourse-cdn.com/v4/letter/j/b487fb/32.png) [@JJerpseth](https://discuss.elastic.co/u/JJerpseth)
#### Post date: [August 9, 2017, 8:52pm UTC](https://discuss.elastic.co/t/after-1-7-to-5-5-1-unable-to-authenticate-user-for-rest-request/96510/1 "2017-08-09T20:52:23Z")

</div>

I am upgrading our nodes from 1.7 to 5.5.1.

I split off two master/data nodes and one index node -- I have elasticsearch running on all three and kibana running on one node.

Even the simplest request is refused

curl -XGET '[http://localhost:9200/cluster/health](http://localhost:9200/cluster/health)'

curl -XGET '[http://localhost:9200/cluster/health](http://localhost:9200/cluster/health)'  
{"error":{"root\_cause":[{"type":"security\_exception","reason":"missing authentication token for REST request [/cluster/health]","header":{"WWW-Authenticate":"Basic realm="security" charset="UTF-8""}}],"type":"security\_exception","reason":"missing authentication token for REST request [/cluster/health]","header":{"WWW-Authenticate":"Basic realm="security" charset="UTF-8""}},"status":401}

Do I need to install and configure x-pack for the authentication to work?

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [August 9, 2017, 9:07pm UTC](https://discuss.elastic.co/t/after-1-7-to-5-5-1-unable-to-authenticate-user-for-rest-request/96510/2 "2017-08-09T21:07:41Z")

</div>

Which plugins did you install already?

This message seems to indicate that you installed x-pack.

---

<div class="post-metadata">

### Author: ![JJerpseth](https://avatars.discourse-cdn.com/v4/letter/j/b487fb/32.png) [@JJerpseth](https://discuss.elastic.co/u/JJerpseth)
#### Post date: [August 9, 2017, 10:32pm UTC](https://discuss.elastic.co/t/after-1-7-to-5-5-1-unable-to-authenticate-user-for-rest-request/96510/3 "2017-08-09T22:32:37Z")

</div>

Thanks --that was it -- I did not recall installing x-pack and it was only installed on elasticsearch not kibana.  
Once I installed it on kibana I could disable the security and proceed.

I'll enable security after I complete the upgrade.

---

<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 6, 2017, 10:32pm UTC](https://discuss.elastic.co/t/after-1-7-to-5-5-1-unable-to-authenticate-user-for-rest-request/96510/4 "2017-09-06T22:32:39Z")

</div>

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