You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 23, 2020. It is now read-only.
The text was updated successfully, but these errors were encountered:
rberrelleza
changed the title
S3Connection.get_bucket fails to retrieve bucket on boto 2.32
S3Connection.get_bucket throws a 400 error on boto 2.32
Dec 3, 2014
I did some more research, and this is due to a change in the behavior in boto. In boto 2.2.2, a call to S3Connection.get_bucket(BUCKET_NAME) results in a GET request ( <GET /files/?&max-keys=0 HTTP/1.1>), but in boto 2.32 the same call is now a HEAD request to <HEAD /files/ HTTP/1.1>. This breaks cumulus.request_object_factory, which doesn't have an option to handle a HEAD on the bucket directly, without an object name.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The same issue doesn't repro on boto 2.2.2 and older, it starting appearing on boto 2.32. You can validate by running the rollowing snippet:
The nimbus log for the issue is:
The text was updated successfully, but these errors were encountered: