Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 2
Message 1 of 4

Getting Maven "Could not transfer artifact" with 500 error when using Github Actions

Hi, 

 

In our open source project, we are intermittently getting errors like these after moving from Jenkins to Github CI Actions:

 

 

More examples are documented in our Github Issues here: https://github.com/apache/pulsar/issues/6231

 

This issue almost seems related to this issue: 

https://github.community/t5/GitHub-Actions/GitHub-Package-Registry-with-Maven-causes-deployment-issu...

and this issue (about proxy settings):

https://stackoverflow.com/questions/15334394/could-not-transfer-artifact-org-apache-maven-pluginsmav...

 

Our Github workflow files are located here: https://github.com/apache/pulsar/tree/master/.github/workflows

This one, for example, has caused the issue: https://github.com/apache/pulsar/blob/master/.github/workflows/ci-unit-flaky.yaml

 

How do we resolve this issue?

 

3 Replies
Highlighted
GitHub Partner
Message 2 of 4

Re: Getting Maven "Could not transfer artifact" with 500 error when using Github Actions

I tested on the forked repository of your repository, but did not reproduce the problem, it always can work without errors.

Maybe you can try to enabling debug logging on your repository, and share the detailed debug logs with us if the error occurs again next time.

Highlighted
Ground Controller Lvl 1
Message 3 of 4

Re: Getting Maven "Could not transfer artifact" with 500 error when using Github Actions

I am getting similar errors intermittently on a private Jenkins instance; same maven repository, different packages. Maybe the problem is with Apache's server?

Highlighted
Copilot Lvl 2
Message 4 of 4

Re: Getting Maven "Could not transfer artifact" with 500 error when using Github Actions

The issue is intermittent and unpredictable.