Closed brutaldev closed 1 month ago
I haven't, but my guess is that 644
is not sufficient. Try it with 777
and then back off from there.
Also, FYI, if you are trying to include keycloak-orgs
like that, it won't work. It requires a set of external dependencies that are not included in that jar. Take a look in the phasetwo-containers repo for information on how our image gets built.
Thanks, I'll take a look at how your containers are built.
keycloak-orgs
is a dependency of keycloak-events
so that'y why I include it as well. Odd that this works locally but not when deployed.
I'll try with 777 permissions and include all other dependencies and let you know how far I get.
keycloak-orgs
is a dependency ofkeycloak-events
No. It is not a runtime dependency. We only use it in tests https://github.com/p2-inc/keycloak-events/blob/main/pom.xml#L267-L271
Found the issue. The JAR file was not downloaded correctly. I found this extra exception in the logs that indicated there was something wrong with the file itself: Caused by: java.util.zip.ZipException: zip END header not found
Thanks again for the help, this is working as expected now.
This seems to work perfectly when used locally in Docker Desktop, but when the providers are deployed to Azure, the container cannot start and fails with the following exception:
Have you seen this before?
This is a custom build of Keycloak that copies the provider JAR files before building the image:
Using the environment variables
WEBHOOK_URI
andWEBHOOK_SECRET
.