December 17, 2019 at 4:22 pm #2542
I’ve been experiencing Gateway timeouts whenever I select Dashboard/Updates in the WordPress admin.
After extensive testing with my web host’s help we’ve narrowed the problem down to the stripe payments add-ons.
I have the following add ons installed.
Stripe Payments Additional Custom Fields Addon
Stripe Payments Multi Currency Addon
Stripe Payments Post Payment Actions Addon
Stripe Payments Subscriptions Addon
Stripe Secure Downloads
Activating one or more of these plugins causing the site to slow down whenever Dashboard/updates is selected.
If all the above add ons are activated, the slowdown causes a Gateway timeout as follows.
The gateway did not receive a timely response from the upstream server or application.
I have carried out selected plugin deactivations and the problem only occurs when your add ons are activated.
Furthermore, there slowdown is experienced when *only* Stripe Payment plugin and add ons are active.December 17, 2019 at 5:22 pm #2543
I assume you’re using latest versions of core plugin and addons?
Do you have access to PHP error logs on your server (those usually could be viewed via your hosting control panel)? There should be some error messages that could share some light on your issue.December 17, 2019 at 8:20 pm #2544
Thanks for your reply.
Yes plugin and addons are up to date.
Wordpress core is latest version.
I have several php error logs available.
Which would be relevant for you?
giraffe5@uk82 [~/public_html]# find ./ -name php_errorlog
MartinDecember 18, 2019 at 10:38 am #2545
It might be ./wp-admin/php_errorlog or ./php_errorlog, but it’s just a guess. Usually there should be just one error log file.
Try to enable the addons, then wait for gateway timeout and see which of the error log files has the newest date. It should have the latest error messages.December 20, 2019 at 11:02 am #2546
Thanks for your help. I’ve done as you suggested above. However no new errors are recorded in any of the error log files when I recreate the Gateway timeout.
Is it possible that it is timing out when WordPress is checking for an update on your server? Can you recreate this situation?December 20, 2019 at 12:07 pm #2547
I can see update requests coming from your website and seem to be processed fine. At least Secure Downloads addon requested update today at approx. 10 AM UTC.
It might be the case when your server cannot access update server for some reason. But this should be definitely recorded in PHP error logs. Strange thing it’s not there.
Anyway, I will try to add reasonable timeout for updates checking. If error occurs during the process, it won’t stall WP admin area at least.December 20, 2019 at 1:19 pm #2548
Can you please install latest testing version (2.0.15t1) and see if it resolves your issue? I’ve removed port number from update checking URL (which might cause the issues if your server prohibits outgoing connections to non-standard ports).December 22, 2019 at 11:06 am #2552
Thank you. I’ve installed the test update and tested it several times. It seems to have stopped the Gateway timeouts. So many thanks for giving it your prompt attention.
I’ve opened a ticket with my host siteground and they gave me this reply:
I would like to clarify that you can see the opened, by default, ports here:
If any plugin is trying to make an outgoing connection via a specific hostname and port, please, let us know of the hostname and port so we can check if it is blocked.
I am afraid that without the hostname and port number provided by you, we won’t be able to confirm whether the connection is blocked or not.
Let me know if you want me to take this further with siteground.
many thanks again.December 22, 2019 at 12:17 pm #2553
The URL for update checks was https://s-plugins.com:8080/
However, we have replaced it with the one without port number. I didn’t know outgoing connections to some ports could be blocked. I can understand if a server is blocking INCOMING connections, but why outgoing?…
Anyway, a new stable version (2.0.15) will be released soon (within 24 hours from now) and it should have this issue resolved. Thank you for reporting and helping to investigate this.
Also now you know that Siteground blocks all ports but those it has white-listed.December 27, 2019 at 8:03 pm #2559
Many thanks for your prompt response, that seems to have removed the timeout.
When you have a moment, can you add a link to the mailer-lite add-on on the my-downloads page please.
MartinDecember 29, 2019 at 12:56 am #2561
I have updated that page.
You must be logged in to reply to this topic.