Troubleshooting
Problem
When accessing Cognos Analytics using an Apache HTTP Server gateway, running certain reports results in "HTTP 400 Bad Request - Your browser sent a request that this server could not understand. Size of a request header field exceeds server limit".
Cause
The size of the header in the request, the number of headers in the request, or the HTTP request line exceeds the allowable size in Apache HTTP Server.
Resolving The Problem
Increase the Apache header and request line size limits by adding the following directives to the httpd.conf file before loading the cognos.conf (or any other Cognos related directives):
LimitRequestFieldSize
LimitRequestFields
LimitRequestLine
Example:
LimitRequestFieldSize 32768
LimitRequestFields 32768
LimitRequestLine 32768
After adding these directives, ensure that Apache is restarted.
For more information on these settings, see Apache's documentation: https://httpd.apache.org/docs/2.4/mod/core.html#limitrequestfields
Related Information
Was this topic helpful?
Document Information
Modified date:
05 November 2018
UID
ibm10738697