Kibana unable to authenticate

Hey Tim,

Thanks for showing me that thread. I am still have issues trying to reset the kibana password however. I tried to restart my cluster based on this doc I found:

I'm not sure if I did something wrong here, when I try to do a synced-flush, I get these results:

".kibana-event-log-7.9.2-000001" : {
"total" : 1,
"successful" : 0,
"failed" : 1,
"failures" : [
{
"shard" : 0,
"reason" : "no active shards"
}
]
},
"wazuh-monitoring-3.x-2020.10.10" : {
"total" : 2,
"successful" : 0,
"failed" : 2,
"failures" : [
{
"shard" : 0,
"reason" : "no active shards"
},
{
"shard" : 1,
"reason" : "no active shards"
}
]
},
".kibana-event-log-7.9.2-000004" : {
"total" : 1,
"successful" : 1,
"failed" : 0
},
".kibana-event-log-7.9.2-000002" : {
"total" : 1,
"successful" : 0,
"failed" : 1,
"failures" : [
{
"shard" : 0,
"reason" : "no active shards"
}
]
},
".kibana-event-log-7.9.2-000003" : {
"total" : 1,
"successful" : 0,
"failed" : 1,
"failures" : [
{
"shard" : 0,
"reason" : "no active shards"
}
]
},

I follow the instructions from there and I am unable to reset the passwords per the instructions:

I created my own super user and tried to rest the elastic and kibana passwords via this curl command:

curl -u my_admin -XPUT 'http://localhost:9200/_xpack/security/user/elastic/_password?pretty' -H 'Content-Type: application/json' -d'
{
  "password" : "new_password"
}
' 

This returns the following results:

{
"error" : {
"root_cause" : [
{
"type" : "unavailable_shards_exception",
"reason" : "[.security-7][0] [1] shardIt, [0] active : Timeout waiting for [1m], request: indices:data/write/update"
}
],
"type" : "unavailable_shards_exception",
"reason" : "[.security-7][0] [1] shardIt, [0] active : Timeout waiting for [1m], request: indices:data/write/update"
},
"status" : 503
}

I even attempted to try to set a bootstrap password for elasticsearch and no luck there being able to authenticate:

bin/elasticsearch-keystore add "bootstrap.password"

{
"error" : {
"root_cause" : [
{
"type" : "security_exception",
"reason" : "unable to authenticate user [elastic] for REST request [/_xpack/security/_authenticate?pretty]",
"header" : {
"WWW-Authenticate" : "Basic realm="security" charset="UTF-8""
}
}
],
"type" : "security_exception",
"reason" : "unable to authenticate user [elastic] for REST request [/_xpack/security/_authenticate?pretty]",
"header" : {
"WWW-Authenticate" : "Basic realm="security" charset="UTF-8""
}
},
"status" : 401
}

Any guidance here?

Thanks