dbeaver / cloudbeaver

Cloud Database Manager
https://dbeaver.com/
Apache License 2.0
3.42k stars 372 forks source link

http error 431 - Increase max header field size? #2856

Open ericsgagnon opened 1 month ago

ericsgagnon commented 1 month ago

I'm getting http error 431 stating request header fields too large. Is there a way to increase the max size of header fields for jetty?

Issue is only happening with chrome while using reverse proxy authentication. MS Edge doesn't have the issue. I can resolve the issue for a minute by clearing cookies, cache, etc. but it comes right back.

Server logs don't show the header, just: org.eclipse.jetty.http.HttpParser - Header is too large 8193>8192. I assume that's not the actual size of the header, but rather it stops at 8193?

EvgeniaBzzz commented 1 month ago

Hi @ericsgagnon 8192 bytes (8 KB) is the default limit for headers on jetty servers. We'll discuss and add something like a Jetty configuration to CloudBeaver to make the setup easier. Thanks for your question!