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.
1. Create a remote maven repository and set it to a URL that is not reachable (for example, http://126.96.36.199)
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