Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Header too large

On Fri, Jan 31, 2025 at 7:34 AM John English via jetty-users <jetty-users@xxxxxxxxxxx> wrote:
I am seeing occasional log messages like this:

2025-01-30 03:14:38.114:WARN:oejh.HttpParser:qtp1514322932-28914: Header
is too large 8193>8192

Is there any way of finding out what is the offending header here?

Get a packet capture. On linux tcpdump is good from the commandline. You'll need to run the server like:
  ${JAVA} -javaagent:jSSLKeyLog.jar=/path/to/sslkeylog.txt -jar start.jar ...
and then reference that in the WireShark protocol preferences (right click on HTTP request frame and select Protocol preferences ...).

Or, temporarily increase the header size with:
  jetty.httpConfig.requestHeaderSize=32768
in start.ini and, if the requests get through, apply other debugging capabilities.
After you figure it out, switch it back.

Are you using SPNEGO / Kerberos?
If yes, this might be applicable:


Mike

--
Michael B Allen
Java AD DS Integration
https://www.ioplex.com/

Back to the top