Skip to content
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

Uploading on S3 fails #2

Closed
arjan opened this issue Oct 23, 2014 · 2 comments · Fixed by #3
Closed

Uploading on S3 fails #2

arjan opened this issue Oct 23, 2014 · 2 comments · Fixed by #3

Comments

@arjan
Copy link
Contributor

arjan commented Oct 23, 2014

Which is silly, given the name of this project :)

The issue is, that the URL signature needs to contain the name of the bucket prepended to the path.

So when uploading to https://bla.s3-eu-west-1.amazonaws.com/test.txt,
the signed URL path should be /bla/test.txt.

Apparently this can be circumvented by uploading to https://s3.amazonaws.com/bla/test.txt, but this fails with s3filez because it does not handle 307 redirects.

@arjan
Copy link
Contributor Author

arjan commented Oct 23, 2014

Hmm wait actually I should upload to https://bla.s3-eu-west-1.amazonaws.com/bla/test.txt.

@arjan arjan closed this as completed Oct 23, 2014
@arjan
Copy link
Contributor Author

arjan commented Oct 23, 2014

No, wait, this is still an issue.

@arjan arjan reopened this Oct 23, 2014
arjan pushed a commit to arjan/s3filez that referenced this issue Oct 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant