What product you are using? This looks like you are in the wrong community.
Anyone has any idea on why this is happening?
I experienced same issue. I was using latest version of Firefox when it occurred (51), which is currently supported according to link pasted below. I uninstalled and installed an older version (45.2).
We see this error a lot, especially when we implement LDAP and SAML on the JEE server. It is a catch-all error that it part of the UM War (UserManager) and usually has very little to do with Cookies. You can often see it when you try to log in with one session (e.g. AdminUI) and use another browser tab to open another session (e.g. LDAP/SAML). The best thing we find to fix it is close all browser windows and try to login again.
The code behind this page (enable_cookies.jsp) says this:
/** SSOFilter would forward to this jsp if it is not able to detect any redirect related information. It would infer that cookie is not enabled and hence would show an appropriate message */
Which isnt very helpful.
I'm getting this same error, but I suspect it's for different reasons. I'm pretty sure there's nothing wrong with my browser version or configuration because I was logging into Workspace earlier today. I then installed AEM Forms Workbench and logged into that. Ever since, I'm getting the cookies message when I try to access Workspace. I have cleared my browser cache, restarted my browser, and even restarted my computer to no avail. I bounced JBoss too. Still getting the problem. I can log into Workbench and I can log into adminui no problem.
When I pass my correct credentials in the login form I see this in the log:
11:50:57,401 INFO [org.apache.xml.security.signature.Reference] (http-/0.0.0.0:8080-1) Verification successful for URI "#d20bdb5b80881a21d34b419db9bfbcd1"
When I pass a bogus password, I see this in the log:
11:50:57,526 WARN [com.adobe.idp.um.businesslogic.authentication.AuthenticationManagerBean] (Thread-428) Authentication failed for user [langdonj] (Scheme - Username/Password) Reason: Username or password is incorrect . Refer to debug level logs for category com.adobe.idp.um.businesslogic.authentication for further details
So, it's getting my credentials and validating them.
I guess the next troubleshooting step would be to enable debug level logging. Can someone point me to the instructions for that. Do I have to run configuration manager?
If you install on a fresh server - do you see this issue? Looks like there is an issue with your environment.
Thanks Scott. It's a fresh install, but it was working as of earlier today. Then I installed Workbench on my workstation and logged into that. Afterwards I could not log in to Workspace. I'm guessing that these things are related because of what DarrenBiz said about "You can often see it when you try to log in with one session (e.g. AdminUI) and use another browser tab to open another session". His remedy didn't work for me though.
I'll prepare a support ticket, but it would be helpful to have a server log at the DEBUG or TRACE level to send to them. Can you point me to instructions on how to change the logging level? Thanks so much.
I'll answer my own question about the logging. The settings are in lc_turnkey.xml. I modified the setting for periodic-rotating-file-handler and <logger category="com.adobe">, changing "INFO" to "DEBUG". I'm not sure if it was necessary to change both or if one would have been sufficient. I restarted JBoss and my logs became much more detailed.
Unfortunately, the detailed logs didn't help me much in figuring out what's causing the "cookies" screen to appear upon logging on to Workspace. Below are a few lines that may be relevant. I've put in bold the bits that made me think these may be relevant.
09:29:12,246 DEBUG [com.adobe.idp.um.businesslogic.authentication.AuthenticationManagerBean] (Thread-386) UserM:: [Thread Hashcode: 1475448974] Trying to authenticate against AuthProvider com.adobe.idp.um.provider.authentication.LDAPAuthProviderImpl
09:29:12,246 DEBUG [com.adobe.idp.um.provider.authentication.LDAPAuthProviderImpl] (Thread-386) UserM:: [Thread Hashcode: 1475448974] Authenticating with LDAP Auth Provider
09:29:12,246 DEBUG [com.adobe.idp.um.provider.authentication.LDAPAuthProviderImpl] (Thread-386) UserM:: [Thread Hashcode: 1475448974] Domains fetched for LDAP Authentication
09:29:12,246 DEBUG [com.adobe.idp.um.provider.authentication.LDAPAuthProviderImpl] (Thread-386) UserM:: [Thread Hashcode: 1475448974] Authenticating against LMNOP domain
09:29:12,309 DEBUG [com.adobe.idp.um.provider.authentication.LDAPAuthProviderImpl] (Thread-386) UserM:: [Thread Hashcode: 1475448974] Got DN for user langdonj
. . .
09:29:12,434 DEBUG [com.adobe.idp.um.businesslogic.authentication.AuthenticationManagerBean] (Thread-386) Authentication successful for com.adobe.idp.um.provider.authentication.LDAPAuthProviderImpl and the user is identified as langdonj . . .
. . .
begin sql[http-/0.0.0.0:8080-1] -
SELECT COUNT(*) FROM tb_cache_config T0 WHERE T0.qname = 'Replicated:UM_COOKIE_SESSION_CACHE'
09:29:12,449 DEBUG [com.adobe.pof.adapter.LoggablePreparedStatement] (http-/0.0.0.0:8080-1) 2948:. end sql[http-/0.0.0.0:8080-1, 0
. . .
09:29:12,449 DEBUG [com.adobe.idp.um.server.cache.UMCacheManager] (http-/0.0.0.0:8080-1) Using cacheType [Replicated] for Cache [UM_COOKIE_SESSION_CACHE]
09:29:12,449 DEBUG [com.adobe.idp.um.auth.filter.SSOFilter] (http-/0.0.0.0:8080-1) Successfully authenticated so redirecting to source_url?login_result=0 also added the auth cookie with Id 5AF65F09-FE4F-B55B-15A4-2A2BFE2495DE
Okay I have the fix for this, which came from Adobe Support. This resolved the problem for me:
1) Stop JBoss
2) Delete all folders except for "install" under the crx-repository directory
3) Start JBoss