Use Case 2

XRAY: Fresh installation prompts 503 errors

AuthorFullName__c
Joey Naor
articleNumber
000005226
ft:sourceType
Salesforce
FirstPublishedDate
2022-03-17T12:35:42Z
lastModifiedDate
2024-03-10T07:47:15Z
VersionNumber
5
The jfrogUrl configured in Xray’s system.yaml is unreachable or is not using the correct port.

To further investigate this issue, head over to Xray’s router-service.log log file to find out the exact error that Xray’s Router produces when attempting to connect to Artifactory.

For example, when not using the correct external Artifactory Router port, the following error will be generated in router-service.log:
[jfrou] [INFO ] [40af7be23267477e] [join_executor.go:165          ] [main                ] - Cluster join: Retry 5: Service registry ping failed, will retry. Error: Get "http://artifactory.address/access/api/v1/system/ping": context deadline exceeded

To address this issue, use a jfrogUrl address that is fully accessible and performs the correct redirection when accessed from the Xray machine/container. This can be tested using the following cURL command executed from the Xray machine/container:
$ curl ​​http://<jfrogUrl>/access/api/v1/system/ping

Keywords: Xray Install, Xray Router, 503, jfrogUrl, node IP, shared.node.ip