keycloak-radius-plugin icon indicating copy to clipboard operation
keycloak-radius-plugin copied to clipboard

Cannot start keycloak radius because sonatype requests authorization

Open ffried opened this issue 2 years ago • 1 comments

Describe the bug When launching keycloak, the installation fails due to sonatype requesting authorization. (e.g. https://repository.sonatype.org/service/local/artifact/maven/content?r=central-proxy&g=com.github.vzakharchenko&a=rad-sec-plugin&e=jar&v=1.4.9)

To Reproduce Steps to reproduce the behavior:

  1. Launch keycloak docker container with radius plugin.
  2. See logs

Expected behavior The container starts.

ffried avatar Jun 13 '23 07:06 ffried

Note: The logs actually say something about an invalid ZIP - which is because the zip contains the 403 response from sonatype:

ERROR: Failed to run 'build' command.
ERROR: java.io.IOException: Failed to create a new filesystem for /opt/keycloak/lib/../providers/rad-sec-plugin.jar
ERROR: Failed to create a new filesystem for /opt/keycloak/lib/../providers/rad-sec-plugin.jar
ERROR: zip END header not found
For more details run the same command passing the '--verbose' option. Also you can use '--help' to see the details about the usage of the particular command.

ffried avatar Jun 13 '23 08:06 ffried