You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sometime ago we switched the default Envoy config (eg included in the docker images) from pointing to google.com -> www.envoyproxy.io
there were a couple of reasons for shifting - one was that the google example stopped working (due to CSP i think) - where you request an http page that proxies to an https page
in recent tests i noticed that this is no longer the case - or at least more often than not it doesnt work - sometimes it does work
basically when you request over http you get a proxied response to 301 redirect to https
im not sure if something has changed in the website handling of headers, or whether the headers that envoy sends has changed - but either way it no longer works - wierdly it occasionally does work
this can be tested as follows
$ docker run -p 10000:10000 -d --rm envoyproxy/envoy-dev:latest bb9028e3a5f85637e6cece640a7caab456987ac5d99279277c932258eb2d4290
$ curl http://localhost:10000Redirecting to https://www.envoyproxy.io/
$ docker kill bb902
huh. think we should just switch back to google? I'm not sure what prompted the change but we have to use google for the equivalent HTTP/3 config (since envoyproxy doesn't have that turned up) so it'd both work and be consistent
there is an http3 downstream - which proxies to envoy - which i struggled to get working - but even if i had i guess it will hit the same issue raised here
there is an http3 upstream - which works (doesnt even bork wierdly) proxying via http3
as an aside it would be v good to get some http3 sandboxes set up
im gonna mark this high priority - because the docs and docker image are kinda broken - and its a blocker for building system packages #16899
im not sure if this has been fixed, or if something changed upstream - it was always a flake in the sense that sometimes it worked and sometimes not - but my understanding was that it wouldnt be fixed until #17070 landed
i have tested the default config again with the current envoyproxy/envoy-dev:latest image and now it never fails
Activity
phlax commentedon Jun 23, 2021
cc @alyssawilk @mattklein123
alyssawilk commentedon Jun 23, 2021
huh. think we should just switch back to google? I'm not sure what prompted the change but we have to use google for the equivalent HTTP/3 config (since envoyproxy doesn't have that turned up) so it'd both work and be consistent
phlax commentedon Jun 23, 2021
preferably not - apart from anything else it would be good to know why it doesnt work
2 reasons iirc
hmm - i guess in that case its necessary - but in a way it would be good if we could point it to a neutral reference server
phlax commentedon Jun 23, 2021
or maybe a smiley welcome page on something like
http3.envoyproxy.iothat was http3 enabledphlax commentedon Jun 23, 2021
cloudflare has quic/http3 support https://blog.cloudflare.com/http3-the-past-present-and-future/ so we could do it with that
phlax commentedon Jun 23, 2021
checking this further...
there is an http3 downstream - which proxies to envoy - which i struggled to get working - but even if i had i guess it will hit the same issue raised here
there is an http3 upstream - which works (doesnt even bork wierdly) proxying via http3
as an aside it would be v good to get some http3 sandboxes set up
im gonna mark this high priority - because the docs and docker image are kinda broken - and its a blocker for building system packages #16899
phlax commentedon Jun 25, 2021
before we fix this @alyssawilk it would be good to add xfailing test/s
#17145 is related but i think possibly we just want to test all of the configs in the
/configsdir to ensure they work as expectedill do some testing and try and figure out a way forward
phlax commentedon Jul 7, 2021
im not sure if this has been fixed, or if something changed upstream - it was always a flake in the sense that sometimes it worked and sometimes not - but my understanding was that it wouldnt be fixed until #17070 landed
i have tested the default config again with the current
envoyproxy/envoy-dev:latestimage and now it never failshcm: adding a knob for setting scheme (#17070)
hcm: adding a knob for setting scheme (envoyproxy#17070)