FTB-Gamepedia / FTB-Wiki-Issue-Tracker

Issue tracking (and hopefully squashing) for the FTB Wiki
http://ftb.gamepedia.com
1 stars 0 forks source link

Mass-automated edits cause errors #9

Closed elifoster closed 9 years ago

elifoster commented 9 years ago

503 internal server errors, to be specific.

Telshin commented 9 years ago

Is this using a bot or some other tool?

elifoster commented 9 years ago

It is using my bot.

Telshin commented 9 years ago

Which bot because I"ve not heard of others having this issue.

elifoster commented 9 years ago

I used a hyperlink in that previous post :P https://github.com/satanicsanta/satanicbot

Telshin commented 9 years ago

This can happen with bots especially if a query is taking over 30 seconds in the DB. We have a process that kinda kills those long running processes. I recommend adding in some error handling for those situations.

ghost commented 9 years ago

@satanicsanta Which command exactly is causing the issue, I can probably hook something into it to handle errors and return stack traces for processes that are causing it.

elifoster commented 9 years ago

@cblair91 t's actually not a command. It's my userlinks thing made to fix the links to all my user and talk pages.

ghost commented 9 years ago

@satanicsanta Source code link?

elifoster commented 9 years ago

@cblair91 https://github.com/satanicsanta/SatanicBot/blob/master/src/userlinks.pl

ghost commented 9 years ago

Should be better error handling, sometimes the server can respond slowly due to CloudFlare, but if it's that case, it'll ignore it now and just continue with the list.

ghost commented 9 years ago

@elifoster Any update on if this is better? :)

elifoster commented 9 years ago

I have not tested it. I've been on a wiki-vacation for the past few months. If I remember I'll try to run the script when I get home today, though I may forget since I have college orientation tonight.

elifoster commented 9 years ago

This was fixed a while ago.