Method 1

XRAY: Unable to save Xray settings

AuthorFullName__c
Shweta Badiger, Reut Cohen
articleNumber
000006065
FirstPublishedDate
2024-04-01T08:33:03Z
lastModifiedDate
2025-07-22
VersionNumber
17

1. We can enable this configuration from the Artifactory config descriptor. Navigate to
Administration > Artifactory > Advanced > Config Descriptor and find the </addon> add the
below block to enable Xray configuration. 

<xrayConfig>
        <enabled>true</enabled>
        <baseUrl>http://localhost:8046/xray/</baseUrl>
        <user></user>
        <password></password>
        <artifactoryId>default</artifactoryId>
        <xrayId></xrayId>
        <allowOperationsXrayUnavailable>true</allowOperationsXrayUnavailable>
        <allowBlockedArtifactsDownload>false</allowBlockedArtifactsDownload>
        <blockUnscannedTimeoutSeconds>60</blockUnscannedTimeoutSeconds>
    </xrayConfig>


User-added image  

2. Save the above configuration.
3. Restart Artifactory (for high availability setup a rolling restart is required).
4. Try saving the Xray settings again, we should be able to enable Xray now.