You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ me
8000
ssage }}
Repository navigation
Keycloak can't start due to exception: No enum constant org.keycloak.representations.idm.RealmRepresentation.BruteForceStrategy.
#42145
So I thought I need to configure the Frontend URL in the master realm, which was blank. I added /admin/master/console and that ultimately broke it, because I can no longer access the console at all. So i then tried to rollback the change by manually editing the database (MSSQL) and blank out the value for frontendUrl for the master realm for table REALM_ATTRIBUTE. It still didn't work so I thought the setting was cached and decided to restart the pods.
Upon restart, this is when I noticed a bizarre issue with the logs:
2025-08-25 19:38:33,126 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler[] (main) ERROR: Failed to start server in (production) mode
2025-08-25 19:38:33,126 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler[] (main) Error details:: java.lang.IllegalArgumentException: No enum constant org.keycloak.representations.idm.RealmRepresentation.BruteForceStrategy.
I couldn't find any existing issue about that exception error anywhere on Github and the web. I tried to reading the info for bruteForceStrategy in REALM_ATTRIBUTE table and it's set to MULTIPLE, so not sure why it's giving me that exception error. I could just drop the entire database and have Keycloak recreate everything, but I won't be satisfy with this if this kind of error actually makes it to production. Any advice? Also tested with v26.3.3 and that didn't help.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
I have an instance where I was testing Keycloak v26.3.2 with the admin console on a separate hostname, such as:
https://hostname1.domain.com
https://hostname2.domain.com (admin console)
If I enter https://hostname1.domain.com, it redirects to https://hostname2.domain.com/admin, but the console wouldn't load. If I manually paste in https://hostname2.domain.com/admin/master/console/, then it'll load find.
So I thought I need to configure the Frontend URL in the master realm, which was blank. I added
/admin/master/consoleand that ultimately broke it, because I can no longer access the console at all. So i then tried to rollback the change by manually editing the database (MSSQL) and blank out the value for frontendUrl for the master realm for table REALM_ATTRIBUTE. It still didn't work so I thought the setting was cached and decided to restart the pods.Upon restart, this is when I noticed a bizarre issue with the logs:
I couldn't find any existing issue about that exception error anywhere on Github and the web. I tried to reading the info for bruteForceStrategy in
REALM_ATTRIBUTEtable and it's set toMULTIPLE, so not sure why it's giving me that exception error. I could just drop the entire database and have Keycloak recreate everything, but I won't be satisfy with this if this kind of error actually makes it to production. Any advice? Also tested with v26.3.3 and that didn't help.keycloak-log.txt
All reactions