Can't load forum - 504 Gateway Time-out

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
User avatar
dwbrown
Registered User
Posts: 29
Joined: Wed Jan 11, 2017 1:48 pm
Location: Oxford, England
Name: Dave Brown
Contact:

Can't load forum - 504 Gateway Time-out

Post by dwbrown » Fri Jan 04, 2019 8:39 pm

Hi Guru's,

I hope we are all recovered from the festive activities.

Unfortunately my forum appears to have come out with a bit of a hangover.

It appears to have just stopped working.

I can ftp in and see it's all still there.

I can still see the root of and browse to the main website https://www.gpoc.co.uk/

But the forum url is just timing out https://www.gpoc.co.uk/forums

I asked the hosting company, but t's all a little way above my head - see below.

Is there anyone able to translate why this should pop up all of a sudden after the forum running fine for years.

Even better if you know a solution I can apply, I would be eternally in your gratitude.

Warmest Regards - Dave.B

Hi Mr. Brown

I have accessed your webspace and checked the error logs which I posted the error message below. It appears that your running scripts now requires more than our shared limits. There is a maximum execution timeout of 60 seconds for the current server you got. Once this is exceeded, the website will throw an error message or it will fail to function. There is also no way for us to increase the exec time as this has been set by default by the shared server. If the web scripts exceeded on this limit, we will advise you to adjust this according to limitation and avoid excessive usage of the shared server resources.

As much as I would wish to help you identify the lines from your scripts which may have caused the issue, however, scripting is of wide scope that only the person who builds it are the ones who are familiar with it.

[Thu Jan 03 21:35:20.001241 2019] [fcgid:warn] [pid 53936] [client 46.229.168.130:37741] mod_fcgid: read data timeout in 60 seconds
[Thu Jan 03 21:35:20.002278 2019] [core:error] [pid 53936] [client 46.229.168.130:37741] End of script output before headers: php70-cgi

Please see attached text file for the complete error log report.

Best regards,

Catherine
Fasthosts Customer Support

User avatar
warmweer
Registered User
Posts: 1780
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

Re: Can't load forum - 504 Gateway Time-out

Post by warmweer » Fri Jan 04, 2019 8:52 pm

Use the SRT to give some basic info needed.
Any extensions or modifications?
If possible show that complete error log report (remove confidential info if necessary) as it may point to the guilty script(s).
A bug is a feature that hasn't made it to the manual (yet)

User avatar
AbaddonOrmuz
Registered User
Posts: 461
Joined: Wed Dec 25, 2013 9:06 pm
Location: /dev/null
Name: Alfredo Ramos
Contact:

Re: Can't load forum - 504 Gateway Time-out

Post by AbaddonOrmuz » Fri Jan 04, 2019 8:58 pm

Some script is taking too much time to finish, it could be a script that processes a high volume of data, but you did not include the log so the only person who could know which page is the one that is giving you problems, is you.

Investigate if it's a extension problem, so you could disable it and fix it. But it could also be a hosting strategy to force you to upgrade to a higher plan, I've experienced that before, so I moved to a VPS :lol:
A proudly user of Arch Linux :: /r/sddm_themes

User avatar
dwbrown
Registered User
Posts: 29
Joined: Wed Jan 11, 2017 1:48 pm
Location: Oxford, England
Name: Dave Brown
Contact:

Re: Can't load forum - 504 Gateway Time-out

Post by dwbrown » Sat Jan 05, 2019 4:56 pm

Thanks gang, if anyone can make headnortail of that little lot below I'll be getting the virtual beers in......

Code: Select all

