# Reindex From Remote : TransportException

**URL:** <https://discuss.elastic.co/t/reindex-from-remote-transportexception/100833>\
**Category:** Elasticsearch\
**Created:** [September 18, 2017, 7:52am UTC](https://discuss.elastic.co/t/reindex-from-remote-transportexception/100833 "2017-09-18T07:52:01Z")\
**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 18, 2017, 7:52am UTC](https://discuss.elastic.co/t/reindex-from-remote-transportexception/100833/1 "2017-09-18T07:52:01Z")

</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 'localhost:9200/\_reindex?pretty' -H 'Content-Type: application/json' -d'  
{  
"source": {  
"remote": {  
"host": "[http://host](http://host):port"  
},  
"index": "index-name"  
},  
"dest": {  
"index": "index-name"  
}  
}  
'

I get this error:  
{  
"error": {  
"root\_cause": [  
{  
"type": "remote\_transport\_exception",  
"reason": "[a3-escluster-prod-1d-4e84a6ba][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 16, 2017, 7:52am UTC](https://discuss.elastic.co/t/reindex-from-remote-transportexception/100833/2 "2017-10-16T07:52:39Z")

</div>

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