Sometimes (however same time) all connections brake and not recover long time
Bot managed about 4000 teams.
During 10-30 minutes and more the App can not establish the connections, and trying many to connect and produce the above errors.
I have this problem every work day about 8:00 am UTC and sometimes.
Is there a trouble in many numbers of teams? Or 4000 teams is normal for BotKit?
BotKit 0.5.4
First of all, you might want to try and upgrade your version of Botkit, as we recently added some RTM websocket fixes that may improve this.
The fact that it occurs regular on a schedule points maybe to API side service management, and if you have as many bots as you do, you might want to take a look at your reconnect logic so you can avoid being rate limited by too many connections trying to access the Slack API at once on the reconnect.
Discussions on the best way to do this is probably beyond a Github issue, you should post a question in our #botkit channel in our public slack, and it can be discussed in more depth over there:
https://community.botkit.ai/
Thanks peterswimm!