bitnami / containers

Bitnami container images
https://bitnami.com
Other
3.35k stars 4.82k forks source link

Keycloak Config-CLI fails with an UnrecognizedPropertyException "features" #51267

Closed MohammedNoureldin closed 11 months ago

MohammedNoureldin commented 1 year ago

Name and Version

bitnami/keycloak-config-cli

What architecture are you using?

None

What steps will reproduce the bug?

Keycloak Config-CLI fails with an UnrecognizedPropertyException "features" when executed against Keycloak 22.0.4.

What is the expected behavior?

The config-cli files have to be applied successfully.

What do you see instead?

Keycloak Config-CLI fails with an UnrecognizedPropertyException "features" when executed against Keycloak 22.0.4.

2023-10-04 10:04:59.129 DEBUG 1 --- [           main] d.a.k.config.provider.KeycloakProvider   : Attempt failure #34: jakarta.ws.rs.ProcessingException: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "features" (class org.keycloak.representations.info.ServerInfoRepresentation), not marked as ignorable (15 known properties: "protocolMapperTypes", "providers", "identityProviders", "themes", "passwordPolicies", "clientInstallations", "memoryInfo", "enums", "socialProviders", "clientImporters", "profileInfo", "componentTypes", "systemInfo", "cryptoInfo", "builtinProtocolMappers"])
dev-acme-keycloak-provisioning-1  |  at [Source: (org.jboss.resteasy.specimpl.AbstractBuiltResponse$InputStreamWrapper); line: 1, column: 1060] (through reference chain: org.keycloak.representations.info.ServerInfoRepresentation["features"])

Additional information

The issue has also been reported here: https://github.com/adorsys/keycloak-config-cli/issues/927

taladar commented 1 year ago

I get the same error. Using tcpdump I could narrow it down to the request for /admin/serverinfo (or rather the parsing of the response to that).

markusheiden commented 1 year ago

The last working Keycloak version is 22.0.3.

sass1997 commented 1 year ago

Keycloak Config CLI has been release 5.9.0 could someone trigger this update on bitnami side as well?

carrodher commented 1 year ago

The new version was released a couple of days ago at https://github.com/bitnami/containers/pull/51863

github-actions[bot] commented 11 months ago

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.