XRAY: Configuring Artifactory to Allow Artifact Downloads When Xray is Unavailable
Artifactory is designed to prevent the download of artifacts when the connected Xray instance is not available. However, there may be scenarios where you need to permit downloads of artifacts even when Xray is offline. In such cases, you can change the default setting via the UI.
Navigate to the Administration tab → Xray → Settings → Advanced Settings and enable the setting option ‘Allow download when Xray is unavailable’ as shown below.
If Xray settings are unavailable on the UI, you may use a REST API command. You could use the example command below to allow downloads when Xray is unavailable:
curl -uadmin:password -X POST '<JFrog-Url>/artifactory/api/xray/allowDownloadWhenUnavailable?allow=true'
For further information, you can refer to the REST API documentation.