Comments (8)
This is not addressed on the README
, but if you look at the code there's an option to set the AWS region as --bucket_region=YOUR_REGION
.
In my case setting it to my region, eu-west-1
, solved the issue:
./s3-parallel-put --bucket=MY_BUCKET \
--put=stupid
--dry-run --limit=1
--bucket_region=eu-west-1
--insecure
.
from s3-parallel-put.
To use a non-default region you must specify both the --bucket_region
and the --host
, as follows:
s3-parallel-put --bucket=$BUCKET . --bucket_region=ca-central-1 --host=s3.ca-central-1.amazonaws.com
The S3 Endpoints can be found here https://docs.aws.amazon.com/general/latest/gr/s3.html
from s3-parallel-put.
Got same error.
from s3-parallel-put.
Is it fixed yet?
from s3-parallel-put.
no yet
from s3-parallel-put.
I found removing the following fixed it for me
calling_format = boto.s3.connection.OrdinaryCallingFormat(),
from s3-parallel-put.
commenting out calling_format = boto.s3.connection.OrdinaryCallingFormat(),
seems to result in a 400 being returned for me. any word on a work around for this?
from s3-parallel-put.
After some investigation we narrowed down the issue to
s3-parallel-put/s3-parallel-put
Line 289 in 4121cce
The initial connection uses boto.s3.connect_to_region
but the child processes do not.
Swapping this line for
connection = boto.s3.connect_to_region(options.bucket_region,
is_secure=options.secure,
)
seemed to fix our issue and allow us to upload to a region other than us-east-1.
from s3-parallel-put.
Related Issues (20)
- --prefix does not work with absolute path HOT 1
- s3-parallel-put needs a new maintainer HOT 6
- Head is broken HOT 1
- Exception running s3-parallel-put HOT 1
- Connection reset by peer error HOT 1
- `content-type` should default to guess HOT 2
- ERROR:s3-parallel-put:missing source operand HOT 3
- Copy filename without directory structure HOT 3
- ADD KMS header
- Add python-magic support
- Add support for --include and --exclude
- improvement request : Add the possibility to change the aws host HOT 1
- Unbounded memory usage HOT 2
- S3ResponseError HOT 2
- Syntax error HOT 2
- AWS_SECURITY_TOKEN support
- DEBUG:boto:encountered error exception, reconnecting HOT 1
- How to configure? HOT 1
- Python 3 Availability? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from s3-parallel-put.