[RTFACT-13589] Latest version search API is querying remote repositories while it should not Created: 02/Feb/17  Updated: 14/Nov/17  Resolved: 11/Oct/17

Status: Resolved
Project: Artifactory Binary Repository
Component/s: REST API, Search
Affects Version/s: 4.16.0, 5.0.0
Fix Version/s: 5.5.2

Type: Bug Priority: Normal
Reporter: Arturo Aparicio Assignee: Liza Dashevski (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Assigned QA: Anastasiya Muntyan


The latest version search API is querying remote repositories when it should not.

Notice the documentation states that it will only search remote repositories if it is explicitly told to.

To reproduce:

1. Create a remote maven repository and set it to a URL that is not reachable (for example,
2. Perform a generic query using the latestVersion, for example:
curl -XGET -u admin:password http://localhost:8081/artifactory/api/search/latestVersion?g=org.acme&a=artifact&v=1.0-SNAPSHOT
3. Notice the long delay and the failure in the logs

Workaround: Query specific repositories

Generated at Sun Jul 21 04:27:08 UTC 2019 using JIRA 7.6.3#76005-sha1:8a4e38d34af948780dbf52044e7aafb13a7cae58.