emissary-ingress / emissary

open source Kubernetes-native API gateway for microservices built on the Envoy Proxy
https://www.getambassador.io
Apache License 2.0
4.33k stars 682 forks source link

net::ERR_INCOMPLETE_CHUNKED_ENCODING, NS_ERROR_NET_PARTIAL_TRANSFER #5488

Closed vyom-soft closed 7 months ago

vyom-soft commented 8 months ago

Hello, I used the helm-chart to install emissary-ingress. I followed emissary-ingress-quick-start

The response from the envoy server is 200.

But it shows err the browser NS_ERROR_NET_PARTIAL_TRANSFER, net::ERR_INCOMPLETE_CHUNKED_ENCODING

Is there configuration or setting which is supposed to be done on Mapping resource?

image

image


1 / 3 requests
285 B / 285 B transferred
2.7 MB / 2.8 MB resources
Request URL:
https://uiux.dev.testlab.tech/vorgaenge/
Request Method:
GET
Status Code:
200 OK
Remote Address:
10.10.38.216:443
Referrer Policy:
strict-origin-when-cross-origin
Content-Encoding:
gzip
Content-Type:
text/html
Date:
Thu, 21 Dec 2023 07:37:44 GMT
Etag:
W/"65733ef0-1281b05"
Last-Modified:
Fri, 08 Dec 2023 16:06:08 GMT
Server:
envoy
Transfer-Encoding:
chunked
X-Envoy-Upstream-Service-Time:
2
X-Frame-Options:
SAMEORIGIN
Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8
Accept-Encoding:
gzip, deflate, br
Accept-Language:
en-US,en;q=0.9
Connection:
keep-alive
Host:
uiux.dev.testlab.tech
Sec-Ch-Ua:
"Brave";v="119", "Chromium";v="119", "Not?A_Brand";v="24"
Sec-Ch-Ua-Mobile:
?0
Sec-Ch-Ua-Platform:
"Linux"
Sec-Fetch-Dest:
document
Sec-Fetch-Mode:
navigate
Sec-Fetch-Site:
none
Sec-Fetch-User:
?1
Sec-Gpc:
1
Upgrade-Insecure-Requests:
1
User-Agent:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
vyom-soft commented 7 months ago

This thread helped me to fix the issue https://github.com/projectcontour/contour/issues/3514 By setting the timeout_ms in the mapping.