Infrastructure
  1. Infrastructure
  2. INFRA-6927

unauthorized access to repository.apache.org

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Fix Version/s: Initial Clearing
    • Component/s: Nexus
    • Labels:
      None

      Description

      Hi, I am trying to stage a Kafka release and getting this error

      java.io.IOException: Access to URL https://repository.apache.org/service/local/staging/deploy/maven2/org/apache/kafka/kafka_2.8.0/0.8.0/kafka_2.8.0-0.8.0-javadoc.jar was refused by the server: Unauthorized

      I confirmed my login is working in the UI and I am pretty sure I am using the same credential file as I did for the last release... creds file w/ pwd removed

      <settings>
        <servers>
          <!-- To publish a snapshot of some part of Maven -->
          <server>
            <id>apache.snapshots.https</id>
            <username>joestein</username>
            <password></password>
          </server>
          <!-- To stage a release of some part of Maven -->
          <server>
            <id>apache.releases.https</id>
            <username>joestein</username>
            <password></password>
          </server>
        </servers>
      </settings>

      thanks for the help!

        Activity

        Hide
        Joe Stein added a comment -
        corrected .credentials file for sbt scala apache nexus upload

        realm=Sonatype Nexus Repository Manager
        host=repository.apache.org
        user=
        password=
        Show
        Joe Stein added a comment - corrected .credentials file for sbt scala apache nexus upload realm=Sonatype Nexus Repository Manager host=repository.apache.org user= password=
        Hide
        Joe Stein added a comment -
        Thanks Brian, I went back to the drawing board with a clean slate and built everything back up ... I must have clobbered something in my credentials file. Everything is working great, thanks!!!
        Show
        Joe Stein added a comment - Thanks Brian, I went back to the drawing board with a clean slate and built everything back up ... I must have clobbered something in my credentials file. Everything is working great, thanks!!!
        Hide
        Brian Fox added a comment -
        I've checked the kafka config in rao and the roles for joestein and everything looks correct to me.

        Are you able to deploy snapshots? Can you paste a more complete log showing the release error?
        Show
        Brian Fox added a comment - I've checked the kafka config in rao and the roles for joestein and everything looks correct to me. Are you able to deploy snapshots? Can you paste a more complete log showing the release error?
        Hide
        Joe Stein added a comment -
        I tried to upload manually through the ui to stage the release candidate.

        But got a different error trying that.

        Staging ruleset evaluation on repository 'org.apache.kafka-039 (u:joestein, a:47.17.86.211)' has failed.
        Staging Signature Validation
            -Missing Signature: '/org/apache/kafka/kafka_2.8.0/0.8.0/kafka_2.8.0-0.8.0.pom.asc' does not exist for 'kafka_2.8.0-0.8.0.pom'.

        Is there some place I have to have the pom.asc on for it to get picked up that I can't get access to please?

        Or if I can publish from our maven deploy again that would be great, let me know how I can help.

        Joes-MacBook-Air:0.8.0 joestein$ cat /org/apache/kafka/kafka_2.8.0/0.8.0/kafka_2.8.0-0.8.0.pom.asc
        -----BEGIN PGP SIGNATURE-----
        Version: BCPG v1.46

        iQIcBAABAgAGBQJSbdseAAoJEIZRh5Z/EYO9ffgP+wZdWXizYnTvfQgF6Lxyb4o9
        IJGJhL318wLEn2+VwB1+YeKlMbXNN0rv82t7UceYKn80SvDsk26trjZMI5L6HUvN
        Kdp05LmWRXtryL2xFJsINX5FhMvB1RfymogRucVBaHiDCA8GW4mCx2L3pDrrcwA7
        Oz5SN+r038OenrQbWYl4c9qa8wUJvi8rD/zUNugTwHV6QtcSXDCzr1fqEk/FWJgy
        0Eu993Lnk5REKtKMDaRviAMekF9oOsyBP4DI1nVIJG+9N59pB2I9umg+VN+IKUI+
        zRdz9QBC6uJPKZSvuX6C8LOPmzcpaRLwMq4yiuALKt/+8VxT2aVDx82FUeXHYDr6
        CK3KdvtEDV3rTjQ68gKnoKDUjqX3a9PDEiKi3Cc1y9YUH00gZ/+qaSDIDrAMNe/3
        QiEQOkIIR4+Ta344wmEqeFjuoWC6PwHLQsqYGpCqAwNj5MwzVvW2c/6ZVyjwLNn2
        sIPSpLDMgmlxu4FVZ6jsg+bZ4JEKiHmo3fpr1utyimurfbnNy6mt7hOm8Exla2Fc
        nuNwmnj1Vkp8qdQ2YMhfAzskA3APJyiHRkstL0lwvDph4si2TY+x5eJPruRezgVd
        5q/mQxmN3WG3OQcQ80mR3zFVysOyFGMqQKP+OOIzb1DNwYVekhK07rqEvdvFFirC
        GssPYUb8exaQ0zV/5d6l
        =UdJ/
        -----END PGP SIGNATURE-----



        Show
        Joe Stein added a comment - I tried to upload manually through the ui to stage the release candidate. But got a different error trying that. Staging ruleset evaluation on repository 'org.apache.kafka-039 (u:joestein, a:47.17.86.211)' has failed. Staging Signature Validation     -Missing Signature: '/org/apache/kafka/kafka_2.8.0/0.8.0/kafka_2.8.0-0.8.0.pom.asc' does not exist for 'kafka_2.8.0-0.8.0.pom'. Is there some place I have to have the pom.asc on for it to get picked up that I can't get access to please? Or if I can publish from our maven deploy again that would be great, let me know how I can help. Joes-MacBook-Air:0.8.0 joestein$ cat /org/apache/kafka/kafka_2.8.0/0.8.0/kafka_2.8.0-0.8.0.pom.asc -----BEGIN PGP SIGNATURE----- Version: BCPG v1.46 iQIcBAABAgAGBQJSbdseAAoJEIZRh5Z/EYO9ffgP+wZdWXizYnTvfQgF6Lxyb4o9 IJGJhL318wLEn2+VwB1+YeKlMbXNN0rv82t7UceYKn80SvDsk26trjZMI5L6HUvN Kdp05LmWRXtryL2xFJsINX5FhMvB1RfymogRucVBaHiDCA8GW4mCx2L3pDrrcwA7 Oz5SN+r038OenrQbWYl4c9qa8wUJvi8rD/zUNugTwHV6QtcSXDCzr1fqEk/FWJgy 0Eu993Lnk5REKtKMDaRviAMekF9oOsyBP4DI1nVIJG+9N59pB2I9umg+VN+IKUI+ zRdz9QBC6uJPKZSvuX6C8LOPmzcpaRLwMq4yiuALKt/+8VxT2aVDx82FUeXHYDr6 CK3KdvtEDV3rTjQ68gKnoKDUjqX3a9PDEiKi3Cc1y9YUH00gZ/+qaSDIDrAMNe/3 QiEQOkIIR4+Ta344wmEqeFjuoWC6PwHLQsqYGpCqAwNj5MwzVvW2c/6ZVyjwLNn2 sIPSpLDMgmlxu4FVZ6jsg+bZ4JEKiHmo3fpr1utyimurfbnNy6mt7hOm8Exla2Fc nuNwmnj1Vkp8qdQ2YMhfAzskA3APJyiHRkstL0lwvDph4si2TY+x5eJPruRezgVd 5q/mQxmN3WG3OQcQ80mR3zFVysOyFGMqQKP+OOIzb1DNwYVekhK07rqEvdvFFirC GssPYUb8exaQ0zV/5d6l =UdJ/ -----END PGP SIGNATURE-----

          People

          • Assignee:
            Unassigned
            Reporter:
            Joe Stein
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development