Envoy returns Message: stream timeout
without handling pending gRPC requests when max_requests_per_connection
is set
#36712
Labels
Title: Envoy returns
Message: stream timeout
without handling pending gRPC requests whenmax_requests_per_connection
is setExpectation
I think Envoy should handle all requests without timeout in the following situation.
max_requests_per_connection
max_requests_per_connection
.timeout
is large enough, all requests are handled.But pending request are not handled, I've got timeout error.
Experimental Situation
The detailed settings are attached in the last section:
max_requests_per_connection: 2
andmax_concurrent_streams: 20
max_requests_per_connection
andmax_concurrent_streams
.idle_timeout: 30s
andtimeout: 0s
timeout: 5min
.First 1~3 requests handled successfully, but other request shows following timeout
Command:
Log:
We can see three requests handle parallel in 10s as expected.
My expectation is request 4th should be handled because previous three requests finished.
Or this is expected behaviours by design?
[optional Relevant Links:]
Envoy Settings
Envoy log for timeout request
start request
after tiimeout
Some considerations
max_requests_per_connection: 1
always cause timeout because gRPC refection.The text was updated successfully, but these errors were encountered: