Keycloak Admin Console Stuck at "Loading the Admin UI"

Deployed an instance of openremote to production. Everything going well until I tried to access Keycloak admin console, it did not load. I was stuck at “Loading the Admin UI”.

The solution that worked was was to disabled KC_HOSTNAME_PORT and enable KC_PROXY_HEADERS & KC_PROXY on Keycloak container

#KC_HOSTNAME_PORT=443 <- disabled this
KC_PROXY_HEADERS=xforwarded
KC_PROXY=edge

Additional Notes

It possibly has to do with the domain name you’ve set up.
Maybe check your browser logs and container logs if any errors appear.

OpenRemote with Keycloak shouldn’t be any different from the “default Keycloak configuration”.
So looking up their documentation / forum might also help solving your issue :+1:

1 Like

Thank you.

I did resolve the issue by disabling KC_HOSTNAME_PORT and enable KC_PROXY_HEADERS & KC_PROXY on Keycloak container.