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:
  1. Access the Operations Hub installation folder on your machine.
  2. Navigate to iqp-tomcat/conf/server.xml.
  3. In the server.xml file, look for Catalina service Connector section and locate the field maxHttpHeaderSize to modify its value.

    The default value is 8192. Increase the size to a higher value, such as 16384 or 24576.

  4. Save the changes to the file and close it.
  5. Restart the GE Operations Hub IQP Tomcat Web Server service from the Management Console.