# Reindex from Remote 1.7 to 5.5 Transport Exception

**URL:** <https://discuss.elastic.co/t/reindex-from-remote-1-7-to-5-5-transport-exception/100980>\
**Category:** Elasticsearch\
**Created:** [September 19, 2017, 7:58am UTC](https://discuss.elastic.co/t/reindex-from-remote-1-7-to-5-5-transport-exception/100980 "2017-09-19T07:58:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Faizan\_Sofi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/faizan_sofi/32/21166_2.png) [@Faizan\_Sofi](https://discuss.elastic.co/u/Faizan_Sofi)\
**Post date:** [September 19, 2017, 7:58am UTC](https://discuss.elastic.co/t/reindex-from-remote-1-7-to-5-5-transport-exception/100980/1 "2017-09-19T07:58:09Z")

</div>

I have to transfer one index from an ElasticSearch 1.7 cluster to ElasticSearch 5.x .I found the Reindex from Remote API , whitelisted that in the elasticsearch.yml file .

```
curl -XPOST 'host:port/_reindex?pretty' -H 'Content-Type: application/json' -d'
{
"source": {
"remote": {
"host": "http://host:port"
},
"index": "index-name"
},
"dest": {
"index": "index-name"
}
}
'

```

I get this error:

```
       "error": {
    "root_cause": [
    {
    "type": "remote_transport_exception",
    "reason": "[host][host:port][indices:admin/create]"
    }
    ],
    "type": "string_index_out_of_bounds_exception",
    "reason": "String index out of range: 0"
    },
    "status": 500
    }

```

Any help would be appreciated

---

<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:** [October 17, 2017, 7:58am UTC](https://discuss.elastic.co/t/reindex-from-remote-1-7-to-5-5-transport-exception/100980/2 "2017-10-17T07:58:16Z")

</div>

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