-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
AWS S3 Backend uses "ENDPOINT_URL" not "PUBLIC_URL" setting #93
Comments
These are different settings. You would make API requests and upload to The default for the S3 backend should not require What happens when you don't set |
Sorry, I dug into the issue a little more and figured out the real problem. Currently if you don't have "ENDPOINT_URL" set you will get an error related to having an invalid endpoint when trying to publish. However even if you set it you will get an error when list_remote_files() is called (though this is probably because the endpoint I was passing isn't a real endpoint because I confused it with public_url). When creating the boto3 client, the endpoint setting is being passed along to boto3, but if there is no setting it will pass an empty string to boto3 which is not valid. If you pass None instead it works as expected. In the amazon_s3.py authenticate function |
Oh, yes you are correct. I actually noticed this when I merged the PR but obviously forgot to actually commit that change: |
Thank you! |
Fixed in the above, will be merged into the next release. You can just set |
All documentation lists "PUBLIC_URL" as the required setting, however the S3 backend is using "ENDPOINT_URL". This causes the S3 backend to not work unless you include an "ENDPOINT_URL" setting.
The text was updated successfully, but these errors were encountered: