If you use Artifactory 2.6.0 or later, you can execute a resolution tracing
request<http://wiki.jfrog.org/confluence/display/RTF/Artifactory%27s+REST+API#ArtifactorysRESTAPI-TraceArtifactRetrieval>
to
find out which repositories actually cause the hold ups.

On Tue, Jul 17, 2012 at 9:55 PM, James Carr <[email protected]> wrote:

> I'm cross posting this to gradle and artifactory as I'm not 100% on
> what side of the fence the issue lies.
>
> On few of our machines running gradle 1.0 some projects have been
> resolving extremely slow (up to half an hour when they normally
> resolve in 1 minute). Running gradle with --debug on reveals that the
> major holdups happen making jar, source.jar and javadoc.jar requests
> for parent pom artifacts like this:
>
> 13:51:48.044 [DEBUG]
> [org.apache.http.impl.conn.DefaultClientConnection] Sending request:
> HEAD /all/asm/asm-paren
> r HTTP/1.1
> 13:51:48.051 [DEBUG] [org.apache.http.headers] >> HEAD
> /all/asm/asm-parent/3.3.1/asm-parent-3.3.1.jar HTTP/1.1
>
> Is there anyway to stop this? I'm guessing artifactory is looking
> across all the repositories for this before erroring out but it
> doesn't make much sense as to why gradle would be requesting jars for
> parent pom artifacts. :S
>
> Thanks,
> James
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to