docker-registry-facade icon indicating copy to clipboard operation
docker-registry-facade copied to clipboard

recent pull issues from ECR, sending 307 redirect over cloudfront function

Open chris-sonalake opened this issue 10 months ago • 1 comments

hello, we're using similar solution, but using cloudfront with cloudfront function to send a 307 redirect and pull images from ECR.

all worked until recently, when the solution stopped working all of sudden - docker can login, but no longer pull images returning, "authorization failed"

do you face similar issues?

thank you

login:

> aws ecr get-login-password | docker login --username AWS --password-stdin our.custom.registry.tld
Login Succeeded
>   

pull:

> docker pull our.custom.registry.tld/image
Using default tag: latest
Error response from daemon: failed to resolve reference "our.custom.registry.tld/image:latest": pull access denied, repository does not exist or may require authorization: authorization failed: no basic auth credentials
>  

chris-sonalake avatar Apr 10 '25 10:04 chris-sonalake

@chris-sonalake looking at doing this in cloudfront as well. Did you happen to find a fix? Does this impact images that are on public ECR?

venkatamutyala avatar Aug 23 '25 23:08 venkatamutyala