// for nginx/nrgok
app.set('trust proxy', 1) // trust first proxy
added before this line.
I tend to run something similar to this (click thru for full code snippet/session setup)
You can also debug/determine if it’s this by logging sessionID’s and see if the sessionID is constantly changing rather than “sticking” like it should.