-
Notifications
You must be signed in to change notification settings - Fork 105
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
301 Moved Permanently #33
Comments
Got same error. |
This is not addressed on the In my case setting it to my region, ./s3-parallel-put --bucket=MY_BUCKET \
--put=stupid
--dry-run --limit=1
--bucket_region=eu-west-1
--insecure
. |
Is it fixed yet? |
no yet |
I found removing the following fixed it for me
|
commenting out |
After some investigation we narrowed down the issue to s3-parallel-put/s3-parallel-put Line 289 in 4121cce
The initial connection uses Swapping this line for
seemed to fix our issue and allow us to upload to a region other than us-east-1. |
To use a non-default region you must specify both the The S3 Endpoints can be found here https://docs.aws.amazon.com/general/latest/gr/s3.html |
Executing the command with an S3 bucket located in Sydney Australia (ap-southeast-1) throws an error.
root@vmd001 [/path/to/folder/test]# /path/to/folder/s3-parallel-put --bucket=vmd001 --put=add --insecure --dry-run --limit=1 .
Traceback (most recent call last):
File "/path/to/folder/s3-parallel-put", line 420, in
sys.exit(main(sys.argv))
File "/path/to/folder/s3-parallel-put", line 391, in main
bucket = connection.get_bucket(options.bucket)
File "/usr/lib/python2.6/site-packages/boto/s3/connection.py", line 502, in get_bucket
return self.head_bucket(bucket_name, headers=headers)
File "/usr/lib/python2.6/site-packages/boto/s3/connection.py", line 549, in head_bucket
response.status, response.reason, body)
boto.exception.S3ResponseError: S3ResponseError: 301 Moved Permanently
The text was updated successfully, but these errors were encountered: