# SearchError: unknown error

**URL:** <https://discuss.elastic.co/t/searcherror-unknown-error/168389>\
**Category:** Kibana\
**Created:** [February 14, 2019, 10:46am UTC](https://discuss.elastic.co/t/searcherror-unknown-error/168389 "2019-02-14T10:46:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vitodv90](https://avatars.discourse-cdn.com/v4/letter/v/8e8cbc/32.png) [@vitodv90](https://discuss.elastic.co/u/vitodv90)\
**Post date:** [February 14, 2019, 10:46am UTC](https://discuss.elastic.co/t/searcherror-unknown-error/168389/1 "2019-02-14T10:46:23Z")

</div>

Hi to all,

working in Kibana with a large amount of data, we are getting this error:

 ![Capture2](https://us1.discourse-cdn.com/elastic/original/3X/7/f/7ff87c5a6cba22b38e7ab596dca2996ee6a76905.png)

On our index, we are working with a **storage size** of 31.7gb and with a **count** of 58575555 as you can see in the below image:

 ![Capture](https://us1.discourse-cdn.com/elastic/original/3X/3/4/34eca068f2bc6800edee545ad258f7cdb96793c3.png)

Also with the new version (6.6.0) has appeared a new folder in Kibana (called "dlls") that contains the js and the dll in error (is it a new **search engine** to perform searches?).

 ![Capture3](https://us1.discourse-cdn.com/elastic/original/3X/0/a/0afa8975a6c662b2f706208c93f97c3e27d67cef.png)

Thanks a lot in advance for each reply.

---

<div class="post-metadata">

**Author:** ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)\
**Post date:** [February 14, 2019, 6:51pm UTC](https://discuss.elastic.co/t/searcherror-unknown-error/168389/2 "2019-02-14T18:51:55Z")

</div>

Good eye :). Dll's are a partial optimization we are doing to allow faster rebuilds when a plugin is installed.

unknown error in Kibana is usually when Kibana receives an unexpected response. Kibana knows how to handle elasticsearch and browser errors (hopefully), most commonly we see this with a proxy in front that will close connections after a certain timeout while we're waiting for a response from elaticsearch. If you open your browsers developer tools and wait for an error to happen can you check the response?

---

<div class="post-metadata">

**Author:** ![vitodv90](https://avatars.discourse-cdn.com/v4/letter/v/8e8cbc/32.png) [@vitodv90](https://discuss.elastic.co/u/vitodv90)\
**Post date:** [February 15, 2019, 9:23am UTC](https://discuss.elastic.co/t/searcherror-unknown-error/168389/3 "2019-02-15T09:23:36Z")

</div>

Hi Jon, thanks for your quick replay!

No reverse proxy is used in my case.  
Below the debug of Kibana session when I get the "unknown error":

Preview:

 ![preview](https://us1.discourse-cdn.com/elastic/original/3X/8/d/8de8770b25f124b075713eaa7520903b14fb5fa5.png)

Response:

 ![response](https://us1.discourse-cdn.com/elastic/original/3X/4/0/40e8537e5ba993231388a484b611784231510e1e.png)

Timing:

 ![timing](https://us1.discourse-cdn.com/elastic/original/3X/7/b/7b1f87b80ecb22be8cfa860d455351cb0c8caf45.png)

I understand that the problem was _TCP close connection_ after 120 seconds. But in Kibana I set the request timeout to 300 seconds:

```
elasticsearch.requestTimeout: 300000

```

I means is **node.js** to keep the response timeout too low for my case: is it possible update the value? If yes where is the parameter?

Thanks a lot for your time!

---

<div class="post-metadata">

**Author:** ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)\
**Post date:** [February 20, 2019, 1:01am UTC](https://discuss.elastic.co/t/searcherror-unknown-error/168389/4 "2019-02-20T01:01:45Z")

</div>

Ah yeah, we're htiting the Node.js default. There isn't a way to configure that right now but you have a good point. I opened an issue at [https://github.com/elastic/kibana/issues/31549](https://github.com/elastic/kibana/issues/31549).

---

<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, 2019, 1:01am UTC](https://discuss.elastic.co/t/searcherror-unknown-error/168389/5 "2019-03-20T01:01:49Z")

</div>

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