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

Renaming Bucket attribute name #1434

Open
kjnez opened this issue Jul 19, 2024 · 0 comments
Open

Renaming Bucket attribute name #1434

kjnez opened this issue Jul 19, 2024 · 0 comments

Comments

@kjnez
Copy link

kjnez commented Jul 19, 2024

I have several very slow responses in a django project and usually the terminal output is like the following:

DEBUG 2024-07-19 08:26:57,116 loaders 62693 140288224908992 Loading JSON file: /home/admin/.pyenv/versions/3.11.9/envs/django/lib/python3.11/site-packages/boto3/data/s3/2006-03-01/resources-1.json
DEBUG 2024-07-19 08:26:57,120 loaders 62693 140288224908992 Loading JSON file: /home/admin/.pyenv/versions/3.11.9/envs/django/lib/python3.11/site-packages/botocore/data/endpoints.json
DEBUG 2024-07-19 08:26:57,149 loaders 62693 140288224908992 Loading JSON file: /home/admin/.pyenv/versions/3.11.9/envs/django/lib/python3.11/site-packages/botocore/data/sdk-default-configuration.json
DEBUG 2024-07-19 08:26:57,169 loaders 62693 140288224908992 Loading JSON file: /home/admin/.pyenv/versions/3.11.9/envs/django/lib/python3.11/site-packages/botocore/data/s3/2006-03-01/service-2.json.gz
DEBUG 2024-07-19 08:26:57,202 loaders 62693 140288224908992 Loading JSON file: /home/admin/.pyenv/versions/3.11.9/envs/django/lib/python3.11/site-packages/botocore/data/s3/2006-03-01/endpoint-rule-set-1.json.gz
DEBUG 2024-07-19 08:26:57,220 loaders 62693 140288224908992 Loading JSON file: /home/admin/.pyenv/versions/3.11.9/envs/django/lib/python3.11/site-packages/botocore/data/partitions.json
DEBUG 2024-07-19 08:26:57,225 configprovider 62693 140288224908992 Looking for endpoint for s3 via: environment_service
DEBUG 2024-07-19 08:26:57,225 configprovider 62693 140288224908992 Looking for endpoint for s3 via: environment_global
DEBUG 2024-07-19 08:26:57,225 configprovider 62693 140288224908992 Looking for endpoint for s3 via: config_service
DEBUG 2024-07-19 08:26:57,225 configprovider 62693 140288224908992 Looking for endpoint for s3 via: config_global
DEBUG 2024-07-19 08:26:57,225 configprovider 62693 140288224908992 No configured endpoint found.
DEBUG 2024-07-19 08:26:57,236 loaders 62693 140288224908992 Loading JSON file: /home/admin/.pyenv/versions/3.11.9/envs/django/lib/python3.11/site-packages/botocore/data/_retry.json
DEBUG 2024-07-19 08:26:57,241 factory 62693 140288224908992 Loading s3:s3
DEBUG 2024-07-19 08:26:57,245 factory 62693 140288224908992 Loading s3:Bucket
DEBUG 2024-07-19 08:26:57,246 model 62693 140288224908992 Renaming Bucket attribute name

Is it normal that boto looks for endpoint but finds no configured endpoint? What about renaming bucket attribute name? Ultimately the response is successful. It is just slow (>15s).

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

1 participant