# What causes "no route host" error while trying to Reindex from a remote cluster?

**URL:** <https://discuss.elastic.co/t/what-causes-no-route-host-error-while-trying-to-reindex-from-a-remote-cluster/239652>\
**Category:** Elasticsearch\
**Created:** [July 2, 2020, 2:15pm UTC](https://discuss.elastic.co/t/what-causes-no-route-host-error-while-trying-to-reindex-from-a-remote-cluster/239652 "2020-07-02T14:15:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yotam\_Levy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yotam_levy/32/52198_2.png) [@Yotam\_Levy](https://discuss.elastic.co/u/Yotam_Levy)\
**Post date:** [July 2, 2020, 2:15pm UTC](https://discuss.elastic.co/t/what-causes-no-route-host-error-while-trying-to-reindex-from-a-remote-cluster/239652/1 "2020-07-02T14:15:11Z")

</div>

I'm trying to do a \_reindex API request from cluster A to cluster B,  
and I noticed some times I an error response that says: "no route host".

this gets solved by restarting my cluster's es client nodes, then re-doing the same \_reindex request  
works just fine.

the problem is that over time this problem will re-occur and I can't seem to put my finger on why is that happening?

here is an example of how the response looks like:

```
taskResult={"completed":true,"task":{"node":"jLPiI9xmRsGbiCksj9L4hg","id":3300092,"type":"transport","action":"indices:data/write/reindex","status":{"total":0,"updated":0,"created":0,"deleted":0,"batches":0,"version_conflicts":0,"noops":0,"retries":{"bulk":0,"search":0},"throttled_millis":0,"requests_per_second":-1.0,"throttled_until_millis":0},"description":"reindex from [host=es-32.internal.logz.io port=9200 query={\n \"match_all\" : {\n \"boost\" : 1.0\n }\n}][logz-abc-200630_v89] to [logz-abc-200630_v89]","start_time_in_millis":1593540017276,"running_time_in_nanos":3001171509,"cancellable":true,"headers":{}},"error":{"type":"no_route_to_host_exception","reason":"No route to host"}}, sourceEsConfigId=es-32, sourceIndex=logz-abc-200630_v89, targetEs-34, targetIndex=logz-abc-200630_v89, errorMsg=null
```

---

<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:** [July 30, 2020, 2:15pm UTC](https://discuss.elastic.co/t/what-causes-no-route-host-error-while-trying-to-reindex-from-a-remote-cluster/239652/2 "2020-07-30T14:15:18Z")

</div>

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