Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ratelimit #61

Open
wulfharth7 opened this issue Aug 8, 2022 · 0 comments
Open

Ratelimit #61

wulfharth7 opened this issue Aug 8, 2022 · 0 comments
Assignees
Labels

Comments

@wulfharth7
Copy link

Can't send comment replies - have to wait 10 minutes
So whenever I run my app locally, this rate limit thing never was an issue, I could send comments literally every second, mind you that the bot reddit account is fairly new - around 5 days.

I decided that its ready to deploy on heroku, so I did that, it works every now and then, but the thing is, it gives an error. Only gives it on heroku, not locally.

To Reproduce
Unhandled rejection Error: RATELIMIT,Looks like you've been doing that a lot. Take a break for 9 minutes before trying again.,ratelimit

Expected behavior
I actually am confused why this happens, im not sure if that's because of my config or heroku itself? because as I said, this was not the case when I run my bot locally

System Configuration:
Using Javascript
Node 16.16.0, npm 8.11
"snoostorm": "^1.5.2",
"snoowrap": "^1.23.0",

Additional context
That's it, bug only happens when its deployed online and working that way, rather than locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants