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

iDrive e2 fails to load images #733

Open
thepaperpilot opened this issue Nov 20, 2023 · 4 comments
Open

iDrive e2 fails to load images #733

thepaperpilot opened this issue Nov 20, 2023 · 4 comments
Labels
third party Relies on or blocked by a third party (dependency, vendor, platform, etc.)

Comments

@thepaperpilot
Copy link

I'm using an s3 compatible api (iDrive e2) and images upload successfully but don't load at all. If I go to the URL directly I get an xml response saying its a SignatureDoesNotMatch error.

If this is non-trivial to fix, one workaround that should work is making the bucket public. However that gives me a separate endpoint that won't have write permissions (and ofc I'm not a fan of making my baby's images accessible without auth), and there's no documented way to use a different endpoint for uploading versus rendering pages.

@cdubz
Copy link
Member

cdubz commented Nov 20, 2023

Hm on the backend Baby Buddy uses https://django-storages.readthedocs.io/en/latest/ for file storage support. I don't see iDrive mentioned anywhere in their documentation or issues. Nor do I see anything about "S3 compatible" service support.

This the only potential relevant info I could find but seems pretty light... https://stackoverflow.com/questions/71302380/using-non-aws-s3-storage-with-django

@cdubz cdubz added the third party Relies on or blocked by a third party (dependency, vendor, platform, etc.) label Nov 20, 2023
@thepaperpilot
Copy link
Author

"s3 compatible" is a pretty common term when looking into object storage. Django may not mention it specifically but baby buddy does.

I'd already been including the scheme in the endpoint url since the docs said to, so that SO post didn't help me unfortunately.

@cdubz
Copy link
Member

cdubz commented Nov 21, 2023

Ha yes the documentation does say that I bet it’s never actually been tested… 😬

Does iDrive have a free tier I could fiddle with?

@thepaperpilot
Copy link
Author

Yes, so long as you don't pay for an entire year, you get 10GB free. (pricing)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
third party Relies on or blocked by a third party (dependency, vendor, platform, etc.)
Projects
None yet
Development

No branches or pull requests

2 participants