You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the expected-content mode on a site with a large number of headers (>8192 chars), the check returns a CRITICAL: 500 Header line too long error.
How to reproduce
Use this check on a website with more than 8192 chars.
Environment: CentOS Linux release 7.9.2009 (Core).
Version of the plugin: On branch develop - last commit.
Information about the monitored resource: confidential website (non-prod website)
According to my research, the error message on the header limit is not generated in the Centreon plugin. To find out more, could you give us the output of your command with the --debug option set?
Quick description
When using the expected-content mode on a site with a large number of headers (>8192 chars), the check returns a CRITICAL: 500 Header line too long error.
How to reproduce
Use this check on a website with more than 8192 chars.
centreon_plugins.pl --plugin=apps::protocols::http::plugin --mode=expected-content --hostname=example.com --proto='https' --port='443' --urlpath='/' --timeout=15 --expected-string='Hello World' --warning-time='5' --critical-time='10' --critical-status='%{http_code} < 200 or %{http_code} >= 300' --credentials --username='' --password=''
Expected result
OK: HTTP test(s)
Actual result
CRITICAL: 500 Header line too long (8556; limit is 8192)
The text was updated successfully, but these errors were encountered: