After 1.7 to 5.5.1 Unable to authenticate user for REST request


(James Jerpseth) #1

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'

curl -XGET '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?


(David Pilato) #2

Which plugins did you install already?

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


(James Jerpseth) #3

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.


(system) #4

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