ClientSettingsPolicy: proxy_read_timeout #2497
Replies: 2 comments 9 replies
-
It's definitely not fun to configure NGINX that way, which is why we plan to include NGINX snippets as part of our next release, which should allow for this kind of configuration of the NGINX conf. That said, what kind of timeout are you expecting from proxy_read_timeout? We did a deep dive recently and it turns out this timeout is measuring not individual HTTP transactions, but packets coming from your upstream - meaning if one request takes a long time, but the others are coming back quickly, the one long request will never timeout. Based on what you've written above, I assume you're looking for a timeout per HTTP transaction? |
Beta Was this translation helpful? Give feedback.
-
@AlexEndris Did you happen to view this blog when attempting to patch the nginx config? This process should be a valid workaround for setting the directives you want. Though they will be set globally to the nginx instance. |
Beta Was this translation helpful? Give feedback.
-
Hi,
just wanted to ask, whether or not it is planned to expose the "proxy_read_timeout" setting through the ClientSettingsPolicy. I'm facing the issue, that some requests take some time to process and the default 60s timeout isn't sufficient, but I don't want to increase this setting globally by using an extraVolume that is then included in the config.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions