Clarity: Advance Reporting Request header is too large and fails with Error 400


Article ID: 197848


Updated On:


Clarity PPM On Premise Clarity PPM SaaS


Users gets Error 400 when navigating to Advance Reporting 


Steps to Reproduce 


  1. Login to Clarity with a user who has Advance Reporting Rights 
  2. Navigate to Advance reporting

Expected Result: User should be able to land to Advance Reporting Page 

Actual Error : User gets Error 400 and in the Catalina log you will see the below errors 



 INFO [http-nio-8090-exec-1] org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request header

Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level.

        java.lang.IllegalArgumentException: Request header is too large

                at org.apache.coyote.http11.Http11InputBuffer.fill(

                at org.apache.coyote.http11.Http11InputBuffer.parseHeader(

                at org.apache.coyote.http11.Http11InputBuffer.parseHeaders(

                at org.apache.coyote.http11.Http11Processor.service(

                at org.apache.coyote.AbstractProcessorLight.process(

                at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(



                at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

                at java.util.concurrent.ThreadPoolExecutor$ Source)

                at org.apache.tomcat.util.threads.TaskThread$

                at Source)



The reason for this issue is when you pass headers in your request which is greater than default 

  1. The maximum size of the request and response HTTP header, if not specified, this attribute is set to 8192 (4 KB), which is more than enough. However, if you are adding lot of headers or using cookies extensively, this limit can be breached. 


Release : 15.x



To solve this,


  1. Stop the Jaspersoft Tomcat services
  2. Open the file $TOMCAT_HOME/conf/server.xml -->find the "connection" section --> add the parameter maxHttpHeaderSize="102400" 
    1. Example: <Connector port="8090" protocol="HTTP/1.1" redirectPort="8443" maxHttpHeaderSize="102400" URIEncoding="UTF-8"/>
  3. Save the file and stop Jaspersoft Tomcat 
  4. Delete $TOMCAT_HOME/temp & $TOMCAT_HOME/work folder 
  5. Start the Jaspersoft Tomcat services

Additional Information

Note: In the above steps we have user maxHttpHeaderSize="102400" and you can decide the value after finding out the size of the Header in browser developer tools