I have a build that makes many requests for source and Javadoc artifacts which don't exist. This slows down the build tremendously, with a single request taking tens of seconds. Subsequent requests for the same artifact pay the same penalty, so it looks like the miss isn't cached properly on Artifactory's side. I've checked all remote repos configured in Artifactory, and "Missed Retrieval Cache Period" is set to 7200 for each of them.
Here is the Ivy output for one such request: 10:03:12.535 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] trying http://xxx/repo/asm/asm-commons/3.2/asm-commons-3.2-sources.jar 10:03:12.535 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] tried http://xxx/repo/asm/asm-commons/3.2/asm-commons-3.2-sources.jar 10:03:28.327 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] HTTP response status: 404 url=http://xxx/repo/asm/asm-commons/3.2/asm-commons-3.2-sources.jar 10:03:28.328 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] CLIENT ERROR: Could not find resource url=http://xxx/repo/asm/asm-commons/3.2/asm-commons-3.2-sources.jar 10:03:28.328 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.IvyLoggingAdaper] maven: resource not reachable for asm#asm-commons;3.2: res=http://xxx/repo/asm/asm-commons/3.2/asm-commons-3.2-sources.jar Any ideas on how to speed this up? Could it be that these requests are classified as failed rather than missed retrievals, resulting in them being cached for only 30 seconds? Gradle 1.0-m5 with mavenRepo(), Artifactory Pro Power Pack 2.3.4. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message in context: http://forums.jfrog.org/Long-delays-when-requesting-artifacts-that-don-t-exist-tp6952050p6952050.html Sent from the Artifactory - Users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ RSA® Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Artifactory-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/artifactory-users
