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

<LibcloudError in <class 'libcloud.storage.drivers.s3.S3StorageDriver'> 'Unknown error. Status code: 302'> when I'm using Google #272

Open
sento93 opened this issue Mar 1, 2017 · 1 comment

Comments

@sento93
Copy link

sento93 commented Mar 1, 2017

LIBCLOUD_PROVIDERS = {
'static': {
'type': 'libcloud.storage.types.Provider.GOOGLE_STORAGE',
'user': 'my-user',
'key': 'my-key',
'bucket': 'my-static',
},
'media': {
'type': 'libcloud.storage.types.Provider.GOOGLE_STORAGE',
'user': 'my-user',
'key': 'my-key',
'bucket': 'my-media',
},
}
DEFAULT_LIBCLOUD_PROVIDER = 'static'
DEFAULT_FILE_STORAGE = 'storages.backends.apache_libcloud.LibCloudStorage'
STATICFILES_STORAGE = 'storages.backends.apache_libcloud.LibCloudStorage'

Using this config Django raises <LibcloudError in <class 'libcloud.storage.drivers.s3.S3StorageDriver'> 'Unknown error. Status code: 302'> when a render function is called. I've tried renaming the providers to google or default and it gives the same problem.

@jschneier
Copy link
Owner

Possibly related to #269.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants