The error may be caused by an es error, which can be determined by viewing the system log: elasticsearch exception: type=cluster_block_exception, reason=blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];
The reason for this error is that when the disk space is less than 85%, the default value is 85%, which means that Elasticsearch will not allocate fragments to nodes that use more than 85% of the disk. All the above errors will be reported.
The solution to this error:
Since the es container has already been mapped, there is no need to enter the container and execute the reset all index instructions outside.
curl -XPUT -H “Content-Type: application/json” http://127.0.0.1:9200/_all/_settings -d'{“index.blocks.read_only_allow_delete”: null}’
Read More:
- How to Solve ES error: “illegal_argument_exception”
- How to Solve elasticsearch-7.15.1 operation errors
- How to Solve elasticSearch8.1.2 Install Error in Win10
- ElasticSearch Create Index Error: mapper_parsing_exception Root mapping definition has unsupported parameters
- How to Solve elasticsearch root user start Error
- [Solved] elasticsearch Error: Failed: 1: this action would add [6] total shards, but this cluster currently has [2
- How to Solve creating bean with name ‘mappingjackson2httpmessageconverter’ error when elasticsearch advanced client starts‘
- How to Solve kubelet starts error (k8s Cluster Restarted)
- How to Solve elasticsearch and logstash Install Error
- How to Solve Redis Cluster Build Error
- Springboot integrates redis factory method ‘redisconnectionfactory’ threw exception; nested exception is
- C++ Error: terminating with uncaught exception of type std::out_of_range: vector Abort trap: 6
- How to Solve Docker failed to initialize Error
- How to Solve Redis Cluster Error: (Error) Moved
- ERROR: Exception when publishing, exception message [Exec timed out or was interrupted after 120,009 ms]
- Elasticsearch 6.2.3 version executes aggregation error Fielddata is disabled on text fields by default
- How to Solve Error: Element ‘dependency’ cannot have character [children], because the type’s content type is element-
- How to Solve Springboot Error: Failed to convert value of type
- [Solved] Elasticsearch.service failed after enable elasticsearch security features
- How to Solve TypeError: type numpy.ndarray doesn’t define __round__ method