Skip to content

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

@chris-sonalake

Description

@chris-sonalake

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
>  

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions