RTMClient may spew rtm.connect calls causing Slack Servers to rate limit #1057
Labels
needs info
An issue that is claimed to be a bug and hasn't been reproduced, or otherwise needs more info
question
M-T: User needs support to use the project
rtm-client
Version: 2x
We had an issue where new message events were not arriving for a short time. Our logs didn't show any issue, so I opened a ticket with the Slack backend folks. They apparently did a post-mortem which showed too many rtm.connect calls coming in rapid succession. Eventually they said there were 22 calls in total during this short time. They further advised that our app was rate limited due to this and that we should open a ticket up here since we are using the RTMClient.
As we don't make the rtm.connect calls directly, I am wondering if this is a known issue with the client code, or if there is some additional debugging we could do?
Notes:
Reproducible in:
The Slack SDK version
slackclient==2.6.2
slackeventsapi==2.1.0
Python runtime version
Python 3.6.9
OS info
118-Ubuntu SMP Fri Sep 4 20:02:41 UTC 2020
Steps to reproduce: Connect with RTMClient
(Share the commands to run, source code, and project settings (e.g., setup.py))
Expected result:
Actual result:
Requirements
For general questions/issues about Slack API platform or its server-side, could you submit questions at https://my.slack.com/help/requests/new instead. 🙇
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.
The text was updated successfully, but these errors were encountered: