Symptoms:
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:
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:
Change Nginx Config
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.
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.
Comments
0 comments
Please sign in to leave a comment.