# Elasticsearch request failed: 28 - Operation timed out after 1000 milliseconds with 0 bytes received

**URL:** <https://discuss.elastic.co/t/elasticsearch-request-failed-28-operation-timed-out-after-1000-milliseconds-with-0-bytes-received/294284>\
**Category:** Elasticsearch\
**Created:** [January 13, 2022, 1:57pm UTC](https://discuss.elastic.co/t/elasticsearch-request-failed-28-operation-timed-out-after-1000-milliseconds-with-0-bytes-received/294284 "2022-01-13T13:57:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zeleniy](https://avatars.discourse-cdn.com/v4/letter/z/e19adc/32.png) [@zeleniy](https://discuss.elastic.co/u/zeleniy)\
**Post date:** [January 13, 2022, 1:57pm UTC](https://discuss.elastic.co/t/elasticsearch-request-failed-28-operation-timed-out-after-1000-milliseconds-with-0-bytes-received/294284/1 "2022-01-13T13:57:58Z")

</div>

I have PHP web app which interacts with Elasticsearch. It worked well but recently i got error with next text:

```auto
2022-01-13 16:43:59 [95.161.173.18][4669][1tjhk618ubj7tjniq1utjpbntj][error][application] delete elastic
2022-01-13 16:44:00 [95.161.173.18][4669][1tjhk618ubj7tjniq1utjpbntj][error][application] Elasticsearch request failed: 28 - Operation timed out after 1000 milliseconds with 0 bytes received
2022-01-13 16:44:00 [95.161.173.18][4669][1tjhk618ubj7tjniq1utjpbntj][error][application] delete elastic
2022-01-13 16:44:02 [95.161.173.18][4669][1tjhk618ubj7tjniq1utjpbntj][error][application] Elasticsearch request failed: 28 - Operation timed out after 1001 milliseconds with 0 bytes received
2022-01-13 16:44:02 [95.161.173.18][4669][1tjhk618ubj7tjniq1utjpbntj][error][application] delete elastic
...

```

Meanwhile i see next in /var/log/Elasticsearch/elasticsearch\_index\_indexing\_slowlog.log:

```auto
[2022-01-13T16:43:59,936][WARN][index.indexing.slowlog.index] [5R0q8j_] [new_rid_elastic/0xTeeKV4T3myNSjWiL0oxQ] took[1.2ms], took_millis[1], type[rid-elastic], id[NXSuU34B855L8Ty5UGi_], routing[], source[{}]
[2022-01-13T16:44:01,542][WARN][index.indexing.slowlog.index] [5R0q8j_] [new_rid_elastic/0xTeeKV4T3myNSjWiL0oxQ] took[2.2ms], took_millis[2], type[rid-elastic], id[540757], routing[], source[{}]
...

```

So what's going on? How to fix that time out related error and why it have occurred now?

---

<div class="post-metadata">

**Author:** ![wsouza](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wsouza/32/92547_2.png) [@wsouza](https://discuss.elastic.co/u/wsouza)\
**Post date:** [February 9, 2022, 1:31pm UTC](https://discuss.elastic.co/t/elasticsearch-request-failed-28-operation-timed-out-after-1000-milliseconds-with-0-bytes-received/294284/2 "2022-02-09T13:31:48Z")

</div>

HI @zeleniy !  
Have you checked if there is any security policy applied to the server? Maybe active iptables rules?  
Did you try to make a request via cURL?  
If the connection to your server has SSL/TLS, it is interesting to see the request form if it is compatible with these protocols.

---

<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:** [March 9, 2022, 1:32pm UTC](https://discuss.elastic.co/t/elasticsearch-request-failed-28-operation-timed-out-after-1000-milliseconds-with-0-bytes-received/294284/3 "2022-03-09T13:32:34Z")

</div>

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