You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the solution you'd like
Allow the configuration of Envoy's stream_idle_timeout. According to the Envoy documentation this can be set globally as well as per-route. Envoy defaults this to 5 minutes, but it is overridden by per-route idle timeout.
We use gRPC streaming for some APIs and we would like to keep the connection open as long as possible in many cases. We have currently enabled gRPC keep-alive, but recently realized that Envoy doesn't proxy these through to keep upstream connections alive (see envoy/2086 and envoy/5142).
Describe the solution you'd like
Allow the configuration of Envoy's stream_idle_timeout. According to the Envoy documentation this can be set globally as well as per-route. Envoy defaults this to 5 minutes, but it is overridden by per-route idle timeout.
We use gRPC streaming for some APIs and we would like to keep the connection open as long as possible in many cases. We have currently enabled gRPC keep-alive, but recently realized that Envoy doesn't proxy these through to keep upstream connections alive (see envoy/2086 and envoy/5142).
What happens currently is if we don't send data in under 60 seconds (Contour's default idle timeout) then we get a gRPC error back of "stream timeout".
Anything else you would like to add:
We also need to consider how to do this in a way where we can avoid security issues such as trusting timeouts specified by clients.
Related Issues:
Environment:
The text was updated successfully, but these errors were encountered: