Author Topic: Error 504, 503 Gateway Timeout,backend fetch failed and others.  (Read 5009 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Error 504, 503 Gateway Timeout,backend fetch failed and others.
« on: December 04, 2020, 10:41:39 PM »
Hi team, this website is down just few minutes work and frequently and I dont Know What happen, and How to Fix it?






This is The error LOG:


Code: [Select]
[Fri Dec 04 17:32:07.413504 2020] [proxy_fcgi:error] [pid 11689:tid 140652402640640] (70007)The timeout specified has expired: [client 167.86.90.205:54278] AH01075: Error dispatching request to : (polling), referer: https://app.codexbot.co/subscriber_manager/sync_subscribers [Fri Dec 04 17:32:15.125921 2020] [proxy_fcgi:error] [pid 11781:tid 140652343891712] (70007)The timeout specified has expired: [client 173.252.127.117:54896] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:32:21.635708 2020] [proxy_fcgi:error] [pid 11781:tid 140652444604160] (70007)The timeout specified has expired: [client 167.86.90.205:54942] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:32:21.708630 2020] [proxy_fcgi:error] [pid 11781:tid 140652402640640] (70007)The timeout specified has expired: [client 173.252.127.8:54946] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:32:27.639137 2020] [proxy_fcgi:error] [pid 11781:tid 140652511745792] (70007)The timeout specified has expired: [client 167.86.90.205:54980] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:32:29.330267 2020] [proxy_fcgi:error] [pid 11781:tid 140652394247936] (70007)The timeout specified has expired: [client 173.252.127.18:54988] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:32:41.913348 2020] [proxy_fcgi:error] [pid 11688:tid 140652402640640] (70007)The timeout specified has expired: [client 173.252.127.10:55026] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:32:43.569292 2020] [proxy_fcgi:error] [pid 11689:tid 140652394247936] (70007)The timeout specified has expired: [client 173.252.127.42:55030] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:32:51.033320 2020] [proxy_fcgi:error] [pid 11689:tid 140652461389568] (70007)The timeout specified has expired: [client 173.252.95.3:55040] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:32:53.096884 2020] [proxy_fcgi:error] [pid 11781:tid 140652436211456] (70007)The timeout specified has expired: [client 167.86.90.205:55050] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:32:57.913955 2020] [proxy_fcgi:error] [pid 11781:tid 140652494960384] (70007)The timeout specified has expired: [client 167.86.90.205:55054] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:32:58.099359 2020] [proxy_fcgi:error] [pid 11781:tid 140652478174976] (70007)The timeout specified has expired: [client 167.86.90.205:55062] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:33:01.499063 2020] [proxy_fcgi:error] [pid 11689:tid 140652411033344] (70007)The timeout specified has expired: [client 167.86.90.205:55078] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:33:01.749914 2020] [proxy_fcgi:error] [pid 11781:tid 140652427818752] (70007)The timeout specified has expired: [client 144.91.97.161:55088] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:33:02.113098 2020] [proxy_fcgi:error] [pid 11689:tid 140652427818752] (70007)The timeout specified has expired: [client 167.86.90.205:54808] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:33:03.065981 2020] [proxy_fcgi:error] [pid 11781:tid 140652369069824] (70007)The timeout specified has expired: [client 167.86.90.205:55108] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:33:21.660343 2020] [proxy_fcgi:error] [pid 11781:tid 140652461389568] (70007)The timeout specified has expired: [client 167.86.90.205:55159] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:33:21.664955 2020] [proxy_fcgi:error] [pid 11781:tid 140652469782272] (70007)The timeout specified has expired: [client 167.86.90.205:54942] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:33:21.701081 2020] [proxy_fcgi:error] [pid 11689:tid 140652377462528] (70007)The timeout specified has expired: [client 167.86.90.205:55158] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:33:22.467498 2020] [proxy_fcgi:error] [pid 11689:tid 140652343891712] (70007)The timeout specified has expired: [client 173.252.127.22:55164] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:33:27.645999 2020] [proxy_fcgi:error] [pid 11781:tid 140652528531200] (70007)The timeout specified has expired: [client 167.86.90.205:55174] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:33:27.661794 2020] [proxy_fcgi:error] [pid 11688:tid 140652520138496] (70007)The timeout specified has expired: [client 167.86.90.205:55175] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:33:27.668939 2020] [proxy_fcgi:error] [pid 11781:tid 140652352284416] (70007)The timeout specified has expired: [client 167.86.90.205:54980] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:33:32.162006 2020] [proxy_fcgi:error] [pid 11689:tid 140652444604160] (70007)The timeout specified has expired: [client 167.86.90.205:55182] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:33:37.162021 2020] [proxy_fcgi:error] [pid 11781:tid 140652335499008] (70007)The timeout specified has expired: [client 167.86.90.205:55192] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:33:43.167735 2020] [proxy_fcgi:error] [pid 11781:tid 140652343891712] (70007)The timeout specified has expired: [client 167.86.90.205:55200] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:33:43.207076 2020] [proxy_fcgi:error] [pid 11781:tid 140652360677120] (70007)The timeout specified has expired: [client 173.252.127.18:55204] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:33:49.157928 2020] [proxy_fcgi:error] [pid 11688:tid 140652478174976] (70007)The timeout specified has expired: [client 167.86.90.205:55210] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:33:50.526747 2020] [proxy_fcgi:error] [pid 11781:tid 140652503353088] (70007)The timeout specified has expired: [client 179.12.97.8:55216] AH01075: Error dispatching request to : (polling), referer: https://app.codexbot.co/messenger_bot_broadcast [Fri Dec 04 17:33:55.181087 2020] [proxy_fcgi:error] [pid 11781:tid 140652607608576] (70007)The timeout specified has expired: [client 167.86.90.205:55270] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:34:01.313927 2020] [proxy_fcgi:error] [pid 11781:tid 140652444604160] (70007)The timeout specified has expired: [client 167.86.90.205:55336] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:34:01.831962 2020] [proxy_fcgi:error] [pid 11689:tid 140652436211456] (70007)The timeout specified has expired: [client 167.86.90.205:55078] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:34:01.920980 2020] [proxy_fcgi:error] [pid 11687:tid 140652528531200] (70007)The timeout specified has expired: [client 167.86.90.205:55354] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:34:06.780181 2020] [proxy_fcgi:error] [pid 11781:tid 140652486567680] (70007)The timeout specified has expired: [client 173.252.127.2:55378] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:34:07.294954 2020] [proxy_fcgi:error] [pid 11689:tid 140652369069824] (70007)The timeout specified has expired: [client 167.86.90.205:55384] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:34:13.318545 2020] [proxy_fcgi:error] [pid 11781:tid 140652452996864] (70007)The timeout specified has expired: [client 167.86.90.205:55392] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:34:19.314403 2020] [proxy_fcgi:error] [pid 11781:tid 140652511745792] (70007)The timeout specified has expired: [client 167.86.90.205:55398] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:34:25.258937 2020] [proxy_fcgi:error] [pid 11781:tid 140652394247936] (70007)The timeout specified has expired: [client 167.86.90.205:54942] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:34:31.311705 2020] [proxy_fcgi:error] [pid 11781:tid 140652377462528] (70007)The timeout specified has expired: [client 167.86.90.205:54980] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:34:32.487725 2020] [proxy_fcgi:error] [pid 11688:tid 140652494960384] (70007)The timeout specified has expired: [client 167.86.90.205:55175] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:34:37.318510 2020] [proxy_fcgi:error] [pid 11781:tid 140652461389568] (70007)The timeout specified has expired: [client 167.86.90.205:55192] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:34:42.127729 2020] [proxy_fcgi:error] [pid 11781:tid 140652469782272] (70007)The timeout specified has expired: [client 173.252.127.7:55432] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:34:43.317709 2020] [proxy_fcgi:error] [pid 11781:tid 140652419426048] (70007)The timeout specified has expired: [client 167.86.90.205:55438] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:34:49.320021 2020] [proxy_fcgi:error] [pid 11688:tid 140652369069824] (70007)The timeout specified has expired: [client 167.86.90.205:55210] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:34:50.930109 2020] [proxy_fcgi:error] [pid 11688:tid 140652419426048] (70007)The timeout specified has expired: [client 167.86.90.205:55442] AH01075: Error dispatching request to : (polling), referer: https://app.codexbot.co/messenger_bot_enhancers/subscriber_broadcast_campaign [Fri Dec 04 17:34:55.278115 2020] [proxy_fcgi:error] [pid 11689:tid 140652607608576] (70007)The timeout specified has expired: [client 167.86.90.205:55454] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:35:01.327046 2020] [proxy_fcgi:error] [pid 11781:tid 140652436211456] (70007)The timeout specified has expired: [client 167.86.90.205:55470] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:35:01.450739 2020] [proxy_fcgi:error] [pid 11781:tid 140652478174976] (70007)The timeout specified has expired: [client 167.86.90.205:55476] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:35:01.988008 2020] [proxy_fcgi:error] [pid 11689:tid 140652335499008] (70007)The timeout specified has expired: [client 167.86.90.205:55078] AH01075: Error dispatching request to : (polling) [Fri Dec 04 17:35:07.293274 2020] [proxy_fcgi:error] [pid 11689:tid 140652394247936] (70007)The timeout specified has expired: [client 167.86.90.205:55508] AH01075: Error dispatching request to : (polling)
« Last Edit: December 04, 2020, 10:50:55 PM by Anava »

Offline
*
Re: Error 504, 503 Gateway Timeout,backend fetch failed and others.
« Reply #1 on: December 04, 2020, 11:10:46 PM »
you need to check with your system admin or cwp support all services in the chain webservers-php
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
*
Re: Error 504, 503 Gateway Timeout,backend fetch failed and others.
« Reply #2 on: February 16, 2022, 07:27:51 AM »
I have the same issue.
And the log only have:
[Wed Feb 16 07:26:04.519766 2022] [proxy_fcgi:error] [pid 1488:tid 139920228214528] (70007)The timeout specified has expired: [client 54.36.148.53:55432] AH01075: Error dispatching request to : (polling)

Can help me?

Offline
***
Re: Error 504, 503 Gateway Timeout,backend fetch failed and others.
« Reply #3 on: January 30, 2023, 05:01:42 PM »
+1

Offline
*****
Re: Error 504, 503 Gateway Timeout,backend fetch failed and others.
« Reply #4 on: January 30, 2023, 05:49:06 PM »
Change your relevant version's php.ini: max_execution_time = 180 (tripling the default, at least)
Edit: /opt/alt/php-fpmXX/usr/etc/php-fpm.d/www.conf.default to include
Code: [Select]
fastcgi_read_timeout = 3000And edit your nginx config to include (in the http section):
Code: [Select]
fastcgi_read_timeout 3000;Then reload php-fpm and nginx:
Quote
service phpXX-fpm reload
service nginx reload

Offline
*****
Re: Error 504, 503 Gateway Timeout,backend fetch failed and others.
« Reply #5 on: January 31, 2023, 03:03:41 AM »
Files to edit are (if you are using PHP 8.1 -- whatever version you are using):
/opt/alt/php-fpm81/usr/etc/php-fpm.d/www.conf.default

and nginx vhost config:
/etc/nginx/conf.d/vhosts/yourdomain.com.ssl.conf
under the http section.