Search code examples
artifactory

jfrog artifactory could not validate router error


When I download, unpack and launch artifactory.sh I see the following error

2020-02-26T21:32:50.496Z [jfac ] [ERROR] [c1b4de79a3f11666] [.j.a.s.s.r.JoinServiceImpl:253] [http-nio-8040-exec-1] - Could not validate router Check-url: http://XXXXXX:8082/router/api/v1/system/ping

And then

2020-02-26T21:32:55.636Z [jfac ] [WARN ] [67b9d42698f5614c] [o.j.c.ExecutionUtils:141      ] [pool-6-thread-2     ] - Retry 20 Elapsed 9.04 secs failed: Registration with router on URL http://localhost:8046 failed with error: UNAVAILABLE: io exception. Trying again

I realize I'm missing something obvious but couldn't figure it out yet. Any suggestions? Thanks.


Solution

  • Alexey, I suspect ipv6 ip being picked up by the start-script, causing this.

    Can you update your system.yaml (will be in var/etc/ folder) with the following and try?

    shared:
        node:
            ip: <your ipv4 IP>
    

    Related documentation: https://jfrog.com/help/r/access-router-connectivity-node-ip/getting-access-service/router-connectivity-issues-on-startup-try-setting-the-node-ip.