Couchbase Elasticsearch Connector version 4.2.0 getting error of cluster_block_exception

Hello All,

I am trying to use Couchbase Elasticsearch Connector version 4.2.0 for connection between couchbase and elasticsearch

Elasticsearch version 6.8.3
Couchbase Server version 6.0.1

I have set path for CBSE as well

when i hit commnad cbse in terminal it starts sync all my data but it give error as follows

status=FORBIDDEN message=ElasticsearchException[Elasticsearch exception [type=cluster_block_exception, reason=blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];]]

As i tried following options

curl -XPUT -H “Content-Type: application/json” http://localhost:9200/_all/_settings -d ‘{“index.blocks.read_only_allow_delete”: null}’
curl -XPUT -H “Content-Type: application/json” http://localhost:9200/_all/_settings -d ‘{“index.blocks.read_only_allow_delete”: true}’

but still getting same error

Can any one help?

Hi Nitin,

This is apparently how Elasticsearch behaves when it believes it is running out of disk space. Here’s a Stack Overflow post with more discussion and some suggested fixes.

Thanks,
David