jubos / fake-s3

A lightweight server clone of Amazon S3 that simulates most of the commands supported by S3 with minimal dependencies
2.94k stars 355 forks source link

[Bug] X-Amz-Content-Sha256 is not allowed for upload #236

Open mrister opened 6 years ago

mrister commented 6 years ago

Error: X-Amz-Content-Sha256 is not allowed With: Latest aws-sdk-js (doing client side uploads)

I was running a containerized image for demo purposes and got 'X-Amz-Content-Sha256 is not allowed' on requests.

Latest master has support for setting CORS headers but it is unreleased. This actually helps but I needed to make my own image to be able to use it. So until this gets released or fixed you can use my image to pass CORS headers (not really production grade because it takes fake-s3 from master)

https://hub.docker.com/r/mrister/fake-s3/ https://github.com/mrister/fake-s3