envoyproxy / envoy

Cloud-native high-performance edge/middle/service proxy
https://www.envoyproxy.io
Apache License 2.0
25.04k stars 4.82k forks source link

Response is not received by the clients #37044

Open Salah-Rida opened 1 week ago

Salah-Rida commented 1 week ago

Title: Response is not received by the client

Description:

Hello,

We are experiencing an issue with Envoy Proxy, which is likely related to the default configuration.

The problem is that clients do not receive a response until Envoy reaches the request timeout, which is currently set to 1 hour. The request itself takes approximately 15 minutes to process (as seen in our service logs where the request is completed and results are returned), so duration doesn’t seem to be the issue. I also tested the same request by bypassing Envoy Proxy, and the response body was received correctly.

It may be worth mentioning that the response byte size is 3,479,806. When we run smaller requests, we are able to receive the response through Envoy Proxy without issues.

can you please point me the config I need to change, I didn't find something like response body size limit in your doc ?

salah

KBaichoo commented 1 week ago

What version of envoy are you using? What version of HTTP is your client using? What is your envoy config?

You could gather access log: https://www.envoyproxy.io/docs/envoy/latest/configuration/observability/access_log/usage or enable more verborse logging https://www.envoyproxy.io/docs/envoy/latest/operations/cli.html#cmdoption-l

KBaichoo commented 1 week ago

cc @tyxia

Salah-Rida commented 5 days ago

Hello, ​ envoy version : 1.30_distroless ​ ​ envoy config : ​ cds.yaml ############################################ ` resources: