proxy_set_header X-Forwarded-Proto https;
Oh wow I did recently update my nginx config to SSL, I didn't even think to research this. Will try it out!
I'm running nodebb on Centos8 on a linode.
Recently I upgraded nodebb (I believe to 1.16.1), and lost the ability to log into the forum with Firefox (difficult for the admin). I go to the login form, enter the credentials, click submit, and the forum reloads with
/?loggedin=true, and I get a notification:
Obviously I was not logged in as myself. I cleared all cookies, tried multiple times, and could not login. I also had reports of the same behavior from other Firefox users. At some point I saw a message in the log when running
./nodebb dev about a session not matching but I can't reproduce it now.
I could still use Chrome for some reason, so I've been using that to try and debug. Then today I saw that 1.16.2 had been released so I upgraded, hoping that something might be fixed. After upgrading to 1.16.2, I am now unable to login with Chrome - nor Safari - either.
So I'm locked out of the forum, and I cannot figure out what's going on. The only error I've seen in the browser console is a few of these:
GET wss://<site>/socket.io/?EIO=4&transport=websocket&sid=R4V1asZABCvMb9lAAAC with a 400 response.
I'm stumped and frustrated. Any debugging/fixing tips?