GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Bug: Keycloak health check not working with HTTP relative path · Issue #964 · testcontainers/testcontainers-python Closed DescriptionDescribe the bug In case a HTTP relative path is configured the health check requires to consider this relative path. (Related topic: With Keycloak version 26.3 the health endpoint is only provided via managament port but not other ports.) To Reproduce from testcontainers.keycloak import KeycloakContainer keycloak = KeycloakContainer('quay.io/keycloak/keycloak:latest') \ .with_env("KEYCLOAK_ADMIN", 'test') \ .with_env("KEYCLOAK_ADMIN_PASSWORD", 'test') \ .with_env("KC_HTTP_RELATIVE_PATH", "/auth") \ .with_env("KC_HEALTH_ENABLED", 'true') \ .with_env("KC_HTTP_MANAGEMENT_RELATIVE_PATH", "/auth") \ .with_command("start-dev") keycloak.start() With this Keycloak Container the readiness probe is failing with HTTP error requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http://localhost:53741/health/ready However, keycloak health check is successful when HTTP relative path is included,i.e. when the following request is used: http://localhost:53741/auth/health/ready For readiness probe in testcontainer please see Runtime environment Windows System Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |