Visualize: Bad Gateway & Gateway Timeout


(Brayn) #1

Error info:

Error: Bad Gateway
ErrorAbstract@http://10.0.11.40/bundles/kibana.bundle.js?v=9732:74982:20
StatusCodeError@http://10.0.11.40/bundles/kibana.bundle.js?v=9732:75122:8
respond@http://10.0.11.40/bundles/kibana.bundle.js?v=9732:76349:16
checkRespForFailure@http://10.0.11.40/bundles/kibana.bundle.js?v=9732:76312:8
[24]</AngularConnector.prototype.request/<@http://10.0.11.40/bundles/kibana.bundle.js?v=9732:74930:8
processQueue@http://10.0.11.40/bundles/commons.bundle.js?v=9732:42357:29
scheduleProcessQueue/<@http://10.0.11.40/bundles/commons.bundle.js?v=9732:42373:28
$RootScopeProvider/this.$get</Scope.prototype.$eval@http://10.0.11.40/bundles/commons.bundle.js?v=9732:43601:17
$RootScopeProvider/this.$get</Scope.prototype.$digest@http://10.0.11.40/bundles/commons.bundle.js?v=9732:43412:16
$RootScopeProvider/this.$get</Scope.prototype.$apply@http://10.0.11.40/bundles/commons.bundle.js?v=9732:43709:14
done@http://10.0.11.40/bundles/commons.bundle.js?v=9732:38158:37
completeRequest@http://10.0.11.40/bundles/commons.bundle.js?v=9732:38356:8
requestLoaded@http://10.0.11.40/bundles/commons.bundle.js?v=9732:38297:1

Error: Gateway Timeout
ErrorAbstract@http://10.0.11.40/bundles/kibana.bundle.js?v=9732:74982:20
StatusCodeError@http://10.0.11.40/bundles/kibana.bundle.js?v=9732:75122:8
respond@http://10.0.11.40/bundles/kibana.bundle.js?v=9732:76349:16
checkRespForFailure@http://10.0.11.40/bundles/kibana.bundle.js?v=9732:76312:8
[24]</AngularConnector.prototype.request/<@http://10.0.11.40/bundles/kibana.bundle.js?v=9732:74930:8
processQueue@http://10.0.11.40/bundles/commons.bundle.js?v=9732:42357:29
scheduleProcessQueue/<@http://10.0.11.40/bundles/commons.bundle.js?v=9732:42373:28
$RootScopeProvider/this.$get</Scope.prototype.$eval@http://10.0.11.40/bundles/commons.bundle.js?v=9732:43601:17
$RootScopeProvider/this.$get</Scope.prototype.$digest@http://10.0.11.40/bundles/commons.bundle.js?v=9732:43412:16
$RootScopeProvider/this.$get</Scope.prototype.$apply@http://10.0.11.40/bundles/commons.bundle.js?v=9732:43709:14
done@http://10.0.11.40/bundles/commons.bundle.js?v=9732:38158:37
completeRequest@http://10.0.11.40/bundles/commons.bundle.js?v=9732:38356:8
requestLoaded@http://10.0.11.40/bundles/commons.bundle.js?v=9732:38297:1

What could be causing these errors to occur? They specifically happen overnight when no one is around.

I allocated more memory to Elasticsearch by following http://stackoverflow.com/questions/18132719/how-to-change-elasticsearch-max-memory-size (2GB up from default 1GB)


(Tim Sullivan) #2

Are you seeing this error in the browser or the Kibana logs?

Which version of Kibana is this, and do you have a reverse proxy in between the browser and the Kibana server?


(Brayn) #3

Hi,

I am seeing this error in the browser while having the dashboard open. Although like I mentioned before the errors happen overnight. I experience no issues while using it during office hours.

We are using Kibana 4.4.0 and indeed have a reverse proxy in between the browser and the Kibana server.

Could it be because every night a new indice/index is being created and on top of that data of the last 24 hours is being loaded as it refreshes every hour?


(Tyler Smalley) #4

Some thoughts are the proxy has become unavailable, or it's unable to route the request to Kibana. I would look into the proxy logs in addition to Kibana's to see if it's being restarted due to something like an upstart script.


(system) #5