# Connection timed out when remote cluster re-indexing

**URL:** <https://discuss.elastic.co/t/connection-timed-out-when-remote-cluster-re-indexing/300694>\
**Category:** Elasticsearch\
**Created:** [March 25, 2022, 11:44am UTC](https://discuss.elastic.co/t/connection-timed-out-when-remote-cluster-re-indexing/300694 "2022-03-25T11:44:37Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Prashant\_Kamble](https://avatars.discourse-cdn.com/v4/letter/p/df705f/32.png) [@Prashant\_Kamble](https://discuss.elastic.co/u/Prashant_Kamble)\
**Post date:** [March 28, 2022, 6:48am UTC](https://discuss.elastic.co/t/connection-timed-out-when-remote-cluster-re-indexing/300694/9 "2022-03-28T06:48:21Z")

</div>

Here is request/response something like

**Request** :

```auto
 curl -X POST "https://vpc-new-cluster-url:443/_reindex?wait_for_completion=false&pretty" -H 'Content-Type: application/json' -d'
{
  "source": {
    "remote": {
      "host": "https://vpc-old-cluster-url:443"
    },
    "index": index0"
  },
  "dest": {
    "index": "index000001"
  }
}
'

```

**Response** {  
"task" : "taskid2321"  
}

**Task Details** using /\_tasks/{taskid}

```auto
{
  "completed" : true,
  "task" : {
    "node" : "...",
    "id" : 3232,
    "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" : "...",
    "start_time_in_millis" : 1648449610121,
    "running_time_in_nanos" : 5070569,
    "cancellable" : true,
    "headers" : { }
  },
  "error" : {
    "type" : "null_pointer_exception",
    "reason" : null
  }
}

```

---

_[View the full topic](https://discuss.elastic.co/t/connection-timed-out-when-remote-cluster-re-indexing/300694)._
