Thats expected since it was forwarded from cloudflare?!
if you are getting this to look up for a “trust proxy” hard coded value, DON’T since Cloudflare IP’s will change. Leaving your code not working.
So trust proxy with a boolean true is preferred. But I don’t proxy behind cloudflare. So there might be sone cloudflare specific instructions for node/express session
That might be a trust proxy of 1