Uploaded image for project: 'repository.jboss.org/nexus'
  1. repository.jboss.org/nexus
  2. NEXUS-613

Compiling fails to 503 Service Unavailable for repository.jboss.org

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • Q3CY22
    • None
    • None
    • None
    • False
    • None
    • False
    • Hide

      The error might be related to which geographical location I download the files from. Maybe the problem is related to Akamai CDN which seems to be in front of repository.jboss.org site.

      When I check what address repository.jboss.org resolves to in my network vs a server I have in the USA, I expectedly get different set of IPs. The problem can be reproduced anywhere in the world by directly using one of the IPs that I get at my location (any of those IPs - there are many). For example, this command results in 503 Service Unavailable

      curl -v --resolve repository.jboss.org:443:193.229.109.151 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 

      The same works the other way around too: if I use one of the IP address that repository.jboss.org resolved to at my server in the US, the request is successful:

      curl -v --resolve repository.jboss.org:443:96.7.218.73 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
      

       

      Show
      The error might be related to which geographical location I download the files from. Maybe the problem is related to Akamai CDN which seems to be in front of repository.jboss.org site. When I check what address repository.jboss.org resolves to in my network vs a server I have in the USA, I expectedly get different set of IPs. The problem can be reproduced anywhere in the world by directly using one of the IPs that I get at my location (any of those IPs - there are many). For example, this command results in 503 Service Unavailable :  curl -v --resolve repository.jboss.org:443:193.229.109.151 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 The same works the other way around too: if I use one of the IP address that repository.jboss.org resolved to at my server in the US, the request is successful: curl -v --resolve repository.jboss.org:443:96.7.218.73 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  
    • MWES 2022-07-05

      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&#32;&#35;6&#46;cb6de5c1&#46;1656565611&#46;2068cbc0
      </BODY></HTML>

       

              dhladky@redhat.com David Hladky
              tero.saarni@gmail.com Tero Saarni
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: