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

Rate limited #1384

Closed
ahadjithoma opened this issue Aug 12, 2017 · 13 comments
Closed

Rate limited #1384

ahadjithoma opened this issue Aug 12, 2017 · 13 comments
Labels

Comments

@ahadjithoma
Copy link

I am getting a message info: Rate limited, will retry 9 seconds and i don't know where it comes from. I'm running hubot in Slack and deployed locally.

Any ideas?

@mchristensen76
Copy link

mchristensen76 commented Aug 12, 2017

Running the following command indicates its coming from the slack/client module:

grep -R "Rate limited, will retry" *

node_modules/@slack/client/lib/clients/transports/call-transport.js: client.logger('info', 'Rate limited, will retry %s seconds', headerSecs);

We started seeing that error a lot recently and for us its related to this issue: slackapi/hubot-slack#420

If you do a lot of call's to robot.brain.set you'll run into the issue reported above. The source of the problem is in the file hubot-slack/src/bot.coffee, line 58.

At least for us that's why we are seeing that same rate limit error. Slack says they are trying to get more priority on that open issue.

@ahadjithoma
Copy link
Author

thanks for that command!

If you do a lot of call's to robot.brain.set you'll run into the issue reported above. The source of the problem is in the file hubot-slack/src/bot.coffee, line 58.

makes sense now, because i started seeing this error when i started using the robot.brain.set/get

@stale
Copy link

stale bot commented Nov 11, 2017

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 11, 2017
@stale stale bot closed this as completed Nov 18, 2017
@dodgepong
Copy link

For future Googlers, I found this searching for info: Rate limited, will retry 10 seconds, and I had several calls to robot.brain.set in my code. This issue was fixed in hubot-slack v4.4.0, and upgrading to that version fixed the issue for me. I no longer have my log spammed with timeout messages and my bot no longer randomly stops responding to requests.

@santimendoza
Copy link

For future Googlers, I found this searching for info: Rate limited, will retry 10 seconds, and I had several calls to robot.brain.set in my code. This issue was fixed in hubot-slack v4.4.0, and upgrading to that version fixed the issue for me. I no longer have my log spammed with timeout messages and my bot no longer randomly stops responding to requests.

That's weird. I am using v.4.5.5 and receiving that console log when initiating my bot. Any ideas?

@ShiMing-Q
Copy link

Still get info: Rate limited against hubot-slack v4.6.0

@sankalp-khare
Copy link

And on 4.7.2 as well.

@ThilekSilvadorai-TomTom
Copy link

4.8.0 as well after using hubot-redis-brain

@zdtsw
Copy link

zdtsw commented Nov 3, 2020

on v4.8.1, no hubot-redis-brain enabled, same message.

@magander3
Copy link

Also on v4.8.1 and getting the same message. Did anyone find a solution ?

@slotdawg
Copy link

Also on v4.9.0...

@Deepak-DSS-L3
Copy link

It is still there , we have a org size of 40K plus , any solutions yet ?

@chrisbolt
Copy link

slackapi/hubot-slack#621

API_PAGE_SIZE=1000 can reduce the messages, DISABLE_USER_SYNC=true will fix.

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