[Bug] Image uploaded from Web doesn't load in apps
Describe the bug An image uploaded in the web interface shows an "Unable to load image" error on Mac desktop and iOS apps.
To Reproduce Steps to reproduce the behavior: Upload an image via the web. It will display, even after refresh. But apps won't, even after close and reopen.
Expected behavior Images display in apps.
Screenshots
Desktop (please complete the following information):
- OS: Mac/iOS
- Version v0.8.2
Additional context The reverse wworks - upload from desktop and it displays on web. I can also see and preview the files in Minio. however only the image uploaded from the app shows an extension in the name.
Got Same trouble on my self hosted server
I just tested this on the official server, and was not able to reproduce this. The desktop app was still able to open the file/image despite the lack of extension.
This discrepancy is likely due to the differences in behavior between Amazon S3 and Minio. Will try and see if this issue is reproducible with a local setup, but with AWS S3 instead of Minio.
In my case, uncommenting this line has helped me to load images
It seems though that files that have been uploaded before this setting have to be re-uploaded
On my self hosted instance, I commented in APPFLOWY_S3_PRESIGNED_URL_ENDPOINT and re-uploaded images via the web UI, but those images are still not shown within the clients (windows, android).
Though I do see a difference in minio, as the files I've uploaded via a client (marked red) are suffixed with their respective file extension, which isn't true for the images uploaded via the web UI.
Can anyone confirm this and give me a hint, if this may be caused by a misconfiguration on my side or if it's caused by different uploading behavior of the respective clients?
This issue has been fixed. Try the latest docker image. I am closing this issue. Feel free to reopen if needed