Maven-shared-incremental-1.1.pom: Connection reset

Hello folks,

I’m trying to run my jhipster generated config and have following problem:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project microcatalog: Execution default-compile of goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile failed: Plugin org.apache.maven.plugins:maven-compiler-plugin:3.8.1 or one of its dependencies could not be resolved: Failed to collect dependencies at org.apache.maven.plugins:maven-compiler-plugin:jar:3.8.1 
-> org.apache.maven.shared:maven-shared-incremental:jar:1.1: Failed to read artifact descriptor for org.apache.maven.shared:maven-shared-incremental:jar:1.1: Could not transfer artifact org.apache.maven.shared:maven-shared-incremental:pom:1.1 from/to central (https://repo.maven.apache.org/maven2): Transfer failed for https://repo.maven.apache.org/maven2/org/apache/maven/shared/maven-shared-incremental/1.1/maven-shared-incremental-1.1.pom: Connection reset -> [Help 1]

Here is my build config: https://github.com/tillias/microservice-catalog/blob/circleci-project-setup/.circleci/config.yml

Can you plase advise what can be the problem? P.S. config is generated by Jhipster, I’m absolutely new to circle-ci

Here is build itself: https://app.circleci.com/pipelines/github/tillias/microservice-catalog/5/workflows/f3406763-21a4-4db0-8da4-a52132d9b4fb/jobs/6

Hi Tillias,

Welcome to CircleCI discuss!

I see that you have had a successful deployment in your latest builds. Are you still running into this maven error? Also, I see that you were running into plenty of config validation errors. Please check out the CircleCI Local CLI which will allow to validate your configuration without pushing (among plenty of other helpful features), and save on credits!

1 Like

Hi Jaryt, many thanks for the response! I see it from time to time, seems like something with connectivity or caching. Not really sure how to reproduce it though.

I first though it it is because of some old Machine JHipster uses by default, switched to docker build. But then it was another random failure out if the docker image.

Let us keep this open for few days, so maybe I will find a pattern?

I can confirm that there are problems with connectivity.

Just caught another error: https://app.circleci.com/pipelines/github/tillias/microservice-catalog/38/workflows/cfd86c42-0b79-41c5-be45-04adb9f38021/jobs/41

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:23 min
[INFO] Finished at: 2020-10-29T21:19:11Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.heroku.sdk:heroku-maven-plugin:2.0.5:deploy (default-cli) on project microcatalog: Execution default-cli of goal com.heroku.sdk:heroku-maven-plugin:2.0.5:deploy failed: Plugin com.heroku.sdk:heroku-maven-plugin:2.0.5 or one of its dependencies could not be resolved: Failed to collect dependencies at com.heroku.sdk:heroku-maven-plugin:jar:2.0.5 → com.heroku.sdk:heroku-deploy:jar:2.0.5: Failed to read artifact descriptor for com.heroku.sdk:heroku-deploy:jar:2.0.5: Could not transfer artifact com.heroku.sdk:heroku-deploy:pom:2.0.5 from/to central (https://repo.maven.apache.org/maven2): Transfer failed for https://repo.maven.apache.org/maven2/com/heroku/sdk/heroku-deploy/2.0.5/heroku-deploy-2.0.5.pom: Connection reset → [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] PluginResolutionException - Apache Maven - Apache Software Foundation

Can we notify support somehow?

And yet another Connection reset https://app.circleci.com/pipelines/github/tillias/microservice-catalog/48/workflows/6a49de09-e9a1-4b7e-a931-3bf5ce838b0e/jobs/52