【发布时间】:2020-01-22 21:21:00
【问题描述】:
我按照以下说明安装Elasticsearch 7.5.2 on windows。我对设置所做的唯一修改是选择基本许可证而不是试用许可证。安装后,我在端口 9200 上向我的 elasticsearch 节点发出了一个 get 请求,我收到以下响应:
{
error: {
root_cause: [
{
type: "security_exception",
reason: "missing authentication credentials for REST request [/]",
header: {
WWW-Authenticate: "Basic realm="security" charset="UTF-8""
}
}
],
type: "security_exception",
reason: "missing authentication credentials for REST request [/]",
header: {
WWW-Authenticate: "Basic realm="security" charset="UTF-8""
}
},
status: 401
}
我已尝试使用凭据 user:elastic 无密码,以及 user:elastic password: changeme 通过基于浏览器的身份验证弹出窗口进行身份验证,如其他弹性论坛所建议的那样,但没有成功。我也通过邮递员尝试了相同的方法,使用基本身份验证。有没有办法简单地关闭身份验证以进行测试?
【问题讨论】:
标签: elasticsearch