I installed xpack on an elasticsearch instance, and now the output from any curl is:
{
"error" : {
"root_cause" : [
{
"type" : "security_exception",
"reason" : "missing authentication token for REST request [/?pretty]",
"header" : {
"WWW-Authenticate" : "Basic realm="security" charset="UTF-8""
}
}
],
"type" : "security_exception",
"reason" : "missing authentication token for REST request [/?pretty]",
"header" : {
"WWW-Authenticate" : "Basic realm="security" charset="UTF-8""
}
},
"status" : 401
}
I understand this has to do with xpack security, but xpack.security.enabled is set to false in the elasticsearch.yml file. I have restarted the cluster and the issue persists. Any help would be appreciated.