I have a Magento 2.3.6 app which was working fine and suddenly It stop responding. It keeps loading for like 5 minutes and then errors out with 504-Bad Gateway Timeout. I have already tried the following solutions without any luck:
I have also turned on Developer mode and put these lines at the start of `index.php` to enable error in browser but not getting any error either
error_reporting(E_ALL);
ini_set('display_errors', 1)
Any clue How I can solve this? Thanks in advance.
I have the exact same issue with Magento 2.3.6-p1 using PHP 7.3.
Pages simply don't load, there does not seem to be any error message anywhere.
Hi @jawadrashef2af,
The error that you're facing might be due to:
(1) Hosting Error
You should contact your hosting provider to check if there's any problem.
(2) Your site is running a command or requirement that takes too much time. You can check it by turning on the dev mode:
php bin/magento deploy:mode:set developer
Hope this can help you! Let me know if you need further assistance.
__________
If issue solved, Click Kudos & Accept as Solution.