lichess-org / api

Lichess API documentation and examples
https://lichess.org/api
GNU Affero General Public License v3.0
447 stars 150 forks source link

Constant 429 Too Many Requests #396

Open stevehjohn opened 3 days ago

stevehjohn commented 3 days ago

Hi,

I've been using your awesome API to pit a bot I'm developing against other online bots. Unfortunately, last night I kept getting 429 responses. I shut everything down and went to bed. I tried one game this morning and the first API call returned 429 even though I hadn't made a request for hours.

Any ideas what the issue could be here?

Keep up the good work. Awesome site and API.

Thanks inn advance,

Steve.

stevehjohn commented 2 days ago

I went to /appeal and it says my account is not marked as restricted. I wasn't doing anything nefarious. Just playing one game at a time. The flow was:

It's a little frustrating as I'd just gotten the API client working properly, and the engine detecting wins/losses correctly.

stevehjohn commented 2 days ago

Hmm. It's back now approximately 12 hours after it stopped working...

stevehjohn commented 2 days ago

Will close this issue soon as it's working now, just leaving open for a short file to see if anyone can explain what I might have done to be blocked for ~12h, so that I don't do it again.