【问题标题】:JFrog Artifactory unable to download jars from remote repositoryJFrog Artifactory 无法从远程存储库下载 jars
【发布时间】:2020-08-30 12:35:55
【问题描述】:

当我运行指向 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 存储库的连接,它说它能够连接。

需要你的帮助。

问候

【问题讨论】:

    标签: maven artifactory jcenter jfrog-cli


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-05-12
      • 2012-02-26
      • 1970-01-01
      • 2021-10-11
      • 1970-01-01
      • 2019-05-11
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多