-
Notifications
You must be signed in to change notification settings - Fork 390
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
Configurable Proxy Timeout in Kong Dashboard #118
Comments
The underlying issue is that the API counts the total number of entities in the datastore on every page load, and that can take a long time in Kong (this is the reason we also removed counters in We should either remove the In the meanwhile the timeout value can be increased by updating the underlying nginx template. Instructions at https://getkong.org/docs/0.10.x/configuration/#custom-nginx-configuration-embedding-kong |
Following up here. The timeout I believe I am hitting is not the kong service controlled by the nginx template. API calls to the /consumers endpoint on kong succeed (and take about 10 seconds). The timeout that would be nice to configure is within the kong-dashboard project and configured on the reverse proxy used by kong-dashboard: Line 60 in 2a6c664
API calls to the /consumer endpoint via the kong-dashboard proxy fail after about 3 seconds. |
@ericachelis The way kong-dashboard configuration is done has become a bit messy (some options are configurable through arguments on I need to refactor all that, but I'm lacking time at the moment unfortunately. As a short term solution, I'm going to increase the hard coded timeout from 3 to 30 seconds. Hope this will fix your issue. |
So timeout was increased in version 2.2.0. I'm leaving this ticket opened to remember to make this a configurable parameter. |
The /consumers screen fails to load on the kong dashboard because the proxy_timeout is set to 3 seconds.
We have about 25 million consumers in our Kong Database. A call to the Kong API to list all consumers takes roughly 10 seconds (this is how long it takes to do a
select COUNT(*) from consumers;
in our postgres backed kong instance).We would like to be able to configure this value in kong-dashboard so our consumer screen loads.
The text was updated successfully, but these errors were encountered: