M
M
maxxxus12018-05-18 11:07:58
Java
maxxxus1, 2018-05-18 11:07:58

Why can't Gradle download a dependency?

I started taking a course from mail.ru but got stuck

FAILURE: Build failed with an exception.                                                                                                                                  
                                                                                                                                                                          
* Where:                                                                                                                                                                  
Build file 'C:\_temp\OpenServer\domains\java\atom\build.gradle' line: 2                                                                                                   
                                                                                                                                                                          
* What went wrong:                                                                                                                                                        
Error resolving plugin [id: 'org.springframework.boot', version: '1.5.8.RELEASE']                                                                                         
> Could not resolve all dependencies for configuration 'detachedConfiguration1'.                                                                                          
   > Could not determine artifacts for org.springframework.boot:org.springframework.boot.gradle.plugin:1.5.8.RELEASE                                                      
      > Could not get resource 'https://plugins.gradle.org/m2/org/springframework/boot/org.springframework.boot.gradle.plugin/1.5.8.RELEASE/org.springframework.boot.gradl
e.plugin-1.5.8.RELEASE.jar'.                                                                                                                                              
         > Could not HEAD 'https://plugins.gradle.org/m2/org/springframework/boot/org.springframework.boot.gradle.plugin/1.5.8.RELEASE/org.springframework.boot.gradle.plu
gin-1.5.8.RELEASE.jar'.                                                                                                                                                   
            > Connection reset by peer: socket write error

I tried to go to the site - it redirects to https://repo.jfrog.org/ but I can only get there through a proxy - it does not let me directly. What to do next?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
maxxxus1, 2018-05-18
@maxxus1

In general, one of the addresses is blocked by the RKN. But there is another address - to make it work, you need to register
52.7.23.178 repo.jfrog.org in the hosts
address sometimes changes

S
Sergey Gornostaev, 2018-05-18
@sergey-gornostaev

Ask your ISP why you can't get to jfrog.org. Or use a VPN.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question