-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kibana times out after 120s #14043
Comments
Hi @champtar. Thanks for reporting. It looks like you're correct and that it's the default timeout for nodejs you're hitting. I can't immediately think of a way to get around this in the short-term, as it doesn't look like we expose any config value right now you can use to change this setting. |
Hello. This problem still occurs in 6.0.0 (install method: tar.gz archive). Please see https://discuss.elastic.co/t/kibana-6-timeout-below-2-minutes-every-settings-10-minutes-with-gateway-timeout/. Here is the last part of this message: The problem was similar to this one, solved by this pull request. However all of this happened in Kibana 4. I still think it's a node.js configuration issue, and this issue (meaning the one you are reading right now at github), still open in 5.6.0, seems to agree. |
Problem Solved! It was, in fact, a timeout of a proxy between Kibana (firefox) and Kibana (node.js)! |
@didierb78 Thanks for the heads up. I'm going to close this since it seems to have been an issue with the reverse proxy configuration in front of Kibana. |
@cpointner Thanks for the heads up! |
@elastic/kibana-platform |
I'm using kibana 6.1.3 in k8s (nginx ingress) and experience this issue. ELASTICSEARCH_REQUESTTIMEOUT set to 600000 and nginx proxy-read-timeout set to 600. Connection closes on long queries in 120 seconds. |
Can someone that is still experiencing this provide concrete steps to reproduce? It seems to only be affecting an extremely small number of users which makes it very difficult to gather information about, and I can't reproduce it with Kibana alone. |
kibana/src/core/server/http/http_tools.ts Line 84 in aaa180b
Is it hardcoded here or somewhere else? |
I was hit by the same problem using Kibana 7.0.1.Kibana returned error 502 Bad Gate way exactly after120 seconds despite it connected directly to elasticsearch. A solution is needed! |
Duplicate of #31549. |
Kibana version:
5.6.0
Elasticsearch version:
5.6.0
Server OS version:
CentOS 7.4
Browser version:
curl 7.29 (CentOS 7.4)
Original install method (e.g. download page, yum, from source, etc.):
yum
Description of the problem including expected versus actual behavior:
Kibana timeout after 120s despite setting
elasticsearch.requestTimeout
to a larger valueSteps to reproduce:
elasticsearch.requestTimeout: 30000
(30s) and restart kibanakibana response (as expected non empty response / timeout after 30s)
elasticsearch.requestTimeout: 300000
(5m) and restart kibanaAdditional information:
https://nodejs.org/api/http.html#http_server_timeout
120s is the default nodejs timeout
The text was updated successfully, but these errors were encountered: