Connection to https://jcenter.bintray.com refused

 Build agent is returning below exception: (I have verified through the browser that URL is reachable though)

[Gradle failure report] FAILURE: Build failed with an exception.
[12:35:10][Gradle failure report]
[12:35:10][Gradle failure report] * What went wrong:
[12:35:10][Gradle failure report] A problem occurred configuring root project '31b691baef585827'.
[12:35:10][Gradle failure report] > Could not resolve all dependencies for configuration ':classpath'.
[12:35:10][Gradle failure report] > Could not resolve com.android.tools.build:gradle:2.3.0.
[12:35:10][Gradle failure report] Required by:
[12:35:10][Gradle failure report] :31b691baef585827:unspecified
[12:35:10][Gradle failure report] > Could not GET 'https://jcenter.bintray.com/com/android/tools/build/gradle/2.3.0/gradle-2.3.0.pom'.
[12:35:10][Gradle failure report] > Connection to https://jcenter.bintray.com refused
0
3 comments

This is usually a connectivity issue. Are you still facing it? If so, could you provide more details? Teamcity version, gradle version, etc

0
Avatar
Permanently deleted user

This issue has been resolved by adding proxy settings to gradle.property files

 

Thanks

0
Avatar
Permanently deleted user

I have the same problem with you, how to add proxy settings to file gradle.property

thanks

0

Please sign in to leave a comment.