1. Help Center
  2. Server Administration
  3. Diagnostics and Troubleshooting

Error 502

Error 502 - An invalid response was received from the server while executing the request.

Possible causes of error 502:

  • - The scripts are terminated automatically because they do not meet the restrictions of your tariff plan. To fix the error, you need to switch to another tariff plan or optimize site scripts.
  • - Incorrect directory name for cached files. The problem is typical for CMS Bitrix and is eliminated by renaming the catalog.
  • - Included Alternative PHP Cache accelerator. Disable Alternative PHP Cache to fix the problem:
    php_flag apc.cache_by_default off
  •  - New requests waits too long for Apache handlers (that are busy executing other scripts). We recommend that you restart hung handlers.

If you have any questions, please create a ticket to technical support.