I installed elasticsearch, kibana and x-pack all with version 6.2.2. I followed the steps described in the official documentation at Install X-pack on Elasticsearch
There were no errors along the way.
The problem came when I tried to set up passwords for the built in users like elastic and kibana. When I ran the "setup-passwords interactive" command, there was a message:
Connection failure to: http://10.1.2.3:9200/_xpack/security/user/kibana/_password?pretty
failed: Read timed out ERROR: Failed to set password for user kibana
The same error message appeared when I ran the "setup-passwords auto" command.
I am not sure if there is even the elastic and kibana users created because when I ran the command:
curl -u my_admin -XGET http://10.1.2.3:9200/_xpack/security/users
the output was an empty json. (my_admin is a user which was created using the users batch file in the bin\x-pack folder. This user has a superuser role)
Currently, I am not able to log into Kibana as well. The login page is disabled with the message "Login is currently disabled. Administrators should consult the Kibana logs for more details".
What should I do to correct this users problem?