You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while working with with the new nginx.conf ( with manifest cache), i observed an issue when accessing JFrogs artifactory repo.
When having the nginx parameter proxy_cache_revalidate set to on, i get a 404 error, when trying to access an object a second time ( = when it is expired). So i needed to set this parameter to "off"
Unfortunately I did not know the reason for this, yet. Any idea where to look at ?
Thanx
Peter
The text was updated successfully, but these errors were encountered:
Interesting. If you could please post the docker command line (envs and such) for docker-registry-proxy, and also the docker logs for the container while doing the pulls...
We saw an issue with artifactory too like this where we got "unknown blob" errors / 404's when trying to push images with pre-existing layers.
I believe its a bug on their end. As I was able to reproduce this issue without this proxy by running:
curl -X GET -v -H "Authorization: Bearer $TOKEN" ${ARTIFACTORY_REPO}/new-image/blobs/sha256:<sha>
curl -X GET -v -H "Authorization: Bearer $TOKEN" ${ARTIFACTORY_REPO}/source-image/blobs/sha256:<sha>
The first curl would return 404 Not Found for 3-5 minutes and the second curl always worked consistently (302 Found). After 3-5 mins they both returned 302 Found.
Hi,
while working with with the new nginx.conf ( with manifest cache), i observed an issue when accessing JFrogs artifactory repo.
When having the nginx parameter proxy_cache_revalidate set to on, i get a 404 error, when trying to access an object a second time ( = when it is expired). So i needed to set this parameter to "off"
Unfortunately I did not know the reason for this, yet. Any idea where to look at ?
Thanx
Peter
The text was updated successfully, but these errors were encountered: