Yes, this problem has been mentioned here several times already. However after reading ALL posts I could find there is nothing that remotely points to a solution other then the usual “check the obvious”.
However we have done more than checking the IP and port rules in the firewall both at digital ocean where the website resides and on the server where the database is located, including the firewalls in both Digital Ocean droplet and Cloudflare for the website. We have run through every possible combination of options.
However as soon as we PAUSE Cloudflare on the website than it can reach the remote database server at hour private server host. And when we enable Cloudflare for our website we receive the infamous gateway time-out error.
So far the only thing we have been able to prove with all our testing is that the problem lies with Cloudflare…but WHERE, which setting at what level, network, application WAF…where???
Thank you, amd much appreciated with ANY help that can be provided.