19 days ago
The keycloak service is not deploying properly. I did not change any of the configurations and i do not expect it to fail - why did it fail by its own?
Please help me ASAP this is crucial!
4 Replies
19 days ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open Railway • 19 days ago
18 days ago
[Region: asia-southeast1]
=========================
Using Detected Dockerfile
=========================
context: r07t-vTuF
internal
load build definition from Dockerfile
0ms
internal
load metadata for quay.io/keycloak/keycloak:25.0.6
1s
internal
load metadata for quay.io/keycloak/keycloak:latest
1s
internal
load .dockerignore
0ms
builder
ADD --chown=keycloak:keycloak https://github.com/klausbetz/apple-identity-provider-keycloak/releases/download/1.7.1/apple-identity-provider-1.7.1.jar /opt/keycloak/providers/apple-identity-provider-1.7.1.jar
607ms
stage-1
FROM quay.io/keycloak/keycloak:latest@sha256:ae8efb0d218d8921334b03a2dbee7069a0b868240691c50a3ffc9f42fabba8b4
28ms
builder
ADD --chown=keycloak:keycloak https://github.com/wadahiro/keycloak-discord/releases/download/v0.5.0/keycloak-discord-0.5.0.jar /opt/keycloak/providers/keycloak-discord-0.5.0.jar
858ms
internal
load build context
0ms
builder
FROM quay.io/keycloak/keycloak:25.0.6@sha256:82c5b7a110456dbd42b86ea572e728878549954cc8bd03cd65410d75328095d2
29ms
builder
ADD --chown=keycloak:keycloak https://github.com/klausbetz/apple-identity-provider-keycloak/releases/download/1.7.1/apple-identity-provider-1.7.1.jar /opt/keycloak/providers/apple-identity-provider-1.7.1.jar
404ms
builder
ADD --chown=keycloak:keycloak https://github.com/wadahiro/keycloak-discord/releases/download/v0.5.0/keycloak-discord-0.5.0.jar /opt/keycloak/providers/keycloak-discord-0.5.0.jar
133ms
builder
COPY /theme/keywind /opt/keycloak/themes/keywind
64ms
builder
RUN /opt/keycloak/bin/kc.sh build
5s
kc.sh show-config
stage-1
COPY java.config /etc/crypto-policies/back-ends/java.config
88ms
stage-1
COPY --from=builder /opt/keycloak/ /opt/keycloak/
213ms
auth
sharing credentials for production-asia-southeast1-eqsg3a.railway-registry.com
0ms
Build time: 43.41 seconds
====================
Starting Healthcheck
====================
Path: /health/ready
Retry window: 5m0s
Attempt #1 failed with service unavailable. Continuing to retry for 4m49s
Attempt #2 failed with service unavailable. Continuing to retry for 4m44s
Attempt #3 failed with service unavailable. Continuing to retry for 4m42s
Attempt #4 failed with service unavailable. Continuing to retry for 4m37s
Attempt #5 failed with service unavailable. Continuing to retry for 4m29s
Attempt #6 failed with service unavailable. Continuing to retry for 4m13s
Attempt #7 failed with service unavailable. Continuing to retry for 3m43s
Attempt #8 failed with service unavailable. Continuing to retry for 3m13s
Attempt #9 failed with service unavailable. Continuing to retry for 2m43s
Attempt #10 failed with service unavailable. Continuing to retry for 2m12s
Attempt #11 failed with service unavailable. Continuing to retry for 1m42s
Attempt #12 failed with service unavailable. Continuing to retry for 1m12s
Attempt #13 failed with service unavailable. Continuing to retry for 42s
Attempt #14 failed with service unavailable. Continuing to retry for 12s
1/1 replicas never became healthy!
there's only build logs failed here
0x5b62656e5d
Are there any crash logs?
18 days ago
Do you know what could have happened here? I didnt change anything just stopped working on it's own
18 days ago
The issue might be caused by a version mismatch in your Dockerfile. The build stage is using keycloak version 25.0.6, but your runtime stage is pulling the latest tag. Try to pin your runtime version to the same version as your builder.
Change it to: FROM quay.io/keycloak/keycloak:25.0.6
