I've installed Forem latest on DigitalOcean using the instructions here:
I have encountered the dreaded blank page after creating the admin user as described here:
I can see from the Forem logs this is due to a origin header mismatch as below:
Sep 04 15:33:49 42Community.ayepeye.online forem-rails: W, [2022-09-04T15:33:49.976150 #10] WARN -- : [03fa6965-d49f-403a-a74d-5f323cc7286c] [dd.env=production dd.service=rails-production dd.trace_id=2356142424308383989 dd.span_id=0] HTTP Origin header (https://42community.ayepeye.online) didn't match request.base_url (https://42community.ayepeye.online)
This is also discussed in the GitHub issues here:
I don't see any way to fix this issue, I have tried overriding the APP_DOMAIN variable and restarting but without luck.
Hopefully someone can help.
Top comments (1)
I just dealt with this problem, and first of all, in APP_DOMAIN it is advised to write the IP address of the server, not the domain.
And secondly, I noticed that this bug happens only if I log in from www. Without www, everything works fine. I need to somehow make a redirect...