Hello!
I'm having trouble using S3 storage with appwrite for file uploads. It happens when uploading files from the Javascript SDK or from the console.
The file gets uploaded, gets sent to AWS, but somewhere in the way it gets corrupted. As you can see in the screenshots, the preview shows the file correctly, but when I open the file (or get the link through the SDK and open it), it doesn't show correctly, only a portion of it (looks like just a chunk of it has been uploaded?). Accessing the file directly through the AWS Portal, it doesn't open (encryption maybe?).
It's happening with image files and audio files, I haven't tested with other file types.
Function deployment works well, and gets saved to AWS correctly, so I think the problem is only with files.
Has this ever happened? How can I troubleshoot it - is there a place where the storage logs get shown?
Thank you in advance!
Update: disabling encryption on the Appwrite bucket, I can see the whole image directly on AWS portal, so the upload is working. This makes me think the problem lays in appwrite fetching back the file from AWS or something between the appwrite server and the client
Recommended threads
- getFileViewURL isnt working on android
i trid the adding the jwt token to the end of the url still nothing. but it works fine on ios https://fra.cloud.appwrite.io/v1/storage/buckets/693a0xxxxxxxxf2d...
- Which flutter SDK version for Self Hoste...
Hi all, Is there a good way to figure out which version of flutter SDK and Dart SDK is current for latest available self-hosted 1.8.0 ? I know new features are...
- Bug Report: Crash when trying to createR...
https://github.com/appwrite/sdk-for-android/issues/96 I think the bug is related with this one https://discord.com/channels/564160730845151244/1443887021314539...