Unable to GET endpoint


(Darnell Martin) #1

I am having an issue running the command curl -XGET -k -u username:password https://localhost:9200/_cat/health on Elasticsearch 6.2.2 with X-Pack installed. It is returning a 500 error whenever the xpack.security.audit.enabled option is set to 'true'. However other endpoints such as "https://localhost:9200/_cat/nodes" work fine when the option is set to true.

Output from running command:

{"error":{"root_cause":[{"type":"null_pointer_exception","reason":null}],"type":"null_pointer_exception","reason":null},"status":500}

Any help would be greatly appreciated.


(David Pilato) #2

I moved this to #x-pack.
Do you have a stacktrace in elasticsearch logs?
If so could you share it?


(Darnell Martin) #3

Thanks for your response, I do have a stack trace but it seems that the WARN message is too long to be posted here.


(Tim Vernum) #4

I'm afraid that you've run into a known bug in 6.2.
It will be fixed in the next release.


(Darnell Martin) #5

Thanks for your time!


(system) #6

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