Couple things to check.
Payload size, are they different between a logged in user and guest? Which page is this happening on? All pages or just a specific page? Do you have any custom plugins?Version 2.8.2: Unable to register or login
-
Fairly new to NodeBB. Just got one site up with PostgreSQL as the backend.
Initially version 1.5.1 was installed which has been upgraded to ver 2.8.2 a few days ago.
It is still running in dev mode, so I only got one user registered from the initial installation. Now I am not able to register any new user.
Every time I try, I get an error message:
Registration Error
We were unable to log you in, likely due to an expired session. Please try againOn the console, I see logs like this:
2023-01-24T06:51:40.275Z [4567/73890] - error: POST /register
invalid csrf tokenAt this point, I don't know how to proceed. Any help would be greatly appreciated.
-
Have you tried clearing cookies?
-
@ww9rivers this is for MongoDB, but along the same lines
-
@PitaJ - Yes, I have. Tried different browsers, private windows, etc. No luck.
@phenomlab - I think the cookieDomain setting may be what I need. Could you please be more specific? Do I need to clear that setting (as shown in your linked post)? Or set it specifically to my domain? I ask because the current setting seems to be empty (not set to anything.)
Thank you both for your responses.
-
-
@ww9rivers no problem
I threw myself at that one for far longer than I'd care to admit, so if it saves someone the headache, it's worth it.