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

S3: Better error handling when not able to connect to s3 gateway #102

Open
frlan opened this issue Jan 20, 2023 · 0 comments
Open

S3: Better error handling when not able to connect to s3 gateway #102

frlan opened this issue Jan 20, 2023 · 0 comments

Comments

@frlan
Copy link
Member

frlan commented Jan 20, 2023

Something like this is not helpful:

oks.py", line 256, in emit
    return self._emit(event_name, kwargs)
  File "/srv/s-gitlab/deployment/.appenv/e2e91147/lib/python3.10/site-packages/botocore/hooks.py", line 239, in _emit
    response = handler(**kwargs)
  File "/srv/s-gitlab/deployment/.appenv/e2e91147/lib/python3.10/site-packages/botocore/handlers.py", line 279, in validate_bucket_name
    if not VALID_BUCKET.search(bucket) and not VALID_S3_ARN.search(bucket):
TypeError: expected string or bytes-like object
@frlan frlan changed the title S3: Better error handling when not able to connectot s3 gateway S3: Better error handling when not able to connect to s3 gateway Jan 20, 2023
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