I checked ./nodebb logs and this is the error
2019-07-07T22:19:10.558Z [4567/19074] - error: /login
invalid csrf token
Jack18
Posts
-
Error: Login Unsuccessful We were unable to log you in, likely due to an expired session. Please try again -
Error: Login Unsuccessful We were unable to log you in, likely due to an expired session. Please try againHello there,
I've been getting this error every time I try to login to the admin account I created or every time I try to register an account.
Login Unsuccessful We were unable to log you in, likely due to an expired session. Please try again
I've tried different db servers, mongo, Redis and I have tried switching Nginx to Apache but no difference.
-
Nginx Configuration@PitaJ
Ahh I see, thank you -
Nginx Configuration@PitaJ
Thank you so much for the help, also I wanted to point out a syntax error in the example you provided."socket.io": { "origins": "https://community.nodebb.org:* https://nodebb.org:*" }, <- Missing the comma
-
Nginx ConfigurationHello there,
I recently installed nodebb and nginx on Ubuntu Server 18.04. Gotta say I really like this new forums system. However I'm running into some difficulties.
I have already setup the server block for nginx. In my config.json file the url is "https://example.com". In my nginx server block I set the server_name to example.com and www.example.com. I can access forums with both urls but through www.example.com I keep getting an error saying "Looks like your connection to NodeBB was lost, please wait while we try to reconnect.". I tried making a separate server block for www.example.com but same issue. Could someone tell how I can use both domain names and what I have to config?Thank you