Hi everybody:
A few months ago, I started working with OpenRemote as part of my final degree project at university, and I am still in the process of absorbing and understanding all the information in the official documentation. I have successfully deployed a prototype on a local server, which can be accessed from the domain op.recuncho.es
.
There are still many aspects to configure, but after confirming access to the manager via a web browser, I tried to access keycloak admin interface via web browser localy but it doesnt load:
When I try to access the Keycloak administration URL on the server where I have successfully deployed HAProxy, PostgreSQL, Keycloak, and Manager, the administration console does not load.
There is communication between Manager and Keycloak, as I can authenticate using the user created during the container deployment through https://op.recuncho.es
. However, I can’t understand why I am unable to directly access the Keycloak administration console.
When I look at the log of keycloak I see errors about themes but not sure if this is the root of the problem and why, here is the log:
2024-12-06 11:01:28,123 INFO [org.keycloak.common.Profile] (main) Preview features enabled: token-exchange
2024-12-06 11:01:29,024 INFO [org.keycloak.quarkus.runtime.hostname.DefaultHostnameProvider] (main) Hostname settings: Base URL: , Hostname: op.recuncho.es, Strict HTTPS: true, Path: , Strict BackChannel: false, Admin URL: , Admin: , Port: 443, Proxied: true
2024-12-06 11:01:29,027 INFO [org.openremote.keycloak.IssuerInitializerProvider] (main) No issuer BaseURI provided
2024-12-06 11:01:31,289 WARN [io.quarkus.agroal.runtime.DataSources] (main) Datasource enables XA but transaction recovery is not enabled. Please enable transaction recovery by setting quarkus.transaction-manager.enable-recovery=true, otherwise data may be lost if the application is terminated abruptly
2024-12-06 11:01:32,722 WARN [org.infinispan.PERSISTENCE] (keycloak-cache-init) ISPN000554: jboss-marshalling is deprecated and planned for removal
2024-12-06 11:01:32,839 INFO [org.infinispan.CONTAINER] (keycloak-cache-init) ISPN000556: Starting user marshaller ‘org.infinispan.jboss.marshalling.core.JBossUserMarshaller’
2024-12-06 11:01:33,103 INFO [org.infinispan.CLUSTER] (keycloak-cache-init) ISPN000088: Unable to use any JGroups configuration mechanisms provided in properties {}. Using default JGroups configuration!
2024-12-06 11:01:33,227 INFO [org.infinispan.CLUSTER] (keycloak-cache-init) ISPN000078: Starting JGroups channelISPN
2024-12-06 11:01:33,230 INFO [org.jgroups.JChannel] (keycloak-cache-init) local_addr: 64a5c8a5-c11a-47a3-ba87-425c8fb7055a, name: 5d531658cb45-8047
2024-12-06 11:01:33,246 WARN [org.jgroups.protocols.UDP] (keycloak-cache-init) JGRP000015: the send buffer of socket MulticastSocket was set to 1MB, but the OS only allocated 212.99KB
2024-12-06 11:01:33,246 WARN [org.jgroups.protocols.UDP] (keycloak-cache-init) JGRP000015: the receive buffer of socket MulticastSocket was set to 20MB, but the OS only allocated 212.99KB
2024-12-06 11:01:33,247 WARN [org.jgroups.protocols.UDP] (keycloak-cache-init) JGRP000015: the send buffer of socket MulticastSocket was set to 1MB, but the OS only allocated 212.99KB
2024-12-06 11:01:33,247 WARN [org.jgroups.protocols.UDP] (keycloak-cache-init) JGRP000015: the receive buffer of socket MulticastSocket was set to 25MB, but the OS only allocated 212.99KB
2024-12-06 11:01:33,256 INFO [org.jgroups.protocols.FD_SOCK2] (keycloak-cache-init) server listening on .37223
2024-12-06 11:01:33,290 WARN [io.quarkus.vertx.http.runtime.VertxHttpRecorder] (main) The X-Forwarded- and Forwarded headers will be considered when determining the proxy address. This configuration can cause a security issue as clients can forge requests and send a forwarded header that is not overwritten by the proxy. Please consider use one of these headers just to forward the proxy address in requests.
2024-12-06 11:01:35,265 INFO [org.jgroups.protocols.pbcast.GMS] (keycloak-cache-init) 5d531658cb45-8047: no members discovered after 2002 ms: creating cluster as coordinator
2024-12-06 11:01:35,273 INFO [org.infinispan.CLUSTER] (keycloak-cache-init) ISPN000094: Received new cluster view for channel ISPN: [5d531658cb45-8047|0] (1) [5d531658cb45-8047]
2024-12-06 11:01:35,294 INFO [org.infinispan.CLUSTER] (keycloak-cache-init) ISPN000079: ChannelISPN
local address is5d531658cb45-8047
, physical addresses are[172.25.0.3:52759]
2024-12-06 11:01:35,303 WARN [org.infinispan.CONFIG] (keycloak-cache-init) ISPN000569: Unable to persist Infinispan internal caches as no global state enabled
2024-12-06 11:01:35,742 INFO [org.keycloak.connections.infinispan.DefaultInfinispanConnectionProviderFactory] (main) Node name: 5d531658cb45-8047, Site name: null
2024-12-06 11:01:35,753 INFO [org.keycloak.broker.provider.AbstractIdentityProviderMapper] (main) Registering class org.keycloak.broker.provider.mappersync.ConfigSyncEventListener
2024-12-06 11:01:37,026 INFO [io.quarkus] (main) Keycloak 23.0.7 on JVM (powered by Quarkus 3.2.10.Final) started in 10.364s. Listening on: http://0.0.0.0:8080
2024-12-06 11:01:37,027 INFO [io.quarkus] (main) Profile prod activated.
2024-12-06 11:01:37,027 INFO [io.quarkus] (main) Installed features: [agroal, cdi, hibernate-orm, jdbc-h2, jdbc-mariadb, jdbc-mssql, jdbc-mysql, jdbc-oracle, jdbc-postgresql, keycloak, logging-gelf, micrometer, narayana-jta, reactive-routes, resteasy-reactive, resteasy-reactive-jackson, smallrye-context-propagation, smallrye-health, vertx]
2024-12-06 11:35:07,641 WARN [org.keycloak.events] (executor-thread-1) type=“LOGIN_ERROR”, realmId=“b3951415-1641-4ef8-b91f-58ccb606a82d”, clientId=“null”, userId=“null”, ipAddress=“207.188.176.28”, error=“expired_code”, restart_after_timeout=“true”
2024-12-06 11:35:16,497 WARN [org.keycloak.theme.DefaultThemeManager] (executor-thread-1) Not found parent theme ‘keycloak’ of theme ‘openremote’. Unable to load ACCOUNT theme ‘openremote’ due to this.
2024-12-06 11:35:16,498 ERROR [org.keycloak.theme.DefaultThemeManager] (executor-thread-1) Failed to find ACCOUNT theme openremote, using built-in themes
2024-12-06 11:35:16,499 WARN [org.keycloak.theme.DefaultThemeManager] (executor-thread-1) Not found parent theme ‘keycloak’ of theme ‘openremote’. Unable to load ACCOUNT theme ‘openremote’ due to this.
2024-12-06 11:35:16,501 ERROR [org.keycloak.theme.DefaultThemeManager] (executor-thread-1) Failed to find ACCOUNT theme openremote, using built-in themes
2024-12-08 09:30:35,646 WARN [org.keycloak.theme.DefaultThemeManager] (executor-thread-1) Not found parent theme ‘keycloak’ of theme ‘openremote’. Unable to load ACCOUNT theme ‘openremote’ due to this.
2024-12-08 09:30:35,648 ERROR [org.keycloak.theme.DefaultThemeManager] (executor-thread-1) Failed to find ACCOUNT theme openremote, using built-in themes
2024-12-08 09:30:35,649 WARN [org.keycloak.theme.DefaultThemeManager] (executor-thread-1) Not found parent theme ‘keycloak’ of theme ‘openremote’. Unable to load ACCOUNT theme ‘openremote’ due to this.
2024-12-08 09:30:35,649 ERROR [org.keycloak.theme.DefaultThemeManager] (executor-thread-1) Failed to find ACCOUNT theme openremote, using built-in themes
2024-12-08 15:07:55,173 WARN [org.keycloak.theme.DefaultThemeManager] (executor-thread-5) Not found parent theme ‘keycloak’ of theme ‘openremote’. Unable to load ACCOUNT theme ‘openremote’ due to this.
2024-12-08 15:07:55,178 ERROR [org.keycloak.theme.DefaultThemeManager] (executor-thread-5) Failed to find ACCOUNT theme openremote, using built-in themes
2024-12-08 15:07:55,178 WARN [org.keycloak.theme.DefaultThemeManager] (executor-thread-5) Not found parent theme ‘keycloak’ of theme ‘openremote’. Unable to load ACCOUNT theme ‘openremote’ due to this.
2024-12-08 15:07:55,179 ERROR [org.keycloak.theme.DefaultThemeManager] (executor-thread-5) Failed to find ACCOUNT theme openremote, using built-in themes
2024-12-08 15:08:04,930 WARN [org.keycloak.theme.DefaultThemeManager] (executor-thread-5) Not found parent theme ‘keycloak’ of theme ‘openremote’. Unable to load ACCOUNT theme ‘openremote’ due to this.
2024-12-08 15:08:04,930 ERROR [org.keycloak.theme.DefaultThemeManager] (executor-thread-5) Failed to find ACCOUNT theme openremote, using built-in themes
2024-12-08 15:08:04,930 WARN [org.keycloak.theme.DefaultThemeManager] (executor-thread-5) Not found parent theme ‘keycloak’ of theme ‘openremote’. Unable to load ACCOUNT theme ‘openremote’ due to this.
2024-12-08 15:08:04,931 ERROR [org.keycloak.theme.DefaultThemeManager] (executor-thread-5) Failed to find ACCOUNT theme openremote, using built-in themes
2024-12-08 15:13:10,793 WARN [org.keycloak.theme.DefaultThemeManager] (executor-thread-9) Not found parent theme ‘keycloak’ of theme ‘openremote’. Unable to load ACCOUNT theme ‘openremote’ due to this.
2024-12-08 15:13:10,793 ERROR [org.keycloak.theme.DefaultThemeManager] (executor-thread-9) Failed to find ACCOUNT theme openremote, using built-in themes
2024-12-08 15:13:10,794 WARN [org.keycloak.theme.DefaultThemeManager] (executor-thread-9) Not found parent theme ‘keycloak’ of theme ‘openremote’. Unable to load ACCOUNT theme ‘openremote’ due to this.
2024-12-08 15:13:10,794 ERROR [org.keycloak.theme.DefaultThemeManager] (executor-thread-9) Failed to find ACCOUNT theme openremote, using built-in themes
2024-12-08 15:27:44,454 WARN [org.keycloak.theme.DefaultThemeManager] (executor-thread-9) Not found parent theme ‘keycloak’ of theme ‘openremote’. Unable to load ACCOUNT theme ‘openremote’ due to this.
2024-12-08 15:27:44,454 ERROR [org.keycloak.theme.DefaultThemeManager] (executor-thread-9) Failed to find ACCOUNT theme openremote, using built-in themes
2024-12-08 15:27:44,454 WARN [org.keycloak.theme.DefaultThemeManager] (executor-thread-9) Not found parent theme ‘keycloak’ of theme ‘openremote’. Unable to load ACCOUNT theme ‘openremote’ due to this.
2024-12-08 15:27:44,455 ERROR [org.keycloak.theme.DefaultThemeManager] (executor-thread-9) Failed to find ACCOUNT theme openremote, using built-in themes
Welcome to Keycloak is working:
Thanks in advance for your patient and help.