# Kibana 6 timeout below 2 minutes (every settings \> 10 minutes) with Gateway Timeout

**URL:** <https://discuss.elastic.co/t/kibana-6-timeout-below-2-minutes-every-settings-10-minutes-with-gateway-timeout/112420>\
**Category:** Kibana\
**Created:** [December 19, 2017, 11:30am UTC](https://discuss.elastic.co/t/kibana-6-timeout-below-2-minutes-every-settings-10-minutes-with-gateway-timeout/112420 "2017-12-19T11:30:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DidierB](https://avatars.discourse-cdn.com/v4/letter/d/ed8c4c/32.png) [@DidierB](https://discuss.elastic.co/u/DidierB)\
**Post date:** [December 19, 2017, 11:30am UTC](https://discuss.elastic.co/t/kibana-6-timeout-below-2-minutes-every-settings-10-minutes-with-gateway-timeout/112420/1 "2017-12-19T11:30:47Z")

</div>

Hello there,

I use a Kibana 6.0.0 to request a very loaded Elasticsearch 6.0.0 to do insane dashboards. So the response time can go beyond 2 minutes. I agree to wait but Kibana seems to be less patient than me.

After few minutes (always less than 3), the Kibana returns this (in a top red banner):

```
Error: Gateway Timeout
ErrorAbstract@https://wassup.kibana.am.bigdata.intraorange/bundles/kibana.bundle.js?v=16070:12:24939
StatusCodeError@https://wassup.kibana.am.bigdata.intraorange/bundles/kibana.bundle.js?v=16070:12:28395
respond@https://wassup.kibana.am.bigdata.intraorange/bundles/kibana.bundle.js?v=16070:13:2730
checkRespForFailure@https://wassup.kibana.am.bigdata.intraorange/bundles/kibana.bundle.js?v=16070:13:1959
AngularConnector.prototype.request/<@https://wassup.kibana.am.bigdata.intraorange/bundles/kibana.bundle.js?v=16070:2:5100
processQueue@https://wassup.kibana.am.bigdata.intraorange/bundles/commons.bundle.js?v=16070:39:9912
scheduleProcessQueue/<@https://wassup.kibana.am.bigdata.intraorange/bundles/commons.bundle.js?v=16070:39:10805
$digest@https://wassup.kibana.am.bigdata.intraorange/bundles/commons.bundle.js?v=16070:39:21741
$apply@https://wassup.kibana.am.bigdata.intraorange/bundles/commons.bundle.js?v=16070:39:24509
done@https://wassup.kibana.am.bigdata.intraorange/bundles/commons.bundle.js?v=16070:38:9484
completeRequest@https://wassup.kibana.am.bigdata.intraorange/bundles/commons.bundle.js?v=16070:38:13952
createHttpBackend/</xhr.onload@https://wassup.kibana.am.bigdata.intraorange/bundles/commons.bundle.js?v=16070:38:14690

```

All the timeout settings I can think of (Kibana, ES, reverse proxies, etc) are beyond ten minutes.

We have two reverse proxies (26 minutes):

```
proxy_connect_timeout 1600;
proxy_send_timeout 1600;
proxy_read_timeout 1600;
send_timeout 1600;

```

and (166 minutes)

```
proxy_connect_timeout 9999;
proxy_send_timeout 9999;
proxy_read_timeout 9999;
send_timeout 9999;

```

Kibana (request for ES: 20 minutes):

```
elasticsearch.requestTimeout: 1200000

```

Elasticsearch (10 minutes):

```
{
  "persistent" : {
    "search" : {
      "default_search_timeout" : "10m"
    }
  },
  "transient" : { }
}

```

The problem was similar to [this one](https://discuss.elastic.co/t/kibana-closes-http-connection-after-120-seconds/86391), solved by [this pull request](https://github.com/elastic/kibana/pull/6341). However all of this happened in Kibana 4. I still think it's a node.js configuration issue, and [this issue](https://github.com/elastic/kibana/issues/14043), still open in 5.6.0, seems to agree.

Can someone help?

Regards.

Didier

PROBLEM SOLVED: there was a reverse-proxy between kibana (browser) and kibana (node.js).

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [December 20, 2017, 6:42pm UTC](https://discuss.elastic.co/t/kibana-6-timeout-below-2-minutes-every-settings-10-minutes-with-gateway-timeout/112420/2 "2017-12-20T18:42:12Z")

</div>

It looks like this is still an open issue. Please comment on the issue and use the issue to track status

---

<div class="post-metadata">

**Author:** ![DidierB](https://avatars.discourse-cdn.com/v4/letter/d/ed8c4c/32.png) [@DidierB](https://discuss.elastic.co/u/DidierB)\
**Post date:** [December 21, 2017, 10:02am UTC](https://discuss.elastic.co/t/kibana-6-timeout-below-2-minutes-every-settings-10-minutes-with-gateway-timeout/112420/3 "2017-12-21T10:02:45Z")

</div>

Ok, I did that. However this issue is old and, according to github tracking, no one is assigned to it. While would it change now?

---

<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:** [January 18, 2018, 10:02am UTC](https://discuss.elastic.co/t/kibana-6-timeout-below-2-minutes-every-settings-10-minutes-with-gateway-timeout/112420/4 "2018-01-18T10:02:49Z")

</div>

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