How to update these configurations.

XRAY: How to resolve "Failed to prepare report x for generation: failed to count artifacts for report:"

AuthorFullName__c
Brian Wood
articleNumber
000006136
FirstPublishedDate
2024-07-02T08:49:47Z
lastModifiedDate
2025-05-15
VersionNumber
1
To update these configurations please follow the following steps:
1. Stop the Xray service.
2. Go to $JFROG_HOME/app/third-party/rabbitmq/sbin and stop rabbitmq by running ./rabbitmqctl stop_app.
3. Update the rabbitmq.conf located at  $JFROG_HOME/app/bin/rabbitmq/rabbitmq.conf with to following line(this will set the consumer timeout period to 3 hours):
consumer_timeout = 10800000
4. Go to $JFROG_HOME/app/third-party/rabbitmq/sbin and run ./rabbitmqctl start_app to start rabbitmq back up.  This will then apply the configuration changes.
5. Update Xray's system.yaml located at $JFROG_HOME/xray/var/etc/system.yaml and add the following to set the max processing time for reports to 5 minutes less than the consumer_timeout in rabbitmq:
reports:
    limit:
        maxProcessingTimeInMinutes: 175
6.  Start the Xray Service.

Once the Xray service is started up then reports will have 2 hours and 55 minutes to run before timing out.