Disable require_strict_1xx_and_204_response_headers in envoy configuration #5961
Labels
stale
Issues that are stale. These will not be prioritized without further engagement on the issue.
Type: Enhancement
New feature or request
Version
No response
Is your feature request related to a problem? Please describe.
When Gloo edge is used alongside the Istio ingress gateway, web socket connections (verified with SignalR 5.x) are rejected with a 502 Bad Gateway, and with the following log in the
gateway-proxy
:This happens when a 101 status code is returned to upgrade the connection to web sockets. The istio-ingress gateway adds the following header
key=transfer-encoding value=chunked
as shown belowWhich makes the envoy fail with:
Describe the solution you'd like
Envoy from version 1.15 stopped allowing upstream 1xx or 204 responses with Transfer-Encoding or non-zero Content-Length headers. So now the default is to reject such requests. This however can be reverted by setting the following setting on envoy boostrap configuration to false (the default is true)
The same is configured in the Istio side: https://github.com/istio/istio/blob/master/pkg/bootstrap/config.go#L282
To resolve those issues: #28433, #36711
Describe alternatives you've considered
No response
Additional Context
We only need to update our helm chart https://github.com/solo-io/gloo/blob/master/install/helm/gloo/templates/12-ingress-proxy-configmap.yaml#L20
To add the following config:
1# The change
The text was updated successfully, but these errors were encountered: