Uploaded image for project: 'Community Support - Open Source Project Repository Hosting'
  1. Community Support - Open Source Project Repository Hosting
  2. OSSRH-63425

Artifact staging and Nexus UI returns 405: Not Allowed for all requests

    XMLWordPrintable

Details

    • Publishing Support
    • Resolution: Fixed
    • Blocker
    • null
    • oss.sonatype.org
    • No

    Description

      When attempting to upload an artifact to staging or attempting to access any of the UI pages in Nexus the requests fails with HTTP Status code: 405 Not Authorized

       

      __Please see example Maven output for the failure below as well:

      [INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ swirlds-platform ---
      Uploading to ossrh: https://oss.sonatype.org/service/local/staging/deploy/maven2/com/swirlds/swirlds-platform/0.8.0/swirlds-platform-0.8.0.pom
      [                      INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary for swirlds-platform 0.8.0:
      [INFO] 
      [INFO] swirlds-platform ................................... FAILURE [ 15.080 s]
      [INFO] swirlds-logging .................................... SKIPPED
      [INFO] swirlds-common ..................................... SKIPPED
      [INFO] swirlds-platform-core .............................. SKIPPED
      [INFO] swirlds-fcqueue .................................... SKIPPED
      [INFO] swirlds-fchashmap .................................. SKIPPED
      [INFO] swirlds-fcmap ...................................... SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  17.672 s
      [INFO] Finished at: 2021-01-14T18:07:56Z
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project swirlds-platform: Failed to deploy artifacts: Could not transfer artifact com.swirlds:swirlds-platform:pom:0.8.0 from/to ossrh (https://oss.sonatype.org/service/local/staging/deploy/maven2/): Transfer failed for https://oss.sonatype.org/service/local/staging/deploy/maven2/com/swirlds/swirlds-platform/0.8.0/swirlds-platform-0.8.0.pom 405 Not Allowed -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      

      Attachments

        Issue Links

          Activity

            People

              jorlina Joel Orlina
              nathan@swirlds.com Nathan Klick
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                tigCommentSecurity.panel-title