Error 431: Request Header Fields Too Large
The error indicates that the size of the HTTP request header exceeds the limit set by the server.
The 431 error can be a symptom of poor scopes administration. Ensure that you are
following the principle of least privilege when assigning scopes to users. By limiting
the number of scopes assigned to each user to only what is necessary, you can reduce the
size of the request header. However, if you still receive the error in spite of
optimizing the user scopes, you can adjust the HTTP request header size in the Tomcat
server configuration. To do so, follow these steps:
- Access the Operations Hub installation folder on your machine.
- Navigate to
iqp-tomcat/conf/server.xml
. - In the
server.xml
file, look for Catalina service Connector section and locate the fieldmaxHttpHeaderSize
to modify its value.The default value is
8192
. Increase the size to a higher value, such as16384
or24576
. - Save the changes to the file and close it.
- Restart the
GE Operations Hub IQP Tomcat Web Server
service from the Management Console.