# Timeouts
keepalive_timeout 120s;
client_header_timeout 120s;
client_body_timeout 120s;
send_timeout 120s;
but after doing this and restarting Kong it still replies with a 504 after 60 seconds if the backing process has not responded.
Ideally this could be set at the API level - we have a process running on Windows that sometimes takes over a minute to respond and Kong is returning 504s which causes the client to error out even though the process completes successfully. Is there a plugin that supports this type of configuration?
Thanks!
--
You received this message because you are subscribed to the Google Groups "Kong" group.
To unsubscribe from this group and stop receiving emails from it, send an email to konglayer+...@googlegroups.com.
To post to this group, send email to kong...@googlegroups.com.
Visit this group at https://groups.google.com/group/konglayer.
To view this discussion on the web visit https://groups.google.com/d/msgid/konglayer/dcdd0e04-b6cf-4301-8fc3-7086cdb0db1e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Have you tried setting 'proxy_read_timeout'?
See the ngx_http_proxy_module documentation since it is the way Kong currently communicates with your upstream services:
http://nginx.org/en/docs/http/ngx_http_proxy_module.html
Best,
Thibault
On 8/12/16 8:56 AM, peter...@gmail.com wrote:
Hello Kong gurus,
Is there any way to configure the amount of time before Kong replies with a 504 on a per API basis? for the entire server?
I tried editing these values in kong.yml, they were all set to 60s
# Timeouts
keepalive_timeout 120s;
client_header_timeout 120s;
client_body_timeout 120s;
send_timeout 120s;
but after doing this and restarting Kong it still replies with a 504 after 60 seconds if the backing process has not responded.
Ideally this could be set at the API level - we have a process running on Windows that sometimes takes over a minute to respond and Kong is returning 504s which causes the client to error out even though the process completes successfully. Is there a plugin that supports this type of configuration?
Thanks!
--
You received this message because you are subscribed to the Google Groups "Kong" group.
To unsubscribe from this group and stop receiving emails from it, send an email to konglayer+unsubscribe@googlegroups.com.
To post to this group, send email to kong...@googlegroups.com.
Visit this group at https://groups.google.com/group/konglayer.
To view this discussion on the web visit https://groups.google.com/d/msgid/konglayer/dcdd0e04-b6cf-4301-8fc3-7086cdb0db1e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Kong" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/konglayer/h1FbAoAQfmQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to konglayer+unsubscribe@googlegroups.com.
To post to this group, send email to kong...@googlegroups.com.
Visit this group at https://groups.google.com/group/konglayer.
To view this discussion on the web visit https://groups.google.com/d/msgid/konglayer/28b0f6dc-8ae8-addc-b3c6-055c8f86cb25%40mashape.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/konglayer/f5eb5d0a-67ab-404a-9622-d2911f9fe7b0%40googlegroups.com.