# Elasticsearch Timeout issue (Attempted to send a bulk request to elasticsearch)

**URL:** <https://discuss.elastic.co/t/elasticsearch-timeout-issue-attempted-to-send-a-bulk-request-to-elasticsearch/227315>\
**Category:** Elasticsearch\
**Created:** [April 9, 2020, 12:12pm UTC](https://discuss.elastic.co/t/elasticsearch-timeout-issue-attempted-to-send-a-bulk-request-to-elasticsearch/227315 "2020-04-09T12:12:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Afsal](https://avatars.discourse-cdn.com/v4/letter/a/e47774/32.png) [@Afsal](https://discuss.elastic.co/u/Afsal)\
**Post date:** [April 9, 2020, 12:12pm UTC](https://discuss.elastic.co/t/elasticsearch-timeout-issue-attempted-to-send-a-bulk-request-to-elasticsearch/227315/1 "2020-04-09T12:12:11Z")

</div>

Hi guys,

We are using Elasticsearch and Logstash 6.8.2 and we are facing the below issue intermittent in the logstash logs.

```
[2020-04-05T11:33:06,492][ERROR][logstash.outputs.elasticsearch] Attempted to send a bulk request to elasticsearch' but Elasticsearch appears to be unreachable or down! {:error_message=>"Elasticsearch Unreachable: [https://logstash:xxxxxx@10.71.79.10:9200/][Manticore::SocketTimeout] Read timed out", :class=>"LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError", :will_retry_in_seconds=>2}

```

```auto
[2020-04-04T19:10:29,425][ERROR][logstash.outputs.elasticsearch] Attempted to send a bulk request to elasticsearch' but Elasticsearch appears to be unreachable or down! {:error_message=>"Elasticsearch Unreachable: [https://logstash:xxxxxx@10.71.73.28:9200/][Manticore::SocketTimeout] Read timed out", :class=>"LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError", :will_retry_in_seconds=>2}
[2020-04-04T19:10:29,937][ERROR][logstash.outputs.elasticsearch] Attempted to send a bulk request to elasticsearch' but Elasticsearch appears to be unreachable or down! {:error_message=>"Elasticsearch Unreachable: [https://logstash:xxxxxx@10.71.79.9:9200/][Manticore::SocketTimeout] Read timed out", :class=>"LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError", :will_retry_in_seconds=>2}
[2020-04-04T19:14:32,944][ERROR][logstash.outputs.elasticsearch] Attempted to send a bulk request to elasticsearch' but Elasticsearch appears to be unreachable or down! {:error_message=>"Elasticsearch Unreachable: [https://logstash:xxxxxx@10.71.73.28:9200/][Manticore::SocketTimeout] Read timed out", :class=>"LogStash::Outputs::ElasticSearch::HttpClient::Pool::HostUnreachableError", :will_retry_in_seconds=>2}

```

Could you please explain the scenario in which conditions we can get this error messages Intermittently ?

---

<div class="post-metadata">

**Author:** ![oneoneonepig](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/oneoneonepig/32/66018_2.png) [@oneoneonepig](https://discuss.elastic.co/u/oneoneonepig)\
**Post date:** [April 9, 2020, 3:12pm UTC](https://discuss.elastic.co/t/elasticsearch-timeout-issue-attempted-to-send-a-bulk-request-to-elasticsearch/227315/2 "2020-04-09T15:12:45Z")

</div>

Seems like your Elasticsearch service is not available.

Can you connect to [https://10.71.79.10:9200/](https://10.71.79.10:9200/) or [https://10.71.79.9:9200/](https://10.71.79.9:9200/) or [https://10.71.73.28:9200/](https://10.71.73.28:9200/) using curl command or the browser?

---

<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:** [May 7, 2020, 3:12pm UTC](https://discuss.elastic.co/t/elasticsearch-timeout-issue-attempted-to-send-a-bulk-request-to-elasticsearch/227315/3 "2020-05-07T15:12:55Z")

</div>

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