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
conversations.list getting caught with ratelimited error in v0.27/v0.28 (v0.26 is fine) #1958
Comments
This commit is the culprit: 373d216 When I removed |
DEBUG Sending a request - url: GET https://www.slack.com/api/conversations.list, params: {'cursor': 'dGVhbTpDVEw2MTNQOVI=', 'limit': 100}, files: {}, data: {}, json: {}, proxy: {}, headers: async_internal_utils.py:99
{'Content-Type': 'application/x-www-form-urlencoded', 'Authorization': '(redacted)', 'User-Agent': 'Python/3.10.5 slackclient/3.17.1 Linux/4.15.0-122-generic'}
DEBUG Received the following response - status: 429, headers: {'Date': 'Tue, 06 Dec 2022 16:14:01 GMT', 'Server': 'Apache', 'x-powered-by': 'HHVM/4.153.1', 'Access-Control-Allow-Origin': '*', async_internal_utils.py:143
'referrer-policy': 'no-referrer', 'x-slack-backend': 'r', 'x-slack-unique-id': 'Y49qSc5X4ysr9jRHKeV8nAAAAAo', 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload',
'Access-Control-Allow-Headers': 'slack-route, x-slack-version-ts, x-b3-traceid, x-b3-spanid, x-b3-parentspanid, x-b3-sampled, x-b3-flags', 'Access-Control-Expose-Headers': 'x-slack-req-id,
retry-after', 'x-oauth-scopes':
'incoming-webhook,users:read,channels:history,im:history,chat:write,channels:read,app_mentions:read,files:write,groups:history,groups:read,groups:write,emoji:read,dnd:read,im:read,links:read,links:
write,pins:read,reactions:read,reactions:write,reminders:read,reminders:write,remote_files:share,remote_files:write,team:read,users.profile:read,users:read.email,users:write,im:write',
'Retry-After': '30', 'Expires': 'Mon, 26 Jul 1997 05:00:00 GMT', 'Cache-Control': 'private, no-cache, no-store, must-revalidate', 'Pragma': 'no-cache', 'x-xss-protection': '0',
'x-content-type-options': 'nosniff', 'x-slack-req-id': '8e669e68b732f0f610449afb7f974c91', 'Vary': 'Accept-Encoding', 'Content-Type': 'application/json; charset=utf-8',
'x-envoy-upstream-service-time': '87', 'x-backend': 'main_normal main_bedrock_normal_with_overflow main_canary_with_overflow main_bedrock_canary_with_overflow main_control_with_overflow
main_bedrock_control_with_overflow', 'x-server': 'slack-www-hhvm-main-iad-kcsp', 'x-slack-shared-secret-outcome': 'no-match', 'Via': 'envoy-www-iad-aljt, envoy-edge-pdx-j9km', 'x-edge-backend':
'envoy-www', 'x-slack-edge-shared-secret-outcome': 'no-match', 'Transfer-Encoding': 'chunked'}, body: {'ok': False, 'error': 'ratelimited'} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Started opsdroid:
Then, a couple of seconds later
conversations.list
gets caught by Slack API'sratelimited
error :Full trace;
Steps to Reproduce
opsdroid start -f configuration.yaml
Only in v0.27 and v0.28 (this does not happen in v0.26
The text was updated successfully, but these errors were encountered: