-
Notifications
You must be signed in to change notification settings - Fork 225
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
First time setup, unable to load: "Slack rate limit exceeded, retry after 3s" #167
Comments
Hmm, it could be that slack-term needs to retrieve a lot of channels and it exceeds the rate limit. Could you perhaps share to what kind of workspace you're connecting, how many channels, users, etc. |
It's likely workspace size-related. There are hundreds of channels (maybe even 1-2k) and hundreds of users. Other clients I've tried (https://github.com/evanyeung/terminal-slack) are able to load without issue - they just don't seem nearly as mature as |
Yeah, it is likely because of the number of channels/users. Slack-term needs to gather those by issuing several API calls as well figure out the presence of each individual user. In your case it will likely issue too many API calls. terminal-slack likely uses the 'old' I'll have a look if it helps to increase the pagination number for requesting channels from the API. |
I was able to make the following change and load successfully (as I don't use public channels very often, normally I keep them muted):
So I think you're definitely right about the public channel/conversation retrieval being the culprit. Now that I can load successfully, you can probably consider this a low priority, but definitely a nice-to-have, as workspaces only get larger and larger. 😄 |
Cool! Thanks for the heads up. I've pushed a commit on master which increased the pagination limit, and I'm continuing to create a solution for the user presence part, that doesn't make slack-term to wait too long to resolve all the user presence status at startup, and that is able to adhere to the API rate limit. |
I'm also having this issue. |
I'm still getting this, but my company's workspace probably contains too many channels. |
@tieoneease Build the "threads" branch and it seems to be working |
@abacao Unfortunately, I'm having this issue in the threads branch as well |
@ted-fc it's working for me, are you sure you have built the correct branch? Are you sure you are running that exact version? |
I was at the head of threads branch. Is there a specific commit you're referring to? |
I'm also having this issue. I can confirm that the Slack workspace I'm connecting to has many channels. I'm running version v0.4.1 Any updates on fixes for this? |
I'm using the latest binary available for OSX and still get the rate-limiting problem. What should I do? |
I have the same issue too, on the latest. I have no idea if this even works as I've never got past the LOADING screen. My workspace only has 4 channels. |
I just installed the slack-term....got it started for exactly one time....it took a while....and I was logged on...after quitting ad restarting the app I got multiple
messages. And it does not start any more. We're running a private slack workspace with many channels, I mean a lot of channels "over 400" and I'm joined to about 50 Channels.... |
Still getting this, is this solved ? |
I just installed
slack-term
for the first time on my system using a legacy token. However, upon launching it sits at theLOADING
screen for 3-4 second, then drops back to the shell with:My hunch is that the first-time setup is exhausting the API rate limit? But I'm not sure if it's ever going to actually finish:
Is this a known issue? Something on my end? Is it stuck in a loop somewhere? I can try to Wireshark this if necessary but was hoping for an easier fix.
The text was updated successfully, but these errors were encountered: