Skip to content

Publishing Maven artifacts to oss.sonatype.org fails with 502 HTTP error

Summary

We tried to build an Eclipse Ditto bugfix release today, part of that publishes the Maven artifacts to oss.sonatype.org.

Publishing artifacts is up, based on the status page of Sonatype: https://status.maven.org

E.g. inspect build logs at: https://ci.eclipse.org/ditto/view/Releases/job/ditto-release/142/console

Steps to reproduce

Run release build at https://ci.eclipse.org/ditto/view/Releases/job/ditto-release/

What is the current bug behavior?

Release build fails due to publishing problems.

What is the expected correct behavior?

Publishing is successful.

Relevant logs and/or screenshots

Error message:

[ERROR] Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.13:deploy (injected-nexus-deploy) on project ditto-things-api: Execution injected-nexus-deploy of goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.13:deploy failed: Nexus connection problem to URL [https://oss.sonatype.org/ ]: 502 - Bad Gateway -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.13:deploy (injected-nexus-deploy) on project ditto-things-api: Execution injected-nexus-deploy of goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.13:deploy failed: Nexus connection problem to URL [https://oss.sonatype.org/ ]: 502 - Bad Gateway

Priority

  • Urgent
  • High
  • Medium
  • Low

Severity

  • Blocker
  • Major
  • Normal
  • Low

Impact

It is blocking a release, but we can also build that another time.