We recently upgraded from Artifactory 2.6.3 to Artifactory 4.2.2.
Previously we used the old convention of a single virtual repo. We have now deprecated this and are using the standard virtual repos offered by artifactory.
We have a local repository that is enabled for releases and snapshots. We then reference this local repo in libs-snapshots virtual repo, both are of type maven.
Our builds are failing as they cannot pull down snapshots from the libs-snapshot repo. If you navigate to the virtual repo in an web browser all the artifacts are present as the snapshot versions but when you try and download a file, for example a pom, then you get a 404 error. If you browse to the local repo then the artifact will download. If you try and access a reference a final version then the download works on both virtual and local repos.
We are running Artifactory as a standalone service on a Windows 2012 server.
Checking the access logs we see that the request for the artifact via the virtual repo does not get logged but the access through the local repo will.
Re: 404 returned by virtual repository for snapshots
An update on this, we set up a new virtual repo to try and resolve this issue. It worked initially and we were able to download artifacts. Some time today this behaviour has returned so we are now getting 404 errors on the new repository too.