Installed desktop app with self-hosted instance: all images are black #2461
-
If I hover over a black image box, a denied icon shows up: tried screenshotting it but it isn't displayed. Opened debug logs and I see:
ente-museun container reports no warning or errors, just info while I'm trying to upload some pictures from the desktop app. This is another shot from desktop app: Some other logs from desktop app:
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 11 replies
-
Did this start happening after you updated to the recent version? It sounds like it might be a CORS issue. Previously, the desktop app would always override the ACAO ("Access-Control-Allow-Origin") header in the response to "*". This unfortunately broke other things (like payments), so now it only does the override if the actual response does not have a ACAO header. Code: https://github.com/ente-io/ente/blob/main/desktop/src/main.ts#L546 If you open dev tools, you should see an OPTIONS network request for your thumbnail. This would be the request that is failing (thus preventing the thumbnail from being fetched). Can you see what is the value of the "Access-Control-Allow-Origin" value returned by your S3 bucket in this request? Or you could add a screenshot of the OPTIONS response too, that will help diagnose the issue. |
Beta Was this translation helpful? Give feedback.
-
I see CORS errors indeed, does this help? |
Beta Was this translation helpful? Give feedback.
-
Thank you, |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
For anyone else getting here and still haven't had a working solution... I was using Hetzner object storage as an External S3 Bucket. At the time of writing, they didn't support modifying the CORS policy on the bucket unless you change the visibility to public first:
I switched to Backblaze but that didn't work for me either 🤷 I finally switched to Wasabi and now I can finally see the thumbnail of my albums in the Ente desktop app. |
Beta Was this translation helpful? Give feedback.
Here are some example CORS configurations: