Timed-out on CF Proxy

So the situation is, we are getting session expired when cf proxy is enabled on a subdomain. If the cloud is off traffic flows perfectly, as soon we enable cloud we get timed-out. Asked tech support bu they’re not sure of What could be the problem.
192.168.. - - [19/Nov/2022:17:45:57 +0300] “GET /iportalweb/iportal/jsps/SESSION_EXPIRE.jsp HTTP/1.1” 200 514
192.168.. - - [19/Nov/2022:17:45:57 +0300] “GET /iportalweb/iportal/jsps/SESSION_EXPIRE.jsp HTTP/1.1” 200 514
192.168.. - - [19/Nov/2022:17:45:57 +0300] “GET /iportalweb/iportal/jsps/SESSION_EXPIRE.jsp HTTP/1.1” 200 514
192.168.. - - [19/Nov/2022:17:45:57 +0300] “GET /iportalweb/iportal/jsps/SESSION_EXPIRE.jsp HTTP/1.1” 200 514
192.168.. - - [19/Nov/2022:17:45:57 +0300] “POST /iportalweb/WidgetControllerServlet HTTP/1.1” 302 339

It could be possible that your web application identifies sessions not just based on cookies, but IP addresses as well. Since Cloudflare will randomize the IP address used to communicate with your origin server, it’s very likely that your web application treats those different requests from different IP addresses as different sessions, hence your web application will return “Session Expired” message.

Ok. But how do I resolve it, if that’s the case?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.