r/ContextModBot • u/FoxxMD • Nov 30 '21
Recent reddit API issues
My ContextMod instance is now temporarily down due to unacknowledged API issues reddit is dealing with site-wide.
As a general PSA: there have not been any recent changes to CM or its behavior. Everything was operating normally until yesterday morning when reddit started returning 403's (see the linked thread).
I believe any issues related to the bot slamming the API are related to
- snoowrap queueing api requests when rate-limited (or when api is not available), with the continueAfterRatelimitError option
- liberal retry policies i have rolled into polling for the bot
I am updating code related to both of these so the back-off behavior for both of these is more aggressive and stops the bot sooner.
If you receive a message from the admins about bot behavior please direct them to this thread or to PM me, thanks.
View all comments
Show parent comment
4
u/FoxxMD Nov 30 '21
Thank you for the response!
When building CM I tried to make it sensitive to reddit's api state -- it already has back off behavior and tries to be conservative with requests when things aren't normal but it looks like it hasn't been enough or this scenario fell through the cracks 🙃