Hi Eli Yes, I could yesterday download the files from libs-release-local but not libs-release.
This is a trial run for us so we hadn't yet used indexes. To test how they work, the previous day I had set artifactory to index every repository including the virtual ones on a six hour cycle and also hit "Run Indexing Now". Today, everything works. I've attached a log file covering the last two index runs. As you can see on the first run there's no attempt to do anything with the virtual repositories, however the next run has generated the files. I think six hours was probably too ambitious, and have reset that to 24 hours but I'm not sure why there was no indexing done on the virtual repositories until the last run this morning. That configuration (which repositories to index) hasn't been changed at all. Perhaps there's an issue with the indexing run not completing before the next one starts? I'm using 2.3.2 artifactory and the latest release m2eclipse (0.12.1). In any case it is working for us now, so thanks for your help and hopefully the info is useful to you. Regards Brian On 10 March 2011 11:12, Eli Givoni <[email protected]> wrote: > Hi Brian, > > Can you download the files from the libs-release-local repository? > > If yes, then make sure libs-release is being indexed as well. Virtual > repositories aggregate resolution from several repositories so it wouldn't > know from which one to bring you the > nexus-maven-repository-index.gz<http://artifactory.domain.co.uk:8080/artifactory/libs-release/.index/nexus-maven-repository-index.gz>file. > By indexing the virtual repository, it will aggregate all indexes into > one file and return it to the client. > > If you still having trouble please state your Artifactory & m2eclipse > plugin versions so we could further investigate. > > HTH, > > Eli > The Artifactory team > > > On Wed, Mar 9, 2011 at 6:20 PM, BrianS <[email protected]> wrote: > >> Hi folks >> >> Sorry for dragging up an old thread but I'm getting a very similar >> problem, >> and I think it's related to the use of http 302 for virtual repositories >> and >> it's intersection with the serving of nexus indexes. >> >> Here's some wget output for four different URLs. >> >> $ wget http://artifactory.domain.co.uk:8080/artifactory/libs-release >> --2011-03-09 13:13:08-- >> http://artifactory.domain.co.uk:8080/artifactory/libs-release >> Resolving artifactory.domain.co.uk (artifactory.domain.co.uk)... >> 10.xxx.xxx.xx >> Connecting to artifactory.domain.co.uk >> (artifactory.domain.co.uk)|10.xxx.xxx.xx|:8080... connected. >> HTTP request sent, awaiting response... 302 Moved Temporarily >> Location: >> http://artifactory.domain.co.uk:8080/artifactory/libs-release-local/ >> [following] >> --2011-03-09 13:13:08-- >> http://artifactory.domain.co.uk:8080/artifactory/libs-release-local/ >> Reusing existing connection to artifactory.domain.co.uk:8080. >> HTTP request sent, awaiting response... 200 OK >> >> $ wget >> http://artifactory.domain.co.uk:8080/artifactory/libs-release/.index >> --2011-03-09 13:15:29-- >> http://artifactory.domain.co.uk:8080/artifactory/libs-release/.index >> Resolving artifactory.domain.co.uk (artifactory.domain.co.uk)... >> 10.xxx.xxx.xx >> Connecting to artifactory.domain.co.uk >> (artifactory.domain.co.uk)|10.xxx.xxx.xx|:8080... connected. >> HTTP request sent, awaiting response... 302 Moved Temporarily >> Location: >> >> http://artifactory.domain.co.uk:8080/artifactory/libs-release-local/.index/ >> [following] >> --2011-03-09 13:15:29-- >> >> http://artifactory.domain.co.uk:8080/artifactory/libs-release-local/.index/ >> Reusing existing connection to artifactory.domain.co.uk:8080. >> HTTP request sent, awaiting response... 200 OK >> >> $ wget >> >> http://artifactory.domain.co.uk:8080/artifactory/libs-release/.index/nexus-maven-repository-index.properties >> --2011-03-09<http://artifactory.domain.co.uk:8080/artifactory/libs-release/.index/nexus-maven-repository-index.properties%0A--2011-03-09>13:16:21-- >> >> http://artifactory.domain.co.uk:8080/artifactory/libs-release/.index/nexus-maven-repository-index.properties >> Resolving artifactory.domain.co.uk (artifactory.domain.co.uk)... >> 10.xxx.xxx.xx >> Connecting to artifactory.domain.co.uk >> (artifactory.domain.co.uk)|10.xxx.xxx.xx|:8080... connected. >> HTTP request sent, awaiting response... 404 Not Found >> 2011-03-09 13:16:21 ERROR 404: Not Found. >> >> $ wget >> >> http://artifactory.domain.co.uk:8080/artifactory/libs-release/.index/nexus-maven-repository-index.gz >> --2011-03-09<http://artifactory.domain.co.uk:8080/artifactory/libs-release/.index/nexus-maven-repository-index.gz%0A--2011-03-09>13:16:25-- >> >> http://artifactory.domain.co.uk:8080/artifactory/libs-release/.index/nexus-maven-repository-index.gz >> Resolving artifactory.domain.co.uk (artifactory.domain.co.uk)... >> 10.xxx.xxx.xx >> Connecting to artifactory.domain.co.uk >> (artifactory.domain.co.uk)|10.xxx.xxx.xx|:8080... connected. >> HTTP request sent, awaiting response... 404 Not Found >> 2011-03-09 13:16:25 ERROR 404: Not Found. >> >> As you can see, the index urls don't get 302 responses. Artifactory's >> request log correlates with this. >> >> This causes m2eclipse to get upset when trying to rebuild or update an >> index: >> >> 09/03/11 10:49:41 GMT: Updating index >> central|http://artifactory.domain.co.uk:8080/artifactory/libs-release >> 09/03/11 10:49:41 GMT: Unable to update index for >> central|http://artifactory.domain.co.uk:8080/artifactory/libs-release >> >> Can anybody offer any pointers? Have I missed something in configuring >> artifactory or m2eclipse? Is m2eclipse doing something wrong or is this a >> bug in artifactory? >> >> Thanks >> >> Brian >> >> -- >> View this message in context: >> http://forums.jfrog.org/Cannot-retrieve-nexus-maven-repository-index-properties-tp5457644p6154272.html >> Sent from the Artifactory - Users mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------------ >> Colocation vs. Managed Hosting >> A question and answer guide to determining the best fit >> for your organization - today and in the future. >> http://p.sf.net/sfu/internap-sfd2d >> _______________________________________________ >> Artifactory-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/artifactory-users >> > > > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Artifactory-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/artifactory-users > >
artifactory.log.gz
Description: GNU Zip compressed data
------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d
_______________________________________________ Artifactory-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/artifactory-users
