java.lang.IllegalStateException: More than the maximum allowed number of headers ([100]) were detected.

Hot problem!
This exception has a lot of traffic. You can help 14 users by writing a short tip.

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

Solutions on the web

via tomcat-dev by Rainer Jung, 1 year ago
More than the maximum allowed number of headers ([100]) were detected.
via tomcat-dev by Rainer Jung, 1 year ago
More than the maximum allowed number of headers ([100]) were detected.
via Stack Overflow by Nambari
, 2 years ago
Header count exceeded allowed maximum: 128
java.lang.IllegalStateException: More than the maximum allowed number of headers ([100]) were detected.
at org.apache.tomcat.util.http.MimeHeaders.createHeader(MimeHeaders.java:260)
at org.apache.tomcat.util.http.MimeHeaders.addValue(MimeHeaders.java:305)
at org.apache.coyote.http11.Http11InputBuffer.parseHeader(Http11InputBuffer.java:802)
at org.apache.coyote.http11.Http11InputBuffer.parseHeaders(Http11InputBuffer.java:579)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:978)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:760)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

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