Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jfrog artifactory could not validate router error

Tags:

artifactory

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.

like image 259
Alexey Loubyansky Avatar asked Feb 26 '20 21:02

Alexey Loubyansky


Video Answer


2 Answers

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>
like image 150
Prasanna Raghavendra Avatar answered Oct 01 '22 11:10

Prasanna Raghavendra


Might be helpful to anyone. I had tried many things mentioned on google to solve the issue but does not work. Finally, it gets resolved by setting up proper resources. I used 4 GB RAM and 2 core and it worked

like image 42
Vasim Jamadar Avatar answered Oct 01 '22 12:10

Vasim Jamadar