K
K
Koal Koalich2021-11-23 16:08:59
Nginx
Koal Koalich, 2021-11-23 16:08:59

Error 502. Is there a problem in the site code or in the server settings?

Bitrix. The site on the main domain issues 502. Everything is fine on subdomains. Shared hosting.
TP replies:
-----------------
Technical support, 15:34

There is an error in the logs at the time of the error 502:

Nov 23 13:54:18 bitrix382 nginx_error: 2021/11/23 13:54:18 [error] 40430#0: *94034497 connect() failed (111: Connection refused) while connecting to upstream, client: xxxx, server: www.0010150.ru , request: "GET / HTTP/2.0" , upstream: " 127.0.5.75:104 ", host: "myhostxxxxx.com"

The problem is in the execution of site scripts.

If this problem occurs often enough, you need to determine which script is causing it. From our side, logging of the work of scripts, alas, is not conducted. To analyze and optimize the code, please contact the CMS support service or the site developers.

A temporary solution is to restart the handlers by changing the PHP version in the site settings back and forth, but this will only remove the symptoms. As a result, you need to optimize the code.
-----------------

It seems to me that the problem is still with them, and not with me, right? If they have, then how to appeal?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem Zhitnik, 2021-11-23
@art-zhitnik

Turn on logging in Bitrix, maybe something will clear up

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question