# Failed to process cluster event (index-aliases) within 30s

**URL:** <https://discuss.elastic.co/t/failed-to-process-cluster-event-index-aliases-within-30s/309504>\
**Category:** Elasticsearch\
**Created:** [July 13, 2022, 8:09am UTC](https://discuss.elastic.co/t/failed-to-process-cluster-event-index-aliases-within-30s/309504 "2022-07-13T08:09:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anca\_Muresan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anca_muresan/32/98119_2.png) [@Anca\_Muresan](https://discuss.elastic.co/u/Anca_Muresan)\
**Post date:** [July 13, 2022, 8:09am UTC](https://discuss.elastic.co/t/failed-to-process-cluster-event-index-aliases-within-30s/309504/1 "2022-07-13T08:09:54Z")

</div>

Hello everyone ,

I get this error very frequently

`Elasticsearch\Common\Exceptions\ServerErrorResponseException: {"error":{"root_cause":[{"type":"process_cluster_event_timeout_exception","reason":"failed to process cluster event (index-aliases) within 30s"}],"type":"process_cluster_event_timeout_exception","reason":"failed to process cluster event (index-aliases) within 30s"},"status":503} in /var/www/html/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:682`

I use elastic 6.7.2 and have the following cluster details :

```auto
{
  "cluster_name" : "system-reports-data",
  "status" : "green",
  "timed_out" : false,
  "number_of_nodes" : 9,
  "number_of_data_nodes" : 6,
  "active_primary_shards" : 161,
  "active_shards" : 322,
  "relocating_shards" : 0,
  "initializing_shards" : 0,
  "unassigned_shards" : 0,
  "delayed_unassigned_shards" : 0,
  "number_of_pending_tasks" : 116,
  "number_of_in_flight_fetch" : 0,
  "task_max_waiting_in_queue_millis" : 739564,
  "active_shards_percent_as_number" : 100.0
}

```

From what I've read, the master cannot update cluster state within 30s interval. Please correct me if i am wrong.  
Does anybody have an idea how to fix this problem or at least telling me if something does not look good with my cluster? Is increasing master timeout a good solution?

---

<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:** [August 10, 2022, 8:10am UTC](https://discuss.elastic.co/t/failed-to-process-cluster-event-index-aliases-within-30s/309504/2 "2022-08-10T08:10:24Z")

</div>

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