Page 1 of 1

Gateway timeout when trying to view Snapshot and Maintenance page

Posted: Thu Jan 25, 2024 2:26 pm
by JesseLambBDK
I am receiving a 504 gateway and timeout page when trying to access the Snapshot and Maintenance page. I have tried the steps found in other timeout threads on adding

Timeout 600
RequestReadTimeout header=600,minrate=50
RequestReadTimeout body=600,minrate=50
<Proxy "unix:/run/php-fpm/www.sock|fcgi://localhost">
ProxySet timeout=600
</Proxy>

to the php.conf file and restarting the httpd service. That page still times out. Any suggestions?

Re: Gateway timeout when trying to view Snapshot and Maintenance page

Posted: Mon Jan 29, 2024 4:24 pm
by jmichaelson
Edit /var/www/html/nagioslogserver/application.config/config.php. around line 226, replace $config['log_threshold'] = 0; with $config['log_threshold'] = 1; The number can go all the way up to 4 per the comments above it, depending on how verbose you want the logging to be. Lets start with 1 for just error messages. The log files then will be in /var/www/html/nagioslogserver/applicaton/logs. You can scan them for errors when you're looking at that page, or post here for more help.