[Thu Jan 03 20:59:02.732394 2019] [fcgid:warn] [pid 34125] [client 74.208.134.21:10903] mod_fcgid: read data timeout in 60 seconds, referer: http://gpoc.co.uk/
[Thu Jan 03 20:59:02.733809 2019] [core:error] [pid 34125] [client 74.208.134.21:10903] End of script output before headers: php73-cgi, referer: http://gpoc.co.uk/
[Thu Jan 03 21:00:02.740140 2019] [fcgid:warn] [pid 31402] [client 74.208.134.21:3821] mod_fcgid: read data timeout in 60 seconds, referer: http://gpoc.co.uk/
[Thu Jan 03 21:00:02.750146 2019] [core:error] [pid 31402] [client 74.208.134.21:3821] End of script output before headers: php73-cgi, referer: http://gpoc.co.uk/
[Thu Jan 03 21:01:02.611665 2019] [fcgid:warn] [pid 60072] [client 74.208.134.21:60919] mod_fcgid: read data timeout in 60 seconds, referer: http://gpoc.co.uk/
[Thu Jan 03 21:01:02.613819 2019] [core:error] [pid 60072] [client 74.208.134.21:60919] End of script output before headers: php73-cgi, referer: http://gpoc.co.uk/
[Thu Jan 03 21:09:59.442131 2019] [fcgid:warn] [pid 36775] [client 216.244.66.234:12589] mod_fcgid: read data timeout in 60 seconds
[Thu Jan 03 21:09:59.442840 2019] [core:error] [pid 36775] [client 216.244.66.234:12589] End of script output before headers: php70-cgi
[Thu Jan 03 21:12:13.666815 2019] [fcgid:warn] [pid 36878] [client 216.244.66.234:11635] mod_fcgid: read data timeout in 60 seconds
[Thu Jan 03 21:12:13.668180 2019] [core:error] [pid 36878] [client 216.244.66.234:11635] End of script output before headers: php70-cgi
[Thu Jan 03 21:14:33.097783 2019] [fcgid:warn] [pid 49665] [client 216.244.66.234:17719] mod_fcgid: read data timeout in 60 seconds
[Thu Jan 03 21:14:33.101059 2019] [core:error] [pid 49665] [client 216.244.66.234:17719] End of script output before headers: php70-cgi
[Thu Jan 03 21:17:52.998732 2019] [fcgid:warn] [pid 41854] [client 46.229.168.151:4849] mod_fcgid: read data timeout in 60 seconds
[Thu Jan 03 21:17:52.999644 2019] [core:error] [pid 41854] [client 46.229.168.151:4849] End of script output before headers: php70-cgi
[Thu Jan 03 21:18:08.068207 2019] [fcgid:warn] [pid 52247] [client 46.229.168.151:24715] mod_fcgid: read data timeout in 60 seconds
[Thu Jan 03 21:18:08.069271 2019] [core:error] [pid 52247] [client 46.229.168.151:24715] End of script output before headers: php70-cgi
[Thu Jan 03 21:19:01.535188 2019] [fcgid:warn] [pid 55250] [client 46.229.168.133:28517] mod_fcgid: read data timeout in 60 seconds
[Thu Jan 03 21:19:01.536753 2019] [core:error] [pid 55250] [client 46.229.168.133:28517] End of script output before headers: php70-cgi
[Thu Jan 03 21:19:16.367629 2019] [fcgid:warn] [pid 43762] [client 46.229.168.133:56575] mod_fcgid: read data timeout in 60 seconds
[Thu Jan 03 21:19:16.368018 2019] [core:error] [pid 43762] [client 46.229.168.133:56575] End of script output before headers: php70-cgi
[Thu Jan 03 21:25:07.901128 2019] [fcgid:warn] [pid 47018] [client 46.229.168.147:34237] mod_fcgid: read data timeout in 60 seconds
[Thu Jan 03 21:25:07.902250 2019] [core:error] [pid 47018] [client 46.229.168.147:34237] End of script output before headers: php70-cgi
[Thu Jan 03 21:25:22.996136 2019] [fcgid:warn] [pid 63661] [client 46.229.168.147:49169] mod_fcgid: read data timeout in 60 seconds
[Thu Jan 03 21:25:22.996886 2019] [core:error] [pid 63661] [client 46.229.168.147:49169] End of script output before headers: php70-cgi
[Thu Jan 03 21:30:43.794156 2019] [fcgid:warn] [pid 2148] [client 46.229.168.129:2265] mod_fcgid: read data timeout in 60 seconds
[Thu Jan 03 21:30:43.794968 2019] [core:error] [pid 2148] [client 46.229.168.129:2265] End of script output before headers: php70-cgi
[Thu Jan 03 21:30:58.765608 2019] [fcgid:warn] [pid 50781] [client 46.229.168.129:23225] mod_fcgid: read data timeout in 60 seconds
[Thu Jan 03 21:30:58.766516 2019] [core:error] [pid 50781] [client 46.229.168.129:23225] End of script output before headers: php70-cgi
[Thu Jan 03 21:33:02.974651 2019] [fcgid:warn] [pid 2889] [client 46.229.168.142:35131] mod_fcgid: read data timeout in 60 seconds
[Thu Jan 03 21:33:02.975551 2019] [core:error] [pid 2889] [client 46.229.168.142:35131] End of script output before headers: php70-cgi
[Thu Jan 03 21:33:17.844650 2019] [fcgid:warn] [pid 48799] [client 46.229.168.142:5925] mod_fcgid: read data timeout in 60 seconds
[Thu Jan 03 21:33:17.848096 2019] [core:error] [pid 48799] [client 46.229.168.142:5925] End of script output before headers: php70-cgi
[Thu Jan 03 21:35:20.001241 2019] [fcgid:warn] [pid 53936] [client 46.229.168.130:37741] mod_fcgid: read data timeout in 60 seconds
[Thu Jan 03 21:35:20.002278 2019] [core:error] [pid 53936] [client 46.229.168.130:37741] End of script output before headers: php70-cgi
[Thu Jan 03 21:39:54.755125 2019] [fcgid:warn] [pid 56587] [client 161.202.65.118:50927] mod_fcgid: read data timeout in 60 seconds, referer: http://gpoc.co.uk/
[Thu Jan 03 21:39:54.755896 2019] [core:error] [pid 56587] [client 161.202.65.118:50927] End of script output before headers: php70-cgi, referer: http://gpoc.co.uk/
[Thu Jan 03 21:40:27.746760 2019] [fcgid:warn] [pid 55835] [client 161.202.65.118:34925] mod_fcgid: read data timeout in 60 seconds, referer: http://gpoc.co.uk/
[Thu Jan 03 21:40:27.747771 2019] [core:error] [pid 55835] [client 161.202.65.118:34925] End of script output before headers: php70-cgi, referer: http://gpoc.co.uk/
[Thu Jan 03 21:41:01.026130 2019] [fcgid:warn] [pid 57291] [client 161.202.65.118:26269] mod_fcgid: read data timeout in 60 seconds, referer: http://gpoc.co.uk/
[Thu Jan 03 21:41:01.030129 2019] [core:error] [pid 57291] [client 161.202.65.118:26269] End of script output before headers: php70-cgi, referer: http://gpoc.co.uk/
[Thu Jan 03 21:41:15.223142 2019] [fcgid:warn] [pid 57316] [client 74.208.134.21:14437] mod_fcgid: read data timeout in 60 seconds
[Thu Jan 03 21:41:15.223198 2019] [core:error] [pid 57316] [client 74.208.134.21:14437] End of script output before headers: php70-cgi
[Thu Jan 03 21:41:35.090869 2019] [fcgid:warn] [pid 8179] [client 161.202.65.118:47519] mod_fcgid: read data timeout in 60 seconds, referer: http://gpoc.co.uk/
[Thu Jan 03 21:41:35.092615 2019] [core:error] [pid 8179] [client 161.202.65.118:47519] End of script output before headers: php70-cgi, referer: http://gpoc.co.uk/
[Thu Jan 03 21:42:11.424196 2019] [fcgid:warn] [pid 57372] [client 161.202.65.118:10595] mod_fcgid: read data timeout in 60 seconds, referer: http://gpoc.co.uk/
[Thu Jan 03 21:42:11.424934 2019] [core:error] [pid 57372] [client 161.202.65.118:10595] End of script output before headers: php70-cgi, referer: http://gpoc.co.uk/
[Thu Jan 03 21:42:15.347179 2019] [fcgid:warn] [pid 12584] [client 74.208.134.21:56645] mod_fcgid: read data timeout in 60 seconds
[Thu Jan 03 21:42:15.348516 2019] [core:error] [pid 12584] [client 74.208.134.21:56645] End of script output before headers: php70-cgi
[Thu Jan 03 21:42:46.118179 2019] [fcgid:warn] [pid 9799] [client 161.202.65.118:39739] mod_fcgid: read data timeout in 60 seconds, referer: http://gpoc.co.uk/
[Thu Jan 03 21:42:46.119939 2019] [core:error] [pid 9799] [client 161.202.65.118:39739] End of script output before headers: php70-cgi, referer: http://gpoc.co.uk/
[Thu Jan 03 21:43:14.343284 2019] [fcgid:warn] [pid 19356] [client 74.208.134.21:2547] mod_fcgid: read data timeout in 60 seconds
[Thu Jan 03 21:43:14.344484 2019] [core:error] [pid 19356] [client 74.208.134.21:2547] End of script output before headers: php70-cgi
[Thu Jan 03 21:45:33.052119 2019] [fcgid:warn] [pid 59517] [client 216.244.66.234:2345] mod_fcgid: read data timeout in 60 seconds
[Thu Jan 03 21:45:33.055103 2019] [core:error] [pid 59517] [client 216.244.66.234:2345] End of script output before headers: php70-cgi
[Thu Jan 03 21:47:09.481287 2019] [fcgid:warn] [pid 12685] [client 74.208.134.21:51959] mod_fcgid: read data timeout in 60 seconds
[Thu Jan 03 21:47:09.482140 2019] [core:error] [pid 12685] [client 74.208.134.21:51959] End of script output before headers: php70-cgi
[Thu Jan 03 21:47:43.313783 2019] [fcgid:warn] [pid 17949] [client 216.244.66.234:43309] mod_fcgid: read data timeout in 60 seconds
[Thu Jan 03 21:47:43.314629 2019] [core:error] [pid 17949] [client 216.244.66.234:43309] End of script output before headers: php70-cgi
[Thu Jan 03 21:48:09.410800 2019] [fcgid:warn] [pid 61400] [client 74.208.134.21:43117] mod_fcgid: read data timeout in 60 seconds
[Thu Jan 03 21:48:09.414759 2019] [core:error] [pid 61400] [client 74.208.134.21:43117] End of script output before headers: php70-cgi
[Thu Jan 03 21:50:02.263274 2019] [fcgid:warn] [pid 61048] [client 216.244.66.234:59711] mod_fcgid: read data timeout in 60 seconds
[Thu Jan 03 21:50:02.269252 2019] [core:error] [pid 61048] [client 216.244.66.234:59711] End of script output before headers: php70-cgi
[Thu Jan 03 21:51:36.912122 2019] [fcgid:warn] [pid 62946] [client 149.22.24.150:6455] mod_fcgid: read data timeout in 60 seconds
[Thu Jan 03 21:51:36.914241 2019] [core:error] [pid 62946] [client 149.22.24.150:6455] End of script output before headers: php70-cgi

User avatar
david63
Jr. Extension Validator
Posts: 15270
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Can't load forum - 504 Gateway Time-out

Post by david63 » Sat Jan 05, 2019 5:35 pm

My guess is that the hosts have changed something in an attempt to get you to upgrade to a more expensive plan.

Suggestion - change hosts, things like this don't "just happen"
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 49913
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Can't load forum - 504 Gateway Time-out

Post by stevemaury » Sat Jan 05, 2019 6:24 pm

I see references to php 7.3, which does not support phpBB. Please rename the attached phpinfo.rtf file to phpinfo.php and upload it to the root of your phpBB installation (The /forums folder) and then browse to it ( https://www.gpoc.co.uk/forums/phpinfo.php) and tell us what your php version is.

Also, what is your phpBB version?
Attachments
phpinfo.rtf
(557 Bytes) Downloaded 2 times
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. PM or email me. (Paid support)

All unsolicited PMs will be ignored.

User avatar
dwbrown
Registered User
Posts: 29
Joined: Wed Jan 11, 2017 1:48 pm
Location: Oxford, England
Name: Dave Brown
Contact:

Re: Can't load forum - 504 Gateway Time-out

Post by dwbrown » Sat Jan 05, 2019 9:06 pm

Right, been into host cpl and set from php 7 to php 5.6.
Board was updated from 3.2.4 -> 3.2.5 on the 28/12/2018 and was running fine up until yesterday.
Sent email to fasthosts saying that it works fine hosted elsewhere, and that if it's not a me problem, then I'll host it elsewhere and terminate (with prejudice) my hosting package.
It appears to be back a few hours after that email, apart from something screwy now with the Admin ACP - When logged into the ACP I can only see the "General" tab, clicking on any of the others throws up a HTTP ERROR 401.

The thick plottens.....

User avatar
dwbrown
Registered User
Posts: 29
Joined: Wed Jan 11, 2017 1:48 pm
Location: Oxford, England
Name: Dave Brown
Contact:

Re: Can't load forum - 504 Gateway Time-out

Post by dwbrown » Fri Jan 11, 2019 11:00 am

.... and now back to not being able to load the forums, but the root page is ok

https://www.gpoc.co.uk/

https://www.gpoc.co.uk/forums/

Frustrating to say the least.....

User avatar
dwbrown
Registered User
Posts: 29
Joined: Wed Jan 11, 2017 1:48 pm
Location: Oxford, England
Name: Dave Brown
Contact:

Re: Can't load forum - 504 Gateway Time-out

Post by dwbrown » Fri Jan 11, 2019 2:16 pm

[Fri Jan 11 03:48:33.313433 2019] [core:error] [pid 39854] [client 46.229.168.152:48849] End of script output before headers: php56-cgi
[Fri Jan 11 03:55:54.529409 2019] [fcgid:warn] [pid 27717] [client 46.229.168.148:23651] mod_fcgid: read data timeout in 60 seconds
[Fri Jan 11 03:55:54.532857 2019] [core:error] [pid 27717] [client 46.229.168.148:23651] End of script output before headers: php56-cgi
[Fri Jan 11 03:56:09.821645 2019] [fcgid:warn] [pid 41539] [client 46.229.168.148:47435] mod_fcgid: read data timeout in 60 seconds
[Fri Jan 11 03:56:09.823777 2019] [core:error] [pid 41539] [client 46.229.168.148:47435] End of script output before headers: php56-cgi
[Fri Jan 11 03:58:32.903366 2019] [fcgid:warn] [pid 45181] [client 46.229.168.148:23203] mod_fcgid: read data timeout in 60 seconds
[Fri Jan 11 03:58:32.904387 2019] [core:error] [pid 45181] [client 46.229.168.148:23203] End of script output before headers: php56-cgi
[Fri Jan 11 03:58:47.912402 2019] [fcgid:warn] [pid 28187] [client 46.229.168.148:30751] mod_fcgid: read data timeout in 60 seconds
[Fri Jan 11 03:58:47.912820 2019] [core:error] [pid 28187] [client 46.229.168.148:30751] End of script output before headers: php56-cgi
[Fri Jan 11 04:00:48.244374 2019] [fcgid:warn] [pid 45300] [client 46.229.168.131:13419] mod_fcgid: read data timeout in 60 seconds
[Fri Jan 11 04:00:48.245202 2019] [core:error] [pid 45300] [client 46.229.168.131:13419] End of script output before headers: php56-cgi

User avatar
david63
Jr. Extension Validator
Posts: 15270
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Can't load forum - 504 Gateway Time-out

Post by david63 » Fri Jan 11, 2019 2:24 pm

This is a sever configuration problem that only your hosts can fix - perhaps refer them to this https://support.plesk.com/hc/en-us/arti ... ta-timeout
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 49913
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Can't load forum - 504 Gateway Time-out

Post by stevemaury » Fri Jan 11, 2019 6:27 pm

mod-fcgid is a module that runs on the HOST'S server. See https://httpd.apache.org/mod_fcgid/

See also https://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html

This is a host issue.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. PM or email me. (Paid support)

All unsolicited PMs will be ignored.

User avatar
dwbrown
Registered User
Posts: 29
Joined: Wed Jan 11, 2017 1:48 pm
Location: Oxford, England
Name: Dave Brown
Contact:

Re: Can't load forum - 504 Gateway Time-out

Post by dwbrown » Sat Jan 12, 2019 6:35 pm

Thanks guys ..... I'll forward this info on.

User avatar
dwbrown
Registered User
Posts: 29
Joined: Wed Jan 11, 2017 1:48 pm
Location: Oxford, England
Name: Dave Brown
Contact:

Re: Can't load forum - 504 Gateway Time-out

Post by dwbrown » Sat Jan 12, 2019 9:50 pm

You ever get that feeling you're banging your head against a wall.......

Dear Dave
Yes, the timeout error is caused by the server due to the maximum execution time set on our shared servers is 60 seconds by default. Since the script on your site requires more than what is set on our servers then this results to a timeout. You may need to optimise the script in your website to meet the 60 second timeout. You can check on forums on optimising scripts. Should you have other concerns please inform us.
Best regards,
Reynaldo
Fasthosts Customer Support

User avatar
Lumpy Burgertushie
Registered User
Posts: 65524
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Can't load forum - 504 Gateway Time-out

Post by Lumpy Burgertushie » Sun Jan 13, 2019 3:16 am

paste a copy of your config.php file here without the username/password

also, you might try renaming your forums folder to forums_old and uploading a whole new set of phpbb files to the server into a folder named forums.
then, copy your existing config.php file over to the new set of files letting it overwrite the existing blank config.php file.
rename or remove the folder named install and then test by trying to access the forums.

if it works, then there is something wrong with your files.


robert
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

OK, so what's the speed of dark?

User avatar
dwbrown
Registered User
Posts: 29
Joined: Wed Jan 11, 2017 1:48 pm
Location: Oxford, England
Name: Dave Brown
Contact:

Re: Can't load forum - 504 Gateway Time-out

Post by dwbrown » Sun Jan 13, 2019 1:59 pm

<?php
// phpBB 3.1.x auto-generated configuration file
// Do not change anything in this file!
$dbms = 'phpbb\\db\\driver\\mysqli';
$dbhost = 'xxx';
$dbport = '';
$dbname = 'xxx';
$dbuser = 'xxx';
$dbpasswd = 'xxx';
$table_prefix = 'phpbb_';
$phpbb_adm_relative_path = 'adm/';
$acm_type = 'phpbb\\cache\\driver\\file';

@define('PHPBB_INSTALLED', true);
// @define('PHPBB_DISPLAY_LOAD_TIME', true);
// @define('DEBUG', true);
// @define('DEBUG_CONTAINER', true);

Post Reply

Return to “[3.2.x] Support Forum”

Who is online

Users browsing this forum: EA117, janus_zonstraal, kinerity, kteague, oxpus, stevemaury and 32 guests