Comments (13)
Could you please provide a minimal test case? It seems to be working for me flawlessly.
from aws.
I use your library inside Yesod. Please look at code here http://paste.org/48583.
Also i make requests from ubuntu installed on virtual box.
Thanks.
from aws.
This works just fine for me, of course using a different bucket and a different lazy ByteString.
Is there a proxy? Do you have the most recent versions of aws installed? Did you make modifications to your copy of the aws codebase?
from aws.
I've also tried if maybe a big 20 MB file would present problems. No, works fine.
Sorry, but I really can't replicate this.
from aws.
I installed aws package from hackage without modifications. It was the first installation of aws on my system. I'll try to run this code outside virtualbox for interest and make other experiments.
from aws.
i think have found the bug. It turns out that bucket name in your library must be in lower case . I created the bucket with name in lower case letters "fwbuckettest" and it's work just fine. I don't make sense how it works for you .
from aws.
It works for me, because all my buckets have lower-case names. I suggest that you just write the name in lower-case while we figure out how to deal with this.
from aws.
Oh, by the way: the s3ErrorStringToSign parameter can help identify the problem. We did not have that available though.
from aws.
According to this: http://docs.amazonwebservices.com/AmazonS3/2006-03-01/dev/BucketRestrictions.html
Bucket names are NOT generally case-insensitive, and outside the US Standard region, bucket names must always be lower-case if I understand it right.
@meteficha What do you think?
from aws.
@acheshkov If you actually have upper-case bucket names (which is only allowed in the US Standard region), then switching to PathStyle requests should work. You have to change the S3 configuration for that.
from aws.
AWS themselves say that you have DNS complient bucket names. I guess we should put a note on the docs of aws
.
from aws.
@meteficha No, in the US standard region, non-DNS-compliant names are allowed. You have to use path-style requests for those.
I've tested it, and that constraint is enforced. When trying to create a bucket with uppercase characters in the Ireland region, I get this error: "A bucket name in Ireland region must contain only lower case characters"
If we want it to "just work", we might consider to detect upper-case characters and switch the request style for those (by default).
from aws.
Sorry, there should be a "should" on my phrase above. =)
Quoting them: "It is therefore recommended that you always use bucket names that are DNS compliant regardless of the region in which you create the bucket."
from aws.
Related Issues (20)
- Unnecessarily throws XmlException with missing user DisplayName HOT 5
- PutBucket versioning HOT 2
- add etag to PutObjectResponse
- add etag to GetBucketResponse HOT 1
- S3 Buckets with "." in the name cause TLS issues when running PutObject HOT 1
- v4 GetObject Signing HOT 5
- Support for network 3.x?
- DynamoDB conditions: Missing `attribute_not_exists`? HOT 2
- Json support for basic types
- `credentialsDefaultFile` references non-standard location
- Support HTTP and custom port in SES HOT 1
- SES no longer works HOT 2
- Build errors with aeson-2 HOT 3
- New maintainer or at least contributor HOT 8
- support unauthenticated S3 requests HOT 4
- Kinesis support
- HTTP2 support
- unable to specify a region for S3 servers not in AWS HOT 2
- unable to specify User-Agent
- software design HOT 1
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 aws.