Keycloak 19.0.3 Admin Console does not load

I have a keycloak instance running in a kubernetes cluster. When I try to access /admin/master/console/ I get a spinner with the text “Loading the admin console”, but it never goes away. Any idea on how to fix this?

1 Like

Are the hostname and hostport values correct?
In my case, hostname and hostport were incorrect and the same event occurred.

Hostname is the correct one.
Port is set to 443

I had the same issue few days ago using a reverse proxy. My fix was setting certain variables

PROXY_ADDRESS_FORWARDING=true
KC_HOSTNAME_STRICT_HTTPS=true
KC_HOSTNAME=my-server.com
KC_PROXY=edge

hope it helps

remove KC_PORT=443 from you configuration

I am having the same issue. I am using version 20.1. Which configuration files can i check besides the /conf/keycloak.conf file?

seeing this on version 20 - loading admin console when attempting to login to initial admin console. CtrlShiftI dev tool shows - “You need Javascript enabled to run this app” Amazon Linux 2 OS,

bin/kc.sh start --optimized --hostname-strict-backchannel=true --https-protocols=TLSv1.3,TLSv1.2 --hostname-strict-https=true

Installed NPM but still having issues.

I think it has something to do with the localhost I am listing. I am going to try setting the local IP as the host instead of the domain url.

export KC_HOSTNAME=$LOCAL_HOST_IP