# Primary shard is not active Timeout: \[1m\]

**URL:** <https://discuss.elastic.co/t/primary-shard-is-not-active-timeout-1m/253051>\
**Category:** Elasticsearch\
**Created:** [October 22, 2020, 6:16pm UTC](https://discuss.elastic.co/t/primary-shard-is-not-active-timeout-1m/253051 "2020-10-22T18:16:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaraws](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jaraws/32/76397_2.png) [@jaraws](https://discuss.elastic.co/u/jaraws)\
**Post date:** [October 22, 2020, 6:16pm UTC](https://discuss.elastic.co/t/primary-shard-is-not-active-timeout-1m/253051/1 "2020-10-22T18:16:50Z")

</div>

I have got a single node(unix machine) where we have setup ELK 6.8.6. However while sending the logs from logstash to elasticsearch I am getting following exception s repeatedly.

`[2020-10-22T13:59:23,500][INFO][logstash.outputs.elasticsearch] Retrying individual bulk actions that failed or were rejected by the previous bulk request. {:count=>3}`

`[2020-10-22T14:00:29,193][INFO][logstash.outputs.elasticsearch] retrying failed action with response code: 503 ({"type"=>"unavailable_shards_exception", "reason"=>"[test][3] primary shard is not active Timeout: [1m], request: [BulkShardRequest [[test][3]] containing [index {[test][doc][34JRHCJDJSJEDK], source[{\"@version\":\"1\",\"@timestamp\":\"2020-10-22T13:07:44.066Z\",\"messa`

What could be the possible root cause of this error ? I got other reference of the same error here but they are not related to 503 error in logs.

Thanks

---

<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:** [November 19, 2020, 6:16pm UTC](https://discuss.elastic.co/t/primary-shard-is-not-active-timeout-1m/253051/2 "2020-11-19T18:16:55Z")

</div>

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