gpt4 book ai didi

elasticsearch - elasticsearch默认凭证

转载 作者:行者123 更新时间:2023-12-03 01:20:24 39 4
gpt4 key购买 nike

我发现ES的默认凭据是elastic:changeme,但对我不起作用!我想念什么吗?
错误 :

{
"error": {
"root_cause": [
{
"type": "security_exception",
"reason": "failed to authenticate user [elastic]",
"header": {
"WWW-Authenticate": "Basic realm=\"security\" charset=\"UTF-8\""
}
}
],
"type": "security_exception",
"reason": "failed to authenticate user [elastic]",
"header": {
"WWW-Authenticate": "Basic realm=\"security\" charset=\"UTF-8\""
}
},
"status": 401
}

最佳答案

我找到了解决方案:

只需在cmd上运行命令bin / elasticsearch-setup-passwords auto -u“http://localhost:9200”,密码就会重新生成并打印在控制台中。

关于elasticsearch - elasticsearch默认凭证,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60448082/

39 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com