Support Article
CookieDisabledException: Your browser does not support Cookies
SA-44570
Summary
CookieDisabledException when logging in to a system the second time using the same browser.
Error Messages
Error in the PegaRULES log file:
380 [WebContainer : 19] (ngineinterface.service.HttpAPI) ERROR your_server|127.0.0.1 324933043 - 127.0.0.1: com.pega.pegarules.priv.context.CookieDisabledException
com.pega.pegarules.priv.context.CookieDisabledException: An error has occurred which indicates that your browser does not support Cookies. You must enable Cookies in order to use this application
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.establishRuntimeContext(HttpAPI.java:5222)
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.handleAuthentication(HttpAPI.java:2552)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.activityExecutionProlog(EngineAPI.java:548)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:383)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1270)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:1008)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:841)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequest(EngineAPI.java:331)
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.invoke(HttpAPI.java:850)
Steps to Reproduce
- Log in to the system using Single Sign-On.
- Log off.
- Log in to the system again from the same browser.
Root Cause
A defect or configuration issue in the operating environment.
Resolution
Perform the following local-change: Include the below entry in the prconfig.xml and restart the server:
<env name="/Authentication/RedirectGuests" value="false" />
Published January 19, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.