Relative Content

Tag Archive for packagefetchartifactoryjfrog

Virtual repository returns 404 error while fetching for file for the first time [it checks remote repo first instead of local one]

I have weird situation while working with my virtual repo. It happens during my github workflow execution, but I tested it also locally and got same behavior. Let’s start from artifactory, so I use virtual repo with repoA (local repo) and repoB (remote repo). In advance settings repoA is listed first. While building some application/creating docker image I fetch for some packageX from my virtual repo. packageX is located in repoA. I ma getting 404 error for packageA. In artifactory access.log I can see that it sent request to repoB (there is no packageA so 404 error is right). Then I fetch one more time for packageA and get 200, package found and downloaded. In artifactory access.log there is no information about fetching from repoB, so it did fetch directly from repoA.