It is very possible that it’s just my code. I will provide you with the IP address but I need to do it in a more private formate than a public forum thread. I have not implemented any custom user agent functionality yet so I cannot provide that and I do not save my request.
What i I can tell you is that for my username I did not encounter these issues I only encountered them when I was downloading from a user who had a lot more games.
I was downloading for my chess coach with the username TheButcher. If you search your logs for requests last night early morning that contained that username you might be able to find them. It through the 429 after my code got through about 2000 of his games.
I am also running into some rate limiting issues for users who have a large volume of games.
Right now my application will make a request to get the archives for the user then loop through those archives to download the "/pgn" attachment for that user to get all of their games for that month, then move on to the next.
The code for my application runs in a linear fashion and will always wait to receive the response from a request before going on to the next (I think). This makes me think that the rate limiting issues I am facing is due to suspicious activity.
I was wondering if you guys could provide more information on how the rate limiting works and maybe could send me an email to discuss how I would need to develop my code around it?
Eric,
It sounds like you are doing this correctly and there is a bug somewhere on the network. I've reviewed our server logs, and we only see records of delivering 429 coded responses 767 times in the past month, all more than a week ago. So your hunch may be right, and your requests might be getting caught by our anti-DDoS filters.
In order to check, I'd appreciate your help:
Thanks!