Proxies

Xray can connect to Artifactory, but Artifactory cannot connect to Xray

AuthorFullName__c
Patrick Russell
articleNumber
000004538
ft:sourceType
Salesforce
FirstPublishedDate
2019-09-05T01:31:47Z
lastModifiedDate
2024-03-10T07:46:09Z
VersionNumber
7

If the cURL tests above succeed, but your Xray UI test still fails, this usually means there's a more specialized network present. In many secure environments, proxy servers are needed for either Artifactory or Xray services to operate. A common snafu occurs when a default proxy has been set up for Artifactory, which the system then uses to connect to Xray. Although there’s an option to bypass this once the Xray <> Artifactory connection has been established, the Xray UI test will always attempt to use the proxy server.

As a workaround, try toggling Artifactory’s System Default proxy setting off to see if Xray can now connect:

User-added image
Note: Be cautious when ticking the System Default checkbox in your Artifactory proxies menu, as it will add your proxy to all of your remote repositories.