-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Proxy does not follow re-direct #4545
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Can you please paste the config you use. |
|
With some more time to look into this, the actual problem is the upstream returns Using distribution/internal/client/repository.go Line 862 in 3270367
|
I haven't had much time for this, unfortunately., but I find this very....Odd.
They both hit the same API handler: distribution/registry/handlers/blob.go Lines 35 to 36 in 3270367
But I'm assuming the registry running on |
Not sure what implementation they are using under the hood, but it doesn't seem entirely spec compliant. On |
Description
Working with an upstream registry that returns
307
when pulling layer blobs, registry returnsBLOB_UNKNOWN: blob unknown to registry
I suspect registry is not following the re-direct, and is attempting instead to pull from the configured
remoteurl
as the base url.An example
curl
with returnedlocation
header (adding-L
successfully pulls the tarball)Reproduce
Configure registry to proxy to an upstream that re-directs layer pulls
Expected behavior
No response
registry version
main
/"v3.0.0-rc.2.m+unknown"
Additional Info
No response
The text was updated successfully, but these errors were encountered: