Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-20651

After successfully uploading to the nexus repository, error: 404, Exists but is not exposed.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Fix Version/s: None
    • Component/s: Nexus
    • Labels:
      None
    • Project:
      Spark

      Description

      Recently during RC1 release for Apache Spark and after everything went successful, i.e. all the artefacts pushed to Nexus repo without any error. And the repo was closed at the end. I am getting the following error.

      On going to URL https://repository.apache.org/content/repositories/orgapachespark-1352/

      I am getting:

      {code}
      404 - Repository "orgapachespark-1352 (staging: open)" [id=orgapachespark-1352] exists but is not exposed.

      Repository "orgapachespark-1352 (staging: open)" [id=orgapachespark-1352] exists but is not exposed.
      {code}

      See following excerpt from transcript of the logs:

      {code}
      100 41 0 0 100 41 0 49 --:--:-- --:--:-- --:--:-- 49
        Uploading spark-ganglia-lgpl_2.12/2.4.7/spark-ganglia-lgpl_2.12-2.4.7-test-sources.jar.sha1
        % Total % Received % Xferd Average Speed Time Time Time Current
                                       Dload Upload Total Spent Left Speed
      100 41 0 0 100 41 0 48 --:--:-- --:--:-- --:--:-- 48
        Uploading spark-ganglia-lgpl_2.12/2.4.7/spark-ganglia-lgpl_2.12-2.4.7-tests.jar.asc
        % Total % Received % Xferd Average Speed Time Time Time Current
                                       Dload Upload Total Spent Left Speed
      100 819 0 0 100 819 0 968 --:--:-- --:--:-- --:--:-- 968
      Closing nexus staging repository
      Note: Unnecessary use of -X or --request, POST is already inferred.
        % Total % Received % Xferd Average Speed Time Time Time Current
                                       Dload Upload Total Spent Left Speed
        0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 136.243.146.148...
      * Connected to repository.apache.org (136.243.146.148) port 443 (#0)
      * found 127 certificates in /etc/ssl/certs/ca-certificates.crt
      * found 508 certificates in /etc/ssl/certs
      * ALPN, offering http/1.1
        0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* SSL connection using TLS1.2 / ECDHE_RSA_AES_256_GCM_SHA384
      * server certificate verification OK
      * server certificate status verification SKIPPED
      * common name: *.apache.org (matched)
      * server certificate expiration date OK
      * server certificate activation date OK
      * certificate public key: RSA
      * certificate version: #3
      * subject: OU=Domain Control Validated,OU=PositiveSSL Wildcard,CN=*.apache.org
      * start date: Mon, 01 Jul 2019 00:00:00 GMT
      * expire date: Wed, 30 Jun 2021 23:59:59 GMT
      * issuer: C=GB,ST=Greater Manchester,L=Salford,O=Sectigo Limited,CN=Sectigo RSA Domain Validation Secure Server CA
      * compression: NULL
      * ALPN, server accepted to use http/1.1
      * Server auth using Basic with user '<hidden>'
      > POST /service/local/staging/profiles/d63f592e7eac0/finish HTTP/1.1
      > Host: repository.apache.org
      > Authorization: Basic <auth token removed !>
      > User-Agent: curl/7.47.0
      > Accept: */*
      > Content-Type:application/xml
      > Content-Length: 168
      >
      } [168 bytes data]
      * upload completely sent off: 168 out of 168 bytes
      < HTTP/1.1 201 Created
      < Date: Thu, 06 Aug 2020 12:47:54 GMT
      < Server: Nexus/2.14.18-01 Noelios-Restlet-Engine/1.1.6-SONATYPE-5348-V8
      < X-Frame-Options: SAMEORIGIN
      < X-Content-Type-Options: nosniff
      < Content-Length: 0
      < Via: 1.1 repository.apache.org
      <
      100 168 0 0 100 168 0 225 --:--:-- --:--:-- --:--:-- 225
      * Connection #0 to host repository.apache.org left intact
      Closed Nexus staging repository: orgapachespark-1352
      /opt/spark-rm/output/spark

      {code}

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              prashant Prashant Sharma
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Review Date: