JFrog Artifactory无法从远程存储库下载jar

时间:2020-05-14 04:48:42

标签: maven artifactory jcenter jfrog-cli

当我运行指向JFrog Artifactory设置的Maven构建时,在日志中看到以下错误:

2020-05-14T04:41:01.640Z [jfrt ] [ERROR] [dcb2a29d3c46472e] [o.a.r.RemoteRepoBase:806      ] [http- 
nio-8081-exec-1] - IO error while trying to download resource 
'jcenter:org/springframework/security/spring-security-web/4.2.2.RELEASE/spring-security-web- 
4.2.2.RELEASE.jar': **javax.net.ssl.SSLException: Connection reset**
2020-05-14T04:41:01.641Z [jfrt ] [WARN ] [dcb2a29d3c46472e] [o.a.e.DownloadServiceImpl:266 ] [http- 
nio-8081-exec-1] - **Sending HTTP error code 404: Connection reset**

我已经从Artifactory管理员控制台中检查了与jcenter存储库的连接,并说它能够连接。

需要您的帮助。

致谢

1 个答案:

答案 0 :(得分:2)

请检查您用于JCenter的URL,并确保它使用的是安全HTTP-https://jcenter.bintray.com
从2020年1月开始,JCenter仅服务于使用HTTPS发出的请求。从那时起,所有使用HTTP发出的请求都将被拒绝,并且任何使用具有非安全HTTP协议的JCenter URL的构建都将失败。
有关更多信息,请参见以下blog post

相关问题