Ente CommunityEC
Ente Communityโ€ข3w agoโ€ข
8 replies
laluke

CORS Problem: origin header = null

Hi,
on my personal public web server (called example.com here) I've set up Ente using Quickstart script, Caddy and a remote s3 bucket - very much as described in official Ente docs. An expection is that I use strict CORS rules for
AllowedHeaders: ["api.ente.example.com", "web.ente.example.com"] instead of AllowedHeaders: ["*"]

But unfortunately I cannot use strict CORS rules. Though I can upload photos via web.ente.example.com, I cannot retrieve (GET) them - due to CORS Missing Allow Origin Error.
I figured out that GET requests send Origin header=null instead of the correct host name (web.ente.example.com or api.ente.example.com)
In OPTIONS and PUT requests the Origin header is set correctly.

I'll be grateflul for any hint or advice that might guide me to a solution of this problem.
Screenshot_2025-12-29_at_17.34.05.jpg
Was this page helpful?