Error 502 and 504

502 Bad Gateway

This problem mostly appears when the website is using older version of PHP. We would recommend to use the newest PHP version that are available in the webadmin. New versions are significantly faster and more stable.

In some cases the error occurs in the content management system of the website, when Xcache is used as a cache. It may help it disable Xcache on your website by adding following lines to the .htaccess file:

php_flag xcache.cacher Off
php_flag xcache.size 0
php_flag xcache.stat Off
php_value opcache.enable 0

504 Gateway Timeout

If this error occurs there is a problem in our infrastructure and our administrators are already working on the problem. This problem mostly appears when the website is using older version of PHP. We would recommend to use the newest PHP version that are available in the webadmin. New versions are significantly faster and more stable.

We monitor the occurrence of such errors and in increase of their number we immediately take action. From the technical perspective it is a problem in the communication between loadbalacer and webserver on the background. After the problem is solved your website will be working again correctly.

Updated on October 2, 2024

Was this article helpful?

Related Articles