cloudbeaver icon indicating copy to clipboard operation
cloudbeaver copied to clipboard

http error 431 - Increase max header field size?

Open ericsgagnon opened this issue 1 year ago • 3 comments

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?

ericsgagnon avatar Aug 20 '24 21:08 ericsgagnon

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!

EvgeniaBzzz avatar Aug 21 '24 15:08 EvgeniaBzzz

Hey we are facing same issue with the reverse proxy auth. This is only happening for users with many group memberships

elixxx avatar Apr 03 '25 07:04 elixxx

I installed the tool via Docker and even got it in Chrome on the IP, like http://192.168.178.29:8978, probably because I'm running many services and also using them over the URL. In incognito mode, it works. It would be nice to have a fix for this.

saschabrockel avatar Nov 02 '25 17:11 saschabrockel