-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redirect loop on envoyproxy.io with default Docker image config on Safari/curl #17625
Comments
cc @alyssawilk who I think also saw this. I think this is an issue with Netlify (or our configuration of Netlify). |
yeah I'd tried to sort out what was maybe misconfigured with Netlify and failed to dig it up. |
cc @phlax as this was causing failures for one of our demo configs |
re netlify im not 100% clear whether there is a bug in netlify or whether Envoy is giving headers such that a 301 would be a valid/expected response i think if netlify detects any hint of http its valid to redirect, and on the envoy side, as discussed previously, proxying if we are not happy with the resolution in #17296 and/or want to get to the bottom of this i guess the next step is dumping the headers that get sent to netlify |
(or maybe given the involvement of sni, its not strictly headers - beyond my immediate understanding) |
just reading the ticket more thoroughly - iiuc adding the compression accept headers fixes the problem - if that is a correct understanding then i guess one possible resolution is to ensure envoy requests that way (i still prefer my proposed solution of a simple welcome page) |
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted" or "no stalebot". Thank you for your contributions. |
Title: Getting 'Maximum redirects followed' with default Docker image config
Description:
Started envoy with
docker run --pull=always --name=envoy -p 10000:10000 -p 9901:9901 envoyproxy/envoy:v1.19-latest
.When accessing in latest Safari via http://localhost:10000/ or
curl -L http://localhost:10000/
I get a maximum redirects followed error.I can also reproduce this from the command line with Curl directly to www.envoyproxy.io.
When I update curl to accept Brotli encoding, the redirect loop is fixed:
-H "Accept-Encoding: gzip, deflate, br"
.If I leave off
br
encoding, I get the loop.Things work fine when using latest Chrome browser.
[optional Relevant Links:]
Not working:
Working:
The text was updated successfully, but these errors were encountered: