I'm trying to edit the SMTP settings for OSTicket, however for some reason, it keeps giving me a 500 error and when I check the logs, I find this:  mod_fcgid: read data timeout in 45 seconds, referer: https://blah.net/support/scp/emails.php?id=1 Premature end of script headers: emails.php, referer: https://blah.net/support/scp/emails.php?id=1I am trying to add settings for zoho using port number 465. What am I doing wrong?

This sounds like mod_fcgid is set to time out in 45 seconds, and is killing the process once it exceeds the timer.  The script is exceeding that timer for some reason... You can adjust your timeout in your apache mod_fcgid config (and then restart Apache).  Although I find it likely that this is a symptom and not the cause... It seems more likely that there is a firewall or something that is causing the connection to fail silently. 

This sounds like mod_fcgid is set to time out in 45 seconds, and is killing the process once it exceeds the timer.  The script is exceeding that timer for some reason... You can adjust your timeout in your apache mod_fcgid config (and then restart Apache).  Although I find it likely that this is a symptom and not the cause... It seems more likely that there is a firewall or something that is causing the connection to fail silently. 

Hm. Seems as though my host is blocked outbound traffic to port 465 but not port 25 even though they told me they weren't. Thanks for the help!

12 days later

Very welcome.  Should I mark this as resolved or?

Yes you may, thank you :)

Write a Reply...