Spyke
selfhosted·SelfhostedbyEddie

Cannot login to self hosted lemmy server, help requested!

Hello! I currently just set up my first truly self hosted lemmy instance. Everything went up smoothly, except for I cannot login to my account.

Whenever I try to login using any credentials, including the correct ones, I get an error "SyntaxError: Unexpected token 'O', "Origin is "... is not valid JSON"

How do I correct this issue? The URL is https://lemmy.lucitt.social/ for anybody interested.

View original on l.lucitt.com

Without more info it's hard to say but...

It sounds like you have some kind of firewall or reverse proxy that is between your browsing device and your lemmy server.

Furthermore it seems like that firewall is blocking your requests based on the 'origin'. I'd guess the fix is in some configuration file that's part of your setup.

1

You reached the end

Cannot login to self hosted lemmy server, help requested! | Spyke