# Error loading data - Request to Elasticsearch failed

**URL:** <https://discuss.elastic.co/t/error-loading-data-request-to-elasticsearch-failed/217629>\
**Category:** Elasticsearch\
**Created:** [February 3, 2020, 1:49pm UTC](https://discuss.elastic.co/t/error-loading-data-request-to-elasticsearch-failed/217629 "2020-02-03T13:49:37Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gelinski](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gelinski/32/142412_2.png) [@Gelinski](https://discuss.elastic.co/u/Gelinski)\
**Post date:** [February 3, 2020, 1:49pm UTC](https://discuss.elastic.co/t/error-loading-data-request-to-elasticsearch-failed/217629/1 "2020-02-03T13:49:38Z")

</div>

Hi,

I need help to understand what is causing this error in my environment.

Tks!

Error loading data

Request to Elasticsearch failed: {"error":{}}

![Error](https://us1.discourse-cdn.com/elastic/original/3X/6/4/6463d5f7e33599437c7bde5c958352b0bd2b5a70.png)  
Error: Request to Elasticsearch failed: {"error":{}}  
at [http://elk-datalake.redecorp.br/bundles/commons.bundle.js:3:4897411](http://elk-datalake.redecorp.br/bundles/commons.bundle.js:3:4897411)  
at Function.\_module.service.Promise.try ([http://elk-datalake.redecorp.br/bundles/commons.bundle.js:3:2501410](http://elk-datalake.redecorp.br/bundles/commons.bundle.js:3:2501410))  
at [http://elk-datalake.redecorp.br/bundles/commons.bundle.js:3:2500784](http://elk-datalake.redecorp.br/bundles/commons.bundle.js:3:2500784)  
at Array.map ()  
at Function.\_module.service.Promise.map ([http://elk-datalake.redecorp.br/bundles/commons.bundle.js:3:2500741](http://elk-datalake.redecorp.br/bundles/commons.bundle.js:3:2500741))  
at callResponseHandlers ([http://elk-datalake.redecorp.br/bundles/commons.bundle.js:3:4895925](http://elk-datalake.redecorp.br/bundles/commons.bundle.js:3:4895925))  
at [http://elk-datalake.redecorp.br/bundles/commons.bundle.js:3:4878286](http://elk-datalake.redecorp.br/bundles/commons.bundle.js:3:4878286)  
at processQueue ([http://elk-datalake.redecorp.br/built\_assets/dlls/vendors.bundle.dll.js:435:204190](http://elk-datalake.redecorp.br/built_assets/dlls/vendors.bundle.dll.js:435:204190))  
at [http://elk-datalake.redecorp.br/built\_assets/dlls/vendors.bundle.dll.js:435:205154](http://elk-datalake.redecorp.br/built_assets/dlls/vendors.bundle.dll.js:435:205154)  
at Scope.$digest ([http://elk-datalake.redecorp.br/built\_assets/dlls/vendors.bundle.dll.js:435:215159](http://elk-datalake.redecorp.br/built_assets/dlls/vendors.bundle.dll.js:435:215159))

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 3, 2020, 2:04pm UTC](https://discuss.elastic.co/t/error-loading-data-request-to-elasticsearch-failed/217629/2 "2020-02-03T14:04:54Z")

</div>

What application is it?

---

<div class="post-metadata">

**Author:** ![Gelinski](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gelinski/32/142412_2.png) [@Gelinski](https://discuss.elastic.co/u/Gelinski)\
**Post date:** [February 5, 2020, 1:36pm UTC](https://discuss.elastic.co/t/error-loading-data-request-to-elasticsearch-failed/217629/3 "2020-02-05T13:36:43Z")

</div>

The error occurs in Kibana (when i search any information).  
But, probably the issue is in Elasticsearch.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 5, 2020, 2:20pm UTC](https://discuss.elastic.co/t/error-loading-data-request-to-elasticsearch-failed/217629/4 "2020-02-05T14:20:45Z")

</div>

What are elasticsearch logs?

---

<div class="post-metadata">

**Author:** ![Gelinski](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gelinski/32/142412_2.png) [@Gelinski](https://discuss.elastic.co/u/Gelinski)\
**Post date:** [February 5, 2020, 2:47pm UTC](https://discuss.elastic.co/t/error-loading-data-request-to-elasticsearch-failed/217629/5 "2020-02-05T14:47:29Z")

</div>

Elasticsearch logs at the issue moment:

elkcorp\_elk05.1.92dhe582u12v@brtlvlts3651sl | {"type": "server", "timestamp": "2020-02-05T14:45:06,640Z", "level": "INFO", "component": "o.e.m.j.JvmGcMonitorService", "cluster.name": "elkcorp-cluster", "node.name": "elk05", "message": "[gc][174473] overhead, spent [417ms] collecting in the last [1s]", "cluster.uuid": "kl8a8ybeS2aZrumDSYPTkA", "node.id": "HrZBilUySWKtnBuWRX\_DVA" }

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 5, 2020, 3:18pm UTC](https://discuss.elastic.co/t/error-loading-data-request-to-elasticsearch-failed/217629/6 "2020-02-05T15:18:03Z")

</div>

Is that all the logs you have? Could you share the full logs?

Please don't post unformatted code, logs, or configuration as it's very hard to read.

Instead, paste the text and format it with \</\> icon or pairs of triple backticks (```), and check the preview window to make sure it's properly formatted before posting it.

---

<div class="post-metadata">

**Author:** ![Gelinski](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gelinski/32/142412_2.png) [@Gelinski](https://discuss.elastic.co/u/Gelinski)\
**Post date:** [February 21, 2020, 9:02pm UTC](https://discuss.elastic.co/t/error-loading-data-request-to-elasticsearch-failed/217629/7 "2020-02-21T21:02:43Z")

</div>

I've changed the topology of my environment and aparently it solved the issue.

From:  
Kibana -\> Haproxy (balancer) -\> Elasticsearch (nodes)

To:  
Kibana -\> Elasticsearch (nodes)

---

<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 20, 2020, 9:02pm UTC](https://discuss.elastic.co/t/error-loading-data-request-to-elasticsearch-failed/217629/8 "2020-03-20T21:02:44Z")

</div>

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