-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
None
-
None
I have been failing to compile Keycloak with 503 Service Unavailable when fetching dependencies with Maven.
The error happens for artifacts from repository.jboss.org. I first noticed the problem 29th Jun and it still persist.
The error I get during maven compile is
[ERROR] Plugin org.apache.maven.plugins:maven-compiler-plugin:3.8.1-jboss-1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-compiler-plugin:jar:3.8.1-jboss-1: Could not transfer artifact org.apache.maven.plugins:maven-compiler-plugin:pom:3.8.1-jboss-1 from/to jboss-public-repository (https://repository.jboss.org/nexus/content/groups/public/): transfer failed for https://repository.jboss.org/nexus/content/groups/public/org/apache/maven/plugins/maven-compiler-plugin/3.8.1-jboss-1/maven-compiler-plugin-3.8.1-jboss-1.pom, status: 503 Service Unavailable -> [Help 1]
I get the same error 503 Service Unavailable if I try to access any artifact in the repository.jboss.org, such as this or this but strangely some directory indexes like this work correctly for me.
I have tried downloads from several machines, different clients (maven, curl). The error when trying to download the file with curl:
$ curl -v https://repository.jboss.org/nexus/content/groups/public/org/apache/maven/plugins/maven-compiler-plugin/3.8.1-jboss-1/maven-compiler-plugin-3.8.1-jboss-1.pom * Trying 193.229.109.207:443... ... HTTP/1.1 503 Service Unavailable < Mime-Version: 1.0 < Content-Type: text/html < Content-Length: 272 < Expires: Thu, 30 Jun 2022 05:06:51 GMT < Cache-Control: max-age=0, no-cache, no-store < Pragma: no-cache < Date: Thu, 30 Jun 2022 05:06:51 GMT < Connection: keep-alive < x-rh-edge-request-id: 2068cbc0 < x-rh-edge-reference-id: 0.cb6de5c1.1656565611.2068cbc0 < x-rh-edge-cache-status: Error from child < x-rh-edge-repository-type: mixed < <HTML><HEAD> <TITLE>Service Unavailable - Fail to connect</TITLE> </HEAD><BODY> <H1>Service Unavailable</H1> The server is temporarily unable to service your request. Please try again later.<P> Reference #6.cb6de5c1.1656565611.2068cbc0 </BODY></HTML>