Page 1 of 1

Gateway Timeout in Nagios XI

Posted: Thu Dec 02, 2021 8:16 am
by fidia
Hi,

Sometimes, while attempting to send a test email, after 1 minute of loading it outputs:

Gateway Timeout
The gateway did not receive a timely response from the upstream server or application.

Any advice?
Tnx

Re: Gateway Timeout in Nagios XI

Posted: Thu Dec 02, 2021 2:50 pm
by pbroste
Hello @fidia

Thanks for reaching out, let's increase the "default_socket_timeout" value in the php.ini. What's the current value set at?

Code: Select all

grep "default_socket_timeout" /etc/php.ini
Then restart the services by bouncing:

Code: Select all

systemctl restart nagios httpd
Thanks,
Perry

Re: Gateway Timeout in Nagios XI

Posted: Fri Dec 03, 2021 3:56 am
by fidia
Hi Perry,

Current socket value is 60.

Re: Gateway Timeout in Nagios XI

Posted: Fri Dec 03, 2021 2:52 pm
by pbroste
Hello @fidia

Thanks for following up, want to have you enable debug logging on the 'phpmailer' and let us know the results. Also provide a screenshot as well.

https://support.nagios.com/kb/article/p ... g-820.html

Thanks,
Perry