kubernetes-ingress icon indicating copy to clipboard operation
kubernetes-ingress copied to clipboard

Getting "http 431 - Too big request header" from the builtin http server

Open DaveOHenry opened this issue 2 years ago • 2 comments

I wanted to update the controller and get rid of the default backend container, but the builtin http server doesn't return the expected status code. The message is quite clear, but I haven't found a way to tweak the configuration here.

Is there any documentation about the builtin http server? Is there a way to configure it? Maybe it's possible to add config snippets to the "default-local-service" backend somehow?

DaveOHenry avatar Jun 23 '23 08:06 DaveOHenry

Hi @DaveOHenry , currently we don't provide any configuration for the http server. We might consider that option in the future. Can you indicate which size is your header ?

ivanmatmati avatar Jun 23 '23 13:06 ivanmatmati

Hi @ivanmatmati . All headers combined are a little bit over 4KB. The largest one is the "Cookie" header with around 3.5KB.

DaveOHenry avatar Jun 23 '23 14:06 DaveOHenry