Failed to authenticate user [elastic] after restart service

I have installed x-pack 6.2 , and changed all user passwords with below command

bin/x-pack/setup-passwords interactive

then updated user and password in kibana.yml and elasticsearch.yml after some time i restart docker container , then new passwords are not working , i got error message

Failed to authenticate user 'elastic' against http://172.17.0.2:9200/_xpack/security/_authenticate?pretty

Where did you get that error message?
That looks like an error message from setup-passwords. Are you attempting to run that command a second time? That won't work, it can only be used once.

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