0
点赞
收藏
分享

微信扫一扫

全球IP归属地查询-IP地址查询-IP城市查询-IP地址归属地-IP地址解析-IP位置查询-IP地址查询API接口

背景:elasticsearch单个node节点写入数据-CSDN博客

需要设置密码才能作为外部调用,不设置我不会用。设置方法见上一篇。

设置密码出现如下问题:

Unexpected response code [503] from calling PUT http://172.19.0.1:9200/_security/user/apm_system/_password?pretty

Cause: Cluster state has not been recovered yet, cannot write to the [null] index

当你在 Elasticsearch 中启用安全功能并尝试设置内置用户的密码时,如果遇到 `503 Service Unavailable` 错误,并且错误信息提示“Cluster state has not been recovered yet”,这通常意味着 Elasticsearch 集群尚未完全启动或恢复。

### 可能的原因和解决方法

1. **集群未完全启动**
   - Elasticsearch 集群可能还在启动过程中,尚未准备好接受请求。
   - **解决方法**:等待一段时间,确保 Elasticsearch 集群完

举报

相关推荐

0 条评论