Connection timed out on oss.sonatype.org

My project Cassandre is using actions and is publishing artifacts to https://oss.sonatype.org/content/repositories/snapshots. Everything was working perfectly but since some days, all ci runs are failing with this kind of error :

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project ***-trading-bot-spring-boot-autoconfigure: Failed to retrieve remote metadata tech.***.trading.bot:***-trading-bot-spring-boot-autoconfigure:2.0.1-SNAPSHOT/maven-metadata.xml: Could not transfer metadata tech.***.trading.bot:***-trading-bot-spring-boot-autoconfigure:2.0.1-SNAPSHOT/maven-metadata.xml from/to ossrh (https://oss.sonatype.org/content/repositories/snapshots): Transfer failed for https://oss.sonatype.org/content/repositories/snapshots/tech/***/trading/bot/***-trading-bot-spring-boot-autoconfigure/2.0.1-SNAPSHOT/maven-metadata.xml: Connection timed out (Read failed) -> [Help 1]

I even relaunch previously working buijd and they know fail

Does anyone can help ?

Hi @straumat,

Glad to see you in Github Community Forum!

I notice your recent workflow is successful now after updating maven-jar-plugin from 3.1.0 to 3.2.0.
Could you please confirm whether it’s fixed?

Thanks

Hi @weide-zhou, seems dependabot created a merge request and things are now fixed.

Thanks @straumat for your confirmation.

Let me know if you have any other questions.

Happy coding!

@weide-zhou seems the problem is back :frowning:
https://github.com/cassandre-tech/cassandre-trading-bot/actions/runs/212714620

Do you think it can come from my way to push updates now ?
Dependabot seems to be usccesfull

Hi @straumat,

Can you revert the change to successful workflow and try again?
You can add the change again for testing, i don’t have the secrets, sorry i cannot check on my side.
But it mostly like a code issue while not related to Github Action.

Thanks

It works. Thanks seems the gitglow-maven plugin creates a problem when you use the feature action.

1 Like