--
You received this message because you are subscribed to the Google Groups "envoy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to envoy-users+unsubscribe@googlegroups.com.
To post to this group, send email to envoy...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/envoy-users/b4f2321b-89c8-4420-b3ba-b6a103e0ad62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
HTTP header field names can only contain a subset of ASCII characters, and the parsers Envoy uses are strict. See:On Sat, Feb 3, 2018 at 4:57 AM, <ibra...@gmail.com> wrote:Hi everyone,I've been facing a strange issue the past couple of days...I'm proxying a web server (nginx) behind envoy (heptio-contour on a k8s with ingresses).On requesting the main page (index.html), I'm getting the following error message as a response: upstream connect error or disconnect/reset before headersI'm sure the web server is reachable from the envoy container and can get 404s with no issues from the web server. I can even request the main page from the container with no issues and I get the full response from the web server.After some fiddling around I found the issue. It turns out that one of the headers had some unicode characters in the header key: "X%u2010XSS%u2010Protection" (X-XSS-Protection). Changing the key to use ASCII dashes instead resolved the issue.Is this expected behavior?Regards,Ibrahim
--
You received this message because you are subscribed to the Google Groups "envoy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to envoy-users...@googlegroups.com.
Is it expected behavior to treat a backend with invalid headers as failing?
If so, I'd think it'll be better if this is logged somewhere.
Is it expected behavior to treat a backend with invalid headers as failing?If so, I'd think it'll be better if this is logged somewhere. I wasted a few days trying to figure out what was wrong.
On Sun, Feb 4, 2018 at 12:25 AM Matt Klein <mkl...@lyft.com> wrote:
HTTP header field names can only contain a subset of ASCII characters, and the parsers Envoy uses are strict. See:On Sat, Feb 3, 2018 at 4:57 AM, <ibra...@gmail.com> wrote:Hi everyone,I've been facing a strange issue the past couple of days...I'm proxying a web server (nginx) behind envoy (heptio-contour on a k8s with ingresses).On requesting the main page (index.html), I'm getting the following error message as a response: upstream connect error or disconnect/reset before headersI'm sure the web server is reachable from the envoy container and can get 404s with no issues from the web server. I can even request the main page from the container with no issues and I get the full response from the web server.After some fiddling around I found the issue. It turns out that one of the headers had some unicode characters in the header key: "X%u2010XSS%u2010Protection" (X-XSS-Protection). Changing the key to use ASCII dashes instead resolved the issue.Is this expected behavior?Regards,Ibrahim
--
You received this message because you are subscribed to the Google Groups "envoy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to envoy-users+unsubscribe@googlegroups.com.
To post to this group, send email to envoy...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/envoy-users/b4f2321b-89c8-4420-b3ba-b6a103e0ad62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.