Corda-ci-artifactory.corda.r3cev.com连接被拒绝

时间:2019-08-17 19:28:39

标签: corda

我刚刚为家用PC构建了一个新的OS安装,安装了IntelliJ,并克隆了一个需要Corda的项目。 (为了在这里解释问题,我使用的是corda / samples存储库)。

导入gradle项目时,出现以下错误:

A problem occurred configuring root project 'cordapp-example'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not resolve net.corda.plugins:cordapp:4.0.45.
     Required by:
         project :
      > Could not resolve net.corda.plugins:cordapp:4.0.45.
         > Could not get resource 'https://ci-artifactory.corda.r3cev.com/artifactory/corda-releases/net/corda/plugins/cordapp/4.0.45/cordapp-4.0.45.pom'.
            > Could not GET 'https://ci-artifactory.corda.r3cev.com/artifactory/corda-releases/net/corda/plugins/cordapp/4.0.45/cordapp-4.0.45.pom'.
               > Connect to ci-artifactory.corda.r3cev.com:443 [ci-artifactory.corda.r3cev.com/13.93.114.78] failed: Connection refused (Connection refused)
   > Could not resolve net.corda.plugins:cordformation:4.0.45.
     Required by:
         project :
      > Could not resolve net.corda.plugins:cordformation:4.0.45.
         > Could not get resource 'https://ci-artifactory.corda.r3cev.com/artifactory/corda-releases/net/corda/plugins/cordformation/4.0.45/cordformation-4.0.45.pom'.
            > Could not GET 'https://ci-artifactory.corda.r3cev.com/artifactory/corda-releases/net/corda/plugins/cordformation/4.0.45/cordformation-4.0.45.pom'.
               > Connect to ci-artifactory.corda.r3cev.com:443 [ci-artifactory.corda.r3cev.com/13.93.114.78] failed: Connection refused (Connection refused)
   > Could not resolve net.corda.plugins:quasar-utils:4.0.45.
     Required by:
         project :
      > Could not resolve net.corda.plugins:quasar-utils:4.0.45.
         > Could not get resource 'https://ci-artifactory.corda.r3cev.com/artifactory/corda-releases/net/corda/plugins/quasar-utils/4.0.45/quasar-utils-4.0.45.pom'.
            > Could not GET 'https://ci-artifactory.corda.r3cev.com/artifactory/corda-releases/net/corda/plugins/quasar-utils/4.0.45/quasar-utils-4.0.45.pom'.
               > Connect to ci-artifactory.corda.r3cev.com:443 [ci-artifactory.corda.r3cev.com/13.93.114.78] failed: Connection refused (Connection refused)

简而言之...

  

连接到ci-artifactory.corda.r3cev.com:443 [ci-artifactory.corda.r3cev.com/13.93.114.78]失败:连接被拒绝(连接被拒绝)

我在已经运行了IntelliJ和Corda一段时间的工作PC上尝试了相同的操作,但没有遇到相同的问题,因此我的第一个假设是家用PC出现了问题我并不完全相信,因此在我的工作计算机上,我强行清除了所有的gradle缓存(使缓存无效并从IntelliJ重新启动对您无济于事)。

rm -rf $HOME/.gradle/caches/

现在,我在工作PC上也遇到了同样的问题,这对我来说意味着,如果依赖项已经在本地缓存,那么gradle将不会再去获取依赖项。

关于如何解决的任何想法?

1 个答案:

答案 0 :(得分:2)

在这种情况下,R3的DevOps似乎在人工服务器上进行了一些维护。这个问题不太可能再次发生,但是我将其保持打开状态,以防万一其他人碰巧遇到此问题。

P.S。我还升级了gradle依赖项,使其现在使用以下内容:

repositories {
    maven { url 'https://software.r3.com/artifactory/corda' }
    ...
}