Getting the service as active & running but UI is not working at http://<my-ip-address>:8082/ui.
Checked the logs of the artifactory service at /opt/jfrog/artifactory/var/log/console.log getting below error.
[security_keys.go:172 ] [main] – Master key is missing. Pending for 55 seconds with 2m0s timeout [startup]
[jfcon] [INFO ] [security_keys.go:172] [main] – Master key is missing. Pending for 55 seconds with 2m0s timeout [startup]
[jfevt] [INFO ] [security_keys.go:172] [main] – Master key is missing. Pending for 55 seconds with 2m0s timeout [startup]
[jffe ] [INFO ] [] [frontend-service.log] [main] – pinging artifactory, attempt number 60
[jffe ] [INFO ] [] [frontend-service.log] [main] – pinging artifactory attempt number 60 failed with code : ECONNREFUSED
Even after creating a master.key manually i am getting
Service registry ping failed, will retry. Error: Error while trying to connect to local router at address ‘http://localhost:8046/access/api/v1/system/ping’: Get “http://localhost:8046/access/api/v1/system/ping”: dial tcp 127.0.0.1:8046: connect: connection refused [startup]
For the above issues followed these documentation resolution but it did not helped
https://jfrog.com/help/r/what-are-the-artifactory-key-master-key-and-what-are-they-used-for/the-artifactory.key
https://jfrog.com/help/r/how-to-resolve-a-service-registry-ping-failed-error-after-an-artifactory-upgrade/how-to-resolve-a-service-registry-ping-failed-error-after-an-artifactory-upgrade
Hi am trying to install the jfrog artifactory pro version 7.84.14. But i am getting the above error. I have used below steps for the installation.
- Server –> Amazon Linux 2023 (c7i.xlarge)
- The instance security group is all allowed for inbound & outbound
- Using openjdk version “17.0.11”
- wget https://releases.jfrog.io/artifactory/artifactory-pro/org/artifactory/pro/jfrog-artifactory- pro/7.84.14/jfrog-artifactory-pro-7.84.14-linux.tar.gz
- mkdir /opt/jfrog/
- tar -xvf jfrog-artifactory-pro-7.84.14-linux.tar.gz -C /opt/jfrog/
- sudo mv /opt/jfrog/artifactory-pro-* /opt/jfrog/artifactory
- useradd -r -s /bin/false artifactory
- chown -R artifactory: /opt/jfrog/artifactory
- useradd -r -s /bin/bash artifactory
- chown -R artifactory: /opt/jfrog/artifactory
- systemctl start artifactory.service
- /opt/jfrog/artifactory/app/bin/installService.sh artifactory artifactory
I have also tried with the default installation commands for Artifactory 7.84.14
- wget https://releases.jfrog.io/artifactory/artifactory-pro-rpms/artifactory-pro-rpms.repo -O jfrog-artifactory-pro-rpms.repo;
- sudo mv jfrog-artifactory-pro-rpms.repo /etc/yum.repos.d/;
- sudo yum update && sudo yum install jfrog-artifactory-pro-7.84.14
But i am getting the same error. I am using AWS EBS volume for storage & do not want to use Postgress or other database.
I have tried with different jfrog artifactory versions but getting the same issue.
ANKIT is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.