# Elasticsearch cross cluster does not work as expected

**URL:** https://discuss.elastic.co/t/elasticsearch-cross-cluster-does-not-work-as-expected/129201
**Category:** Elasticsearch
**Created:** [April 24, 2018, 3:34am UTC](https://discuss.elastic.co/t/elasticsearch-cross-cluster-does-not-work-as-expected/129201 "2018-04-24T03:34:59Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![asatsi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/asatsi/32/28417_2.png) [@asatsi](https://discuss.elastic.co/u/asatsi)
#### Post date: [April 24, 2018, 3:34am UTC](https://discuss.elastic.co/t/elasticsearch-cross-cluster-does-not-work-as-expected/129201/1 "2018-04-24T03:34:59Z")

</div>

Hello,

I have two ES clusters of significant sizes of 4 master nodes per cluster. I have another cluster which is configured as cross between the two clusters. Everything works fine when the ES instances are started afresh. However after sometime my second cluster stops showing results from when queried via the cross cluster. Sometimes it works and quite a few times I get the below error:

$ curl -v -XGET [http://10.42.97.15:9400/\_remote/info?pretty](http://10.42.97.15:9400/_remote/info?pretty)

- About to connect() to 10.42.97.15 port 9400 (#0)
- Trying 10.42.97.15...
- Connected to 10.42.97.15 (10.42.97.15) port 9400 (#0)

> GET /\_remote/info?pretty HTTP/1.1  
> User-Agent: curl/7.29.0  
> Host: 10.42.97.15:9400  
> Accept: _/_

\< HTTP/1.1 500 Internal Server Error  
\< content-type: application/json; charset=UTF-8  
\< content-length: 360  
\<  
{  
"error" : {  
"root\_cause" : [  
{  
"type" : "node\_disconnected\_exception",  
"reason" : "[node-es1-1][10.54.181.15:9300][cluster:monitor/nodes/info] disconnected"  
}  
],  
"type" : "node\_disconnected\_exception",  
"reason" : "[node-es1-1][10.54.181.15:9300][cluster:monitor/nodes/info] disconnected"  
},  
"status" : 500  
}

- Connection #0 to host 10.42.97.15 left intact

The instance is running perfectly fine and I can do a telnet 10.54.181.15 9300 , which shows connected from the same machine I ran the curl command from.

$ telnet 10.54.181.15 9300  
Trying 10.54.181.15...  
Connected to 10.54.181.15.  
Escape character is '^]'.

Is this a bug?

---

<div class="post-metadata">

### Author: ![asatsi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/asatsi/32/28417_2.png) [@asatsi](https://discuss.elastic.co/u/asatsi)
#### Post date: [May 15, 2018, 1:01pm UTC](https://discuss.elastic.co/t/elasticsearch-cross-cluster-does-not-work-as-expected/129201/2 "2018-05-15T13:01:32Z")

</div>

I have also opened an issue for this at: [https://github.com/elastic/elasticsearch/issues/30247](https://github.com/elastic/elasticsearch/issues/30247)

---

<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: [June 12, 2018, 1:01pm UTC](https://discuss.elastic.co/t/elasticsearch-cross-cluster-does-not-work-as-expected/129201/3 "2018-06-12T13:01:36Z")

</div>

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