Newbie question - Loading the Admin UI

1,075 views
Skip to first unread message

Aaron Stromas

unread,
Jun 27, 2023, 3:19:59 PM6/27/23
to Keycloak User
Greetings,

I'm trying to set up a Keycloak server for production. I configured the Postgresql database and deployed server certificate chain. The home page https://<keycloak-fqdn> comes up but when I click on the Administration Console the page with the Loading the Admin UI and the spinning spinner appears:

kc0.png

Any ideas what is wrong and how to fix it? TIA

Jon Koops

unread,
Jun 28, 2023, 6:47:45 AM6/28/23
to Aaron Stromas, Keycloak User
Hi Aaron,

I don't have a comprehensive solution for you since there is little information to go on here. But it's a known issue that we're aware of. I recommend you check out this issue, it might help you find a solution.

--
You received this message because you are subscribed to the Google Groups "Keycloak User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keycloak-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/keycloak-user/d597e12a-d44b-4d40-be7c-4ab7ba294545n%40googlegroups.com.

Aaron Stromas

unread,
Jun 28, 2023, 9:50:16 AM6/28/23
to Keycloak User

Hi Jon,

I realize i did not provide much context, so here it is: Keycloak 21.1.1 on Ubuntu 22.01.1, OpenJDK 11.0.19.
The hostname  is keycloak, the FQDN is keycloak.izoard.com.
I'm using Postgresql 15 running on RockyLinux 9.0. (I see  a bunch of tables in the database)
In the keycloak.conf the hostname is set to keycloak
hostname=keycloak

I tried a few suggestions I received, namely, exporting the environment variables:
KC_PROXY=edge
KC_HOSTNAME_STRICT=true

Following you advice I tried starting keycloak using
kc.sh start --hostname-admin-url=https://keycloak.izoard.com:443

Unfortunately, nothing changed.  The home page comes up. 

kc-home0.png

Once I click on Administration Console I get the page with the spinner and the UI does not load ever

kc-console0.png

Is there any diagnostics I could capture?
Thanks

Aaron Stromas

unread,
Jun 28, 2023, 10:54:21 AM6/28/23
to Keycloak User
I've deployed the hostname-debug.jar and got the results and I saw that Frontend  URL had the value https://keycloak/ and was marked [FAILED]. I changed the hostname and the failure has cleared out and UI seems to have loaded but I am getting the OIDC error Screenshots attached. Any suggestions?
Screenshot 2023-06-28 at 14-29-27 https __keycloak.izoard.com.png

Screenshot 2023-06-28 at 14-42-23 https __keycloak.izoard.com.png
kc-oidc0.png

Aaron Stromas

unread,
Jun 28, 2023, 11:31:50 AM6/28/23
to Keycloak User
I forgot to add the value of the redirect URL which I see in the log: 

Aaron Stromas

unread,
Jun 28, 2023, 11:54:51 AM6/28/23
to Keycloak User
I upgraded to 21.1.2 and the issue went away

On Wednesday, June 28, 2023 at 6:47:45 a.m. UTC-4 Jon Koops wrote:
Reply all
Reply to author
Forward
0 new messages