安装JFrog Artifactory时出现路由器服务错误

时间:2020-03-13 15:42:42

标签: installation jfrog-xray

我从官方站点下载了工件,并使用sudo yum install -y jfrog-artifactory-pro-7.2.1.rpm在我的CentOS服务器上安装了rpm

但是,它引发了与路由器服务相关的错误:

router-service.log中的片段

: Failed joining the cluster; Error: Error response from service registry, status code: 400; message: Could not validate router Check-url: http://::1:8082/router/api/v1/system/ping; detail: I/O error on GET request for "http:///:1:8082/router/api/v1/system/ping": URI does not specify a valid host name: http:///:1:8082/router/api/v1/system/ping; nested exception is org.apache.http.client.ClientProtocolException: URI does not specify a valid host name: http:///:1:8082/router/api/v1/system/ping

articleory-service.log中的片段

Caused by: org.jfrog.common.RetryException: Error while trying to connect to local router at address ‘http://localhost:8046/access’: Connect to localhost:8046 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused (Connection refused)
    at org.jfrog.access.client.AccessServerStartupValidator.convertToRetryException(AccessServerStartupValidator.java:54)
    at io.vavr.API$Match$Case0.apply(API.java:5135)
    at io.vavr.API$Match.option(API.java:5105)
    at io.vavr.control.Try.mapFailure(Try.java:602)
    at org.jfrog.access.client.AccessServerStartupValidator.pingAccess(AccessServerStartupValidator.java:44)
    at org.jfrog.common.ExecutionUtils.handleFunctionExecution(ExecutionUtils.java:99)
    ... 7 common frames omitted
Caused by: org.jfrog.access.client.AccessClientException: Unable to connect to Access server: Connect to localhost:8046 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused (Connection refused)

我可以卷曲,但是在浏览器中尝试时,出现500错误:

curl -I http://localhost:8081/artifactory
HTTP/1.1 302 Found
Location: /artifactory/
Transfer-Encoding: chunked
Date: Fri, 13 Mar 2020 15:41:19 GMT

浏览器错误:

{
  "errors" : [ {
    "status" : 500,
    "message" : "Artifactory failed to initialize: check Artifactory logs for errors."
  } ]
}
所有端口都允许

localhost。

0 个答案:

没有答案