Back to Opsview FAQ

414 "Request-URI Too Large"

5836889803421 request url too large

Symptoms Copied

An error within the dashboard, when attempting to configure the HOST SESSION COUNT under any of your dashboards, you will receive the following error message.

Cause Copied

The HTTP 414 URI Too Long response status code indicates that the URI requested by the client is longer than the server is willing to interpret.

Solution Copied

Change Nginx Config Copied

Amend Nginx’s configuration for the HTTP parameter in the path below;

vim /opt/opsview/webserver/etc/nginx.conf
## Add in the line as below in the HTTP Parameter section
large_client_header_buffers 4 128K;
## then finally restart the webserver via opsview-monit
/opt/opsview/watchdog/bin/opsview-monit restart opsview-webserver

it will then parse larger URL texts.

In Nginx, the maximum allowed URI length is defined by the large_client_header_buffers directive, which consists of two values: the number and size of buffers. It defaults to 4 8k, which means Nginx caps each request line to 8 kilobytes.

["Geneos"] ["FAQ"]

Was this topic helpful?