Override stream_idle_timeout 5 min default on envoy

Hi there,

I would like to know if someone has successfully overridden the property stream_idle_timeout
on envoy side car proxy? I was trying to do it without having to rewrite the listeners, routes generated by consul.

I have unsuccessfully tried to use the escape hatch overrides

Any example, or help would be really appreciated.

Thanks

I ran into needing to do this as well for some long running APIs.

I got Nomad quite close to working with an escape hatch override, but the blocker seems to be that Nomad interpolation isn’t available in the escape hatch snippet to pass in the dynamic port. If you aren’t using Nomad and have just a static port assignment for the public service listener, you should be able to use the snippet with your port substituted in this issue to make it work:

Since that’s not an option for us at the moment, I patched in a config knob for an envoy idle_timeout which will override the default stream_idle_timeout when set:

Also, we are using this same patch in 1.11.2 as well, with the diff file being slightly different and seen in this commit here: