Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Gradle build handshake_failure in Pipelines

Leio Heyenrath
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 17, 2018

I just started getting a handshake_failure when gradle tries to get some dependencies. It works just fine on my local machine. It worked on all my previous builds. The build it started failing for had no changes to the gradle configuration.

 

./gradlew build

 

A problem occurred configuring root project 'tuition-api'.> Could not resolve all files for configuration ':classpath'. > Could not resolve org.springframework.boot:spring-boot-gradle-plugin:2.0.1.BUILD-SNAPSHOT. Required by: project : > Could not resolve org.springframework.boot:spring-boot-gradle-plugin:2.0.1.BUILD-SNAPSHOT. > Unable to load Maven meta-data from https://repo.spring.io/snapshot/org/springframework/boot/spring-boot-gradle-plugin/2.0.1.BUILD-SNAPSHOT/maven-metadata.xml. > Could not get resource 'https://repo.spring.io/snapshot/org/springframework/boot/spring-boot-gradle-plugin/2.0.1.BUILD-SNAPSHOT/maven-metadata.xml'. > Could not GET 'https://repo.spring.io/snapshot/org/springframework/boot/spring-boot-gradle-plugin/2.0.1.BUILD-SNAPSHOT/maven-metadata.xml'. > Received fatal alert: handshake_failure > Could not resolve org.springframework.boot:spring-boot-gradle-plugin:2.0.1.BUILD-SNAPSHOT. > Unable to load Maven meta-data from https://repo.spring.io/milestone/org/springframework/boot/spring-boot-gradle-plugin/2.0.1.BUILD-SNAPSHOT/maven-metadata.xml. > Could not get resource 'https://repo.spring.io/milestone/org/springframework/boot/spring-boot-gradle-plugin/2.0.1.BUILD-SNAPSHOT/maven-metadata.xml'. > Could not GET 'https://repo.spring.io/milestone/org/springframework/boot/spring-boot-gradle-plugin/2.0.1.BUILD-SNAPSHOT/maven-metadata.xml'. > Received fatal alert: handshake_failure

 

Any ideas?

 

[EDIT]

 

Also, my previous successful builds are now failing when I re-run them. Is it possible repo.spring.io is blocking the addresses where pipelines runs it processes?

 

The URLs work when I manually try them from my computer. 

1 answer

1 vote
Jeroen De Raedt
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 18, 2018

Hi @Leio Heyenrath,

I suspect that the maven artifact has been removed (which can happen since it is only a BUILD-SNAPSHOT). Try switching to one of these versions: https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-gradle-plugin 

Leio Heyenrath
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 20, 2018

It's strange because now the URLs listed cannot find the resource when I try them from my computer. I wonder if there was some edge caching going on that my computer was able to hit, but the build servers were not.

Your answer appears to be the correct.

 

Thanks!

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events