Keycloak Admin Console not loading

3,735 views
Skip to first unread message

Amal Antony

unread,
Nov 8, 2022, 1:44:54 AM11/8/22
to Keycloak User
Hi,

When I start Keycloak in production(or development mode), my admin console is not loading. The problem is happening when I am giving a Hostname in the "keycloak.conf" file. I have given the certificate file paths as well. But, when the hostname is not given, the admin console is loading (in development mode only). Any way to resolve this issue?

Regards, 
Amal Antony

Martin Kanis

unread,
Nov 8, 2022, 7:20:07 AM11/8/22
to Amal Antony, Keycloak User

--
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/43ad90d7-7f99-40ae-b96e-84042d4c73a4n%40googlegroups.com.

Susant Padhi

unread,
Nov 8, 2022, 8:51:10 AM11/8/22
to Keycloak User
Hello I had same issue, if you provide both KC_HOSTNAME and KC_HOSTNAME_ADMIN,  the admin is always landing on hostname. After little research i found It works with KC_HOSTNAME_ADMIN in production mode. FYI its on keycloak 18.0

Thanks

Amal Antony

unread,
Nov 9, 2022, 3:08:38 AM11/9/22
to Keycloak User
Hi all,

Actually when I tried by uncommenting the "proxy = reencrypt" in "keycloak.conf" file, it was working. As I am not using any reverse proxy, I changed it to "proxy = none" and it was working, the admin console loaded. 

In the default case it should point to "proxy=none" in the "keycloak.conf" file right? So, it should work in the same way when I am giving "proxy=none" explicitly. Any ideas on why this behavior is happening?

Regards,
Amal Antony

Reply all
Reply to author
Forward
0 new messages