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

Add new var for S3 london bucket if necesary #315

Merged
merged 1 commit into from
Jun 19, 2020

Conversation

melvinsoft
Copy link

@melvinsoft melvinsoft commented Jun 17, 2020

The course export is broken in the UK cluster because the course file cannot be downloaded from S3, it's returning a signature error.

After been digging in the issue for while looks like Django storages has some issues with EU bucket and some extra and non documented vars are needed. Here is the explanation: jschneier/django-storages#28 (comment)

This PRs works has two companions: appsembler/edx-platform#623 and https://github.com/appsembler/edx-configs/pull/883

@OmarIthawi
Copy link

@melvinsoft you'd need to add this in the aws.py file:

AWS_S3_REGION_NAME = AUTH/ENV_TOKENS.get('AWS_S3_REGION_NAME', '')

@melvinsoft
Copy link
Author

@thraxil @OmarIthawi Thanks for the review, the line it's already added in edx platform.

@melvinsoft melvinsoft merged commit 1ce5e65 into appsembler/hawthorn/master Jun 19, 2020
@melvinsoft melvinsoft deleted the maxi/add-new-s3-vars branch June 19, 2020 13:35
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 this pull request may close these issues.

3 participants