ARTIFACTORY: Troubleshooting Timeout Errors When Resolving Non-Existing Artifacts in a Virtual Repository with an Invalid Remote Repository

AuthorFullName__c
David Shin, Melissa McKay
articleNumber
000005953
FirstPublishedDate
2024-01-04T12:02:14Z
lastModifiedDate
2025-05-21

ARTIFACTORY: Troubleshooting Timeout Errors When Resolving Non-Existing Artifacts in a Virtual Repository with an Invalid Remote Repository

ARTIFACTORY: Troubleshooting Timeout Errors When Resolving Non-Existing Artifacts in a Virtual Repository with an Invalid Remote Repository
Issue Analysis:

The delay of 15-30 seconds before receiving a 404 error for non-existing artifacts is due to the Socket Timeout setting in the remote repository, which is set to a default of 15 seconds. This extended period allows for the client to wait for a response before receiving the error.

Furthermore, the issue is likely to occur intermittently, approximately every 30 minutes, because of the Missed Retrieval Cache Period setting, which is currently set to 30 minutes.

To expedite the verification or replication of the issue, it is recommended to set the Missed Retrieval Cache Period to 0.

Troubleshooting Steps:

To narrow down the problem and find a resolution, follow these steps:

1. Verify if the virtual repository has an invalid remote repository URL configured.
2. Add the "?trace" parameter to the end of the URL being resolved within the virtual repository. This parameter provides additional information that can aid in identifying the root cause of the issue.

 

Resolution:

If you determine that the issue is related to an invalid remote repository, follow these steps to resolve it:
Set the invalid remote repository to offline mode. This action prevents further attempts to connect to the repository, effectively resolving the issue.

Important Consideration:

Keep in mind that even with an invalid remote repository, you can still resolve cached artifacts from the remote repository.
This ensures that previously retrieved artifacts can still be accessed without issues.

 

Conclusion:

By following the troubleshooting steps outlined in this guide, you can address timeout errors when resolving non-existing artifacts in a virtual repository with an invalid remote repository.