atlantis icon indicating copy to clipboard operation
atlantis copied to clipboard

Avoid Slack rate limiting?

Open jmreicha opened this issue 5 years ago • 4 comments

I have added the (udpated) Slack functionality, but am seeing the following error when attempting to start Atlantis.

initializing webhooks: Slack rate limit exceeded, retry after 3s

We have a large Slack organization and I have a feeling that this is interfering with the Slack integration (though no way to prove it). Is there anything that can be done to mitigate the rate limits? Maybe add some delay to the code to avoid triggering the rate limit or just retry instead of exiting the process?

I am using the functionality from this https://github.com/runatlantis/atlantis/pull/1350 PR that hits the Slack conversations.list api.

jmreicha avatar Feb 19 '21 18:02 jmreicha

We are experiencing the same issue (also big organization), @jmreicha did you find a way to solve it?

ranschn avatar Apr 14 '22 14:04 ranschn

Same here, literally unusable in a large Slack organization.

Why do we need to make sure the channel exists at all here? Just send the message, let Slack API handle it.

konradasb avatar May 06 '22 08:05 konradasb

@ranschn yeah never got around to a solution.

jmreicha avatar May 06 '22 12:05 jmreicha

Same here; any updates on this?

pantelis-karamolegkos avatar Jun 22 '22 15:06 pantelis-karamolegkos

Is this still an issue with the latest version?

nitrocode avatar Dec 29 '22 02:12 nitrocode