I’m having a problem in my web app, when I enter the login page it gives me an error saying that I need to enable cookies in my browser, so I checked the browser and the cookies were enabled. So I tried using a different browser in case there’s something wrong, but the error was the same. When I click on the error (Cookies disabled) another error pops up saying that the session timed-out. Every time I click on the session timeout error, another one pops up. So It’s like the web app is now stuck, I can’t login but the rest service is running perfectly.
Hello,
We’ve discovered the cause behind this issue.
The HTTP connector in tomcat’s server.xml had the attribute secure = true, but not SSL/TLS connection was established. So all sessions and cookies were being rejected.
The problem of session expiration may be caused by incorrect proxy_pass/ proxy_cookie_path/ proxy_redirect settings. Possible solution with an example described here.