Getting "0 DC downstream_remote_disconnect - " when trying to upload multipart file

Hi,
We are giving a try to Istio on our existing application.
We are using version 1.9.2 of Istio.
We are just using sidecar injection to start with it.
I’m trying to upload a file with an http post with multipart/form-data.
I have "POST /v0/documents/upload HTTP/1.1" 0 DC downstream_remote_disconnect - " on the Istio proxy logs of the target service.
Everything seems to work in our applications apart from this call.
What am I missing?

Did you find why you have got downstream_remote_disconnect and response code 0 ?

I’ve hit this issue, any have an idea what could cause it? If I proxy into the pod using kubectl directly, the post works fine

How you were able to resolve 0 DC downstream error?

HTTP/1.1 0 DC downstream remote_disconnect

You’re probably hitting a timeout at the edge of your mesh. For example, if you are running your ingress-gateway as a AWS NLB, you may need to use the annotation service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout: "<your-custom>". If this is not the issue, probably a EnvoyFilter as in Istio ingress gateway TCP keepalive setting for downstream connection · Issue #28879 · istio/istio · GitHub (haven’t test it myself) may help.