question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New admin2 master console not works - Failed to load resource

See original GitHub issue

Describe the bug

After upgrading from 18.0.1 to 19.0.1 is a problem with default admin2 security console. After logging in, the outline of the administration flashes briefly and after see white page only.

The cause is most likely in ENV KC_HTTP_RELATIVE_PATH=/auth

Report from browser console image

Version

19.0.1

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

My Dockerfile:

FROM quay.io/keycloak/keycloak:19.0.1 as builder

ENV KC_METRICS_ENABLED=true
ENV KC_HEALTH_ENABLED=true
ENV KC_HTTP_RELATIVE_PATH=/auth
ENV KC_CACHE=ispn
ENV KC_CACHE_STACK=kubernetes
ENV KC_DB=mariadb


RUN /opt/keycloak/bin/kc.sh build 

FROM quay.io/keycloak/keycloak:19.0.1
COPY --from=builder /opt/keycloak/ /opt/keycloak/

WORKDIR /opt/keycloak
ENV KEYCLOAK_ADMIN=admin
ENV KEYCLOAK_ADMIN_PASSWORD=PW

ENV KC_DB_URL=jdbc:mariadb://URL:3306/keycloak
ENV KC_DB_USERNAME=DATABASE
ENV KC_DB_PASSWORD=PW
ENV KC_HOSTNAME=HOSTNAME_URL
ENV KC_HOSTNAME_ADMIN=HOSTNAME_URL_ADMIN
ENV KC_PROXY=edge

ENV KC_HOSTNAME_STRICT_BACKCHANNEL=true
ENTRYPOINT ["/opt/keycloak/bin/kc.sh", "start", "--optimized"]

Anything else?

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
stianstcommented, Sep 30, 2022

@breedjaram32 awesome thanks, we’ll get this included in 19.0.3, which should be out early next week.

0reactions
breedjaram32commented, Sep 30, 2022

Hi @stianst great! Admin2 works perfect with nightly build.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Admin console not loading · Issue #14666 · keycloak ... - GitHub
Describe the bug It seems the new admin console doesn't load ... New admin2 master console not works - Failed to load resource...
Read more >
Launching the Hub Console fails with "Unable to load ...
ERROR: Launching the Hub Console fails with "Unable to load resource" after a prior successful login into the MDM Console ...
Read more >
4 Ways to Fix the “Failed to Load Resource: net - Kinsta
Learn how to fix the "Failed to Load Resource: net::ERR_BLOCKED_BY_CLIENT" error. We'll show you 4 different methods to fix this error.
Read more >
Keycloak Admin console not accessible - Stack Overflow
Try open /auth/admin/master/console/ in a Browser. Additional Info: https://www.keycloak.org/docs/latest/getting_started/index.html.
Read more >
FMS10 Admin Console doesn't start 95% of the time
The Admin Console is acting like something is using port 16000 and so it fails to start, but we've checked everything on the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found