Synapse Admin in Element Synapse LXC gets CORS errors #4310
-
Hello, I installed the Element Synapse LXC but I'm unable to log into the Synapse Admin due to CORS being blocked. I must be missing something as I don't see this being mentioned as an issue by anyone else, but I'm at the end up what I can think of to try, so advice would be appreciated. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Did you ask at their github? |
Beta Was this translation helpful? Give feedback.
-
I figured out that the browser was labeling the errors as CORS failures but they were actually 404 errors. Once I realised that was the issue I was able to solve it by properly configurating a nginx reverse proxy. It may be worth makng a note on the element synapse script that by default it has no way to serve synapse files and this is something you have to setup yourself. It wasn't clear to me what is and isn't included in the base LXC install. |
Beta Was this translation helpful? Give feedback.
I figured out that the browser was labeling the errors as CORS failures but they were actually 404 errors. Once I realised that was the issue I was able to solve it by properly configurating a nginx reverse proxy.
It may be worth makng a note on the element synapse script that by default it has no way to serve synapse files and this is something you have to setup yourself. It wasn't clear to me what is and isn't included in the base LXC install.