- has installed elasticsearch, version 6.2.4, and started normally
- has installed kibana, version 6.2.4 and started normally
- x-pack version is installed according to the official method, 6.2.4
- elasticsearch and kibana start up normally
however, due to the installation of the x-pack plug-in, login needs to be verified. Using the default account password that is said online, elastic,changeme cannot log in to elasticsearch
use x-pack "s password setting tool to set the password, and report the following error
D:\elasticsearch\elasticsearch-master-6.2.4\bin\x-pack>setup-passwords.bat interactive
Initiating the setup of passwords for reserved users elastic,kibana,logstash_system.
You will be prompted to enter passwords as the process progresses.
Please confirm that you would like to continue [y/N]y
Enter password for [elastic]:
Reenter password for [elastic]:
Enter password for [kibana]:
Reenter password for [kibana]:
Enter password for [logstash_system]:
Reenter password for [logstash_system]:
Passwords do not match.
Try again.
Enter password for [logstash_system]:
Reenter password for [logstash_system]:
Connection failure to: http://127.0.0.1:9200/_xpack/security/user/kibana/_password?pretty failed: Read timed out
ERROR: Failed to set password for user [kibana].
how to solve this problem? previously, it is not possible to set the password through the auto method, nor by setting the password manually.
all reported this error!