Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not connect to keycloak in 120 seconds: HTTP 403 Forbidden #1006

Open
yoyoraso opened this issue Apr 3, 2024 · 0 comments
Open

Could not connect to keycloak in 120 seconds: HTTP 403 Forbidden #1006

yoyoraso opened this issue Apr 3, 2024 · 0 comments
Labels

Comments

@yoyoraso
Copy link

yoyoraso commented Apr 3, 2024

Current Behavior

2024-04-03 10:46:21.048 INFO 1 --- [ main] d.a.k.config.KeycloakConfigApplication : Starting KeycloakConfigApplication v5.10.0 using Java 17.0.10 on keycloak-keycloak-config-cli-rsk9g with PID 1 (/opt/bitnami/keycloak-config-cli/keycloak-config-cli-23.0.1.jar started by ? in /opt/bitnami/keycloak-config-cli)
2024-04-03 10:46:21.055 INFO 1 --- [ main] d.a.k.config.KeycloakConfigApplication : No active profile set, falling back to 1 default profile: "default"
2024-04-03 10:46:22.631 INFO 1 --- [ main] d.a.k.config.KeycloakConfigApplication : Started KeycloakConfigApplication in 3.437 seconds (JVM running for 6.061)
2024-04-03 10:46:27.083 INFO 1 --- [ main] d.a.k.config.KeycloakConfigRunner : Importing file 'file:/config/master.json'
2024-04-03 10:46:27.092 INFO 1 --- [ main] d.a.k.config.provider.KeycloakProvider : Wait 120 seconds until http://keycloak-headless:8080/ is available ...
2024-04-03 10:48:30.347 ERROR 1 --- [ main] d.a.k.config.KeycloakConfigRunner : Could not connect to keycloak in 120 seconds: HTTP 403 Forbidden
2024-04-03 10:48:30.596 INFO 1 --- [ main] d.a.k.config.KeycloakConfigRunner : keycloak-config-cli running in 02:04.025.

Expected Behavior

the realm to be imported

Steps To Reproduce

1- in privet cluster (not connected to the internet).
2- chart "19.3.4" 
3- image "bitnami/keycloak-config-cli:5.12.0-debian-12-r1"
values file: 
keycloakConfigCli:
  enabled: true
  configuration:
    realm1.json: |
      {
        "realm": "realm1",
         "clients": []
      }

Environment

  • Keycloak Version: [https://hub.docker.com/layers/bitnami/keycloak/23.0.7-debian-12-r5/images/sha256-3522ce6a093badf6d26ab4ea211f752762a78290075de1bfd57174b286f1f5a2?context=explore]
  • keycloak-config-cli Version: [https://hub.docker.com/layers/bitnami/keycloak-config-cli/5.12.0-debian-12-r1/images/sha256-1578327937b564f3c23a3c0d7a84580bcbd74e14a1e1061026e680d6624175b3?context=explore]
  • Java Version: [keycloak@keycloak-0:/$ java --version
    openjdk 17.0.10 2024-01-16 LTS
    OpenJDK Runtime Environment (build 17.0.10+13-LTS)
    OpenJDK 64-Bit Server VM (build 17.0.10+13-LTS, mixed mode, sharing)]

Anything else?

No response

@yoyoraso yoyoraso added the bug label Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant