Last modified: 2012-06-08 20:49:55 UTC
Hi My IP (193.54.67.101) was banned because I overused the mediawiki API, I wrote my program using the scrapy library which runs up to 8 requests in parallel by default, I've changed that so it runs the requests linearly. I now use the maxlag parameter as well. Would it be possible to have my IP unbanned ? Thanks Romain
On which wiki were you banned? fr.wikipedia.org does not show any block for that IP.
No I sent requests to the english one, however it seems that the IP is banned for the french one as well
If he's really banned for excesive API usage (he won't even view wikipedia pages), his ip will have been blocked at squid config.
Yes, I can't ping the servers either
(In reply to comment #4) > Yes, I can't ping the servers either ops issue?
I don't know if it can help but if I ping from another server in the same IP range, it works
(In reply to comment #5) > (In reply to comment #4) > > Yes, I can't ping the servers either > > ops issue? Definitely an ops ban. Lets open a RT ticket since ops never looks at +ops tickets.
RT : https://rt.wikimedia.org/Ticket/Display.html?id=3024 That is the private bug system for operations.
Hi Do you have any update ? Thanks
Hi It seems that I can now reach the server (I can ping and do HTTP requests), however the server now sends an error 403 when I make requests. Regards Romain
I unbanned at the squid level, please check your access now.
It works :) Thanks a lot Romain
Thanks Ariel :-]
For future reference :-) https://www.mediawiki.org/wiki/API:Etiquette
I knew that, but I didn't know that my scrapping library was doing 8 requests in parallel by default :)
Which library was that? It doesn't seem like a good default. See for instance how until a few years ago, the browsers were still using the hint of rfc2616, 8.1.4 of not keeping more than 2 connections open to a given server.
It's called scrapy, you can see the setting defined there http://doc.scrapy.org/en/0.14/topics/settings.html#concurrent-requests-per-domain