I’ve been using Version 2.0.45.1 for a few days with no problems. All of a sudden, my site is breaking with a “504 – Gateway Timeout.” I immediately disabled all plugins. After a process of elimination, I have isolated the 504 to Easy Table of Contents.
Please advise.
]]>The integration works fine for a couple of weeks then users start to complain that the form is failing. The Elementor form throws an error and the form doesn’t appear to be submitted.
The error log shows:
“Signed API request has returned an error. HTTP error 504. Raw Provider API response: 504 Gateway Time-out”
Any help greatly appreciated!
]]>Our site sends out emails to all subscribers (>300) after a new post.
However we are getting a long page load and 504 Gateway timeout right after hitting submit post.
Is there a way to solve this (maybe speed up the sending?) Will using SMTP.com, sendgrid, etc. work? Or is there some configuration we can do to solve this?
Thank you!
]]>My server is set up in a Raspberry Pi runing Nginx and the problem would only occur when the file was complex but not big enough. I tried what was suggested in another post here to decrease File Chunk Size in the plugin settings but it did not work.
So I found the solution and I would like to share it with you. I also noticed from time to time a 504 Gateway timeout error. The solution for me was to increase the timeout setting to prevent the 504 error from happening and it also helped to prevent the Error #-200: HTTP Error as well.
Here is a webpage containing the solution of how to increase the nignx timeout settings:
https://support.plesk.com/hc/en-us/articles/115000170354-An-operation-or-a-script-that-takes-more-than-60-seconds-to-complete-fails-on-a-website-hosted-in-Plesk-nginx-504-Gateway-Time-out
Basically the steps are to open the nginx config file
nano /etc/nginx/nginx.conf
and add the following lines to http { }:
http {
<…>
proxy_send_timeout 180s;
proxy_read_timeout 180s;
fastcgi_send_timeout 180s;
fastcgi_read_timeout 180s;
}
Apparently, memcache was using too much memory for normal processing of other processes to complete in the 120 second default server timeout delay. Why memcache should create this problem is unclear as a feature that is supposed to speed up delivery is in fact slowing it down. Perhaps there is an incompatibility with another plugin but I do not know how to debug this problem properly. In any case memcache seems incompatible with our site at present. Any ideas?
]]>Warning: mysqli_query(): Error reading result set’s header in /var/sites/s/southlakesholidaycottages.co.uk/public_html/wp-includes/wp-db.php on line 1924
Error establishing a database connection
Warning: Cannot modify header information – headers already sent by (output started at /var/sites/s/southlakesholidaycottages.co.uk/public_html/wp-includes/functions.php:3813) in /var/sites/s/southlakesholidaycottages.co.uk/public_html/wp-includes/functions.php on line 3852
]]>I’ve noticed weird things like all my plug-ins were deactivated. The home page and site url in my settings were also set wrong (they were missing the S in https and missing the www which I remember putting there), creating multiple redirects. That’s now been fixed, but still the site won’t work.
Any idea what could have triggered those changes? Was I hacked?
Any idea how to resolve the 504 Gateway Timeout errors?
Thank you.
]]>