Support Article

Pega login fails with CookieDisabledException

SA-22449

Summary



Running on Websphere App Server JVM when restarted results in user login failure. 

Error Messages


Pega login page fails and shows the below content:

----------------------------------------------------------------------------------------------------
Status fail
Message There has been an issue; please consult your system administrator
Operator ID your_operator
Requestor ID H6C60B4D4C89D05DF92235DBFA5965405
Timestamp Wed Apr 20 14:33:37 EDT 2016
Engine Version PegaRULES 7.10 ML9 (coreAssemblyCached_719_730)


----------------------------------------------------------------------------------------------------

Log file shows:

2016-04-20 14:34:37,125 [ WebContainer : 1] [ STANDARD] [ ] [ PegaRULES:07.10] (ngineinterface.service.HttpAPI) ERROR 127.0.0.1|127.0.0.1 Administrator@pega.com - 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:5269)
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.handleAuthentication(HttpAPI.java:2564)


Steps to Reproduce



Not Applicable
 

Root Cause



A software use or operation error - The following prconfig.xml env setting while trying to access the application over http, may yield the error:      <env name="http/setsecurecookie" value="true" />


Resolution



Perform the following local-change: Toggle the env variable and set its value to false.

     <env name="http/setsecurecookie" value="false" />

Published April 25, 2016 - 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.