Stop Forum Spam

Gateway Timeout - Stop Forum Spam

Gateway Timeout

by Tarantino » Tue Nov 21, 2017 11:35 pm

I'm getting a Gateway Timeout when trying to enable the 1.0.7 version.
I was on 3.1.10 and changed to 1.0.7 and then upgrade to 3.2.1, and now when I try to enable, it goes and goes and then, timeout.
Is there a way to enable this via ssh?
User avatar
Tarantino
Registered User
Posts: 658
Joined: Sat Feb 18, 2012 1:51 pm
Contact:

Re: Gateway Timeout

by RMcGirr83 » Wed Nov 22, 2017 11:32 am

Get the server logs from the host to see why the error is being generated.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored
User avatar
RMcGirr83
Recognised Extension Developer
Posts: 20852
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Gateway Timeout

by Tarantino » Wed Nov 22, 2017 12:45 pm

I guess it was a problem with cloudflare CDN. I changed to Let's Encrypt and then it enabled right away. Dunno if it was related, but well. I've saw the log but nothing about this incident.
User avatar
Tarantino
Registered User
Posts: 658
Joined: Sat Feb 18, 2012 1:51 pm
Contact:

Re: Gateway Timeout

by RMcGirr83 » Wed Nov 22, 2017 6:16 pm

Yeah cloudflare is known to cause issues if it isn't setup correctly.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored
User avatar
RMcGirr83
Recognised Extension Developer
Posts: 20852
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Gateway Timeout

by mikkatzzz » Sun Jan 21, 2018 9:41 pm

I got the same problem (phpbb 3.2.2), but in my case the database (MariaDB) seems to be at fault: the operation to ALTER the posts table took 10 minutes so the extension activation thre a timeout.

Is there a way to manually activate the extension (e.g. by doing the SQL-commands directly)?

Thanks!
Thomas
mikkatzzz
Registered User
Posts: 6
Joined: Sun Mar 01, 2015 6:41 pm

Re: Gateway Timeout

by mikkatzzz » Sun Jan 21, 2018 11:12 pm

Now it worked!
mikkatzzz
Registered User
Posts: 6
Joined: Sun Mar 01, 2015 6:41 pm

Re: Gateway Timeout

by developr » Sat Jun 09, 2018 4:16 pm

I have the same problem. The script to delete the "worker files" is running since 35 minutes.

I had a look in mysql process list and there is only one process "UPDATE phpbb_ext SET ext_state = 'b:1;' WHERE ext_name = 'rmcgirr83/stopforumspam'".
developr
Registered User
Posts: 1
Joined: Sat Jun 09, 2018 12:58 pm
Contact: