# Unable to authenticate elastic user when DR node is isolated from the elastic cluster

**URL:** <https://discuss.elastic.co/t/unable-to-authenticate-elastic-user-when-dr-node-is-isolated-from-the-elastic-cluster/243174>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [July 30, 2020, 7:20am UTC](https://discuss.elastic.co/t/unable-to-authenticate-elastic-user-when-dr-node-is-isolated-from-the-elastic-cluster/243174 "2020-07-30T07:20:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hiruni.insyncit.net](https://avatars.discourse-cdn.com/v4/letter/h/c68b51/32.png) [@hiruni.insyncit.net](https://discuss.elastic.co/u/hiruni.insyncit.net)\
**Post date:** [July 30, 2020, 7:20am UTC](https://discuss.elastic.co/t/unable-to-authenticate-elastic-user-when-dr-node-is-isolated-from-the-elastic-cluster/243174/1 "2020-07-30T07:20:07Z")

</div>

The elastic cluster consists of 5 primary nodes and 1 DR node.  
I was unable to authenticate the elastic cluster using elastic user(basic authentication).  
Also, I tried to curl -XGET -u elastic:password [http://localhost:9200/\_cluster/health?pretty](http://localhost:9200/_cluster/health?pretty). But this also not worked in this case. After checking the node connectivity to the cluster, I realized the DR node has isolated form the cluster.

I want to know what is the reason to unable to authenticate elastic user when DR node is isolated from the elastic cluster.  
Is there a way to maintain the elastic cluster in stable conditions in this scenario also.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [July 30, 2020, 7:44am UTC](https://discuss.elastic.co/t/unable-to-authenticate-elastic-user-when-dr-node-is-isolated-from-the-elastic-cluster/243174/2 "2020-07-30T07:44:32Z")

</div>

A single node will never work properly if separated from the rest of the cluster so trying to handle DR this way is IMHO not going to work.

I would recommend instead setting up two separate clusters and either use CCR or index to them in parallel.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 27, 2020, 7:44am UTC](https://discuss.elastic.co/t/unable-to-authenticate-elastic-user-when-dr-node-is-isolated-from-the-elastic-cluster/243174/3 "2020-08-27T07:44:35Z")

</div>

Closed on August 27, 2020, 7:44am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
