Skip to content
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

botocore client error Rate Exceeded #381

Open
nhartwic opened this issue Dec 31, 2022 · 1 comment
Open

botocore client error Rate Exceeded #381

nhartwic opened this issue Dec 31, 2022 · 1 comment

Comments

@nhartwic
Copy link

Basically, any tibanna stat command that would return more than about 75 results produces an error.

Traceback (most recent call last):
  File "/home/ubuntu/miniconda3/envs/snake/bin/tibanna", line 8, in <module>
    sys.exit(main())
  File "/home/ubuntu/miniconda3/envs/snake/lib/python3.9/site-packages/tibanna/__main__.py", line 576, in main
    subcommandf(*sc_args)
  File "/home/ubuntu/miniconda3/envs/snake/lib/python3.9/site-packages/tibanna/__main__.py", line 502, in stat
    API().stat(sfn=sfn, status=status, verbose=long, n=nlines, job_ids=job_ids)
  File "/home/ubuntu/miniconda3/envs/snake/lib/python3.9/site-packages/tibanna/core.py", line 483, in stat
    parse_exec_desc_and_ec2_desc(exc['executionArn'], verbose)
  File "/home/ubuntu/miniconda3/envs/snake/lib/python3.9/site-packages/tibanna/core.py", line 407, in parse_exec_desc_and_ec2_desc
    exec_desc = client.describe_execution(executionArn=exec_arn)
  File "/home/ubuntu/miniconda3/envs/snake/lib/python3.9/site-packages/botocore/client.py", line 508, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/home/ubuntu/miniconda3/envs/snake/lib/python3.9/site-packages/botocore/client.py", line 915, in _make_api_call
    raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (ThrottlingException) when calling the DescribeExecution operation (reached max retries: 4): Rate exceeded

I'm guessing AWS made some change to table access rates or something?

@alexander-veit
Copy link
Member

Which Tibanna version are you using? I assume this was working previously? Did you switch Tibanna versions?

I can see that you are using Python 3.9 which is not supported officially (although it most likely works). Did you install Tibanna from source?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants