java.lang.IllegalArgumentException: Request header is too large

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via Coderanch by Partheban Udayakumar

You might send a large amount of data in the request URL. Consider sending it in the request body.

,
via Stack Overflow by Maciej Marczuk

This error is caused by malformed HTTP request. You are trying to access unsecured page through https.

Solutions on the web

via Stack Overflow by Aneri Bhatt
, 1 year ago
via Atlassian JIRA by Woo Yit Wei [Atlassian], 1 year ago
Request header is too large
java.lang.IllegalArgumentException: Request header is too large
at org.apache.coyote.http11.AbstractNioInputBuffer.parseHeaders(AbstractNioInputBuffer.java:392)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1025)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:674)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.