Since today, 02 March 2022, auth.docker.io started to return auth token responses with wrong Content-Type header: “text/plain” while it should return response with “application/json”. Using the example from https://docs.docker.com/registry/spec/auth/token/:
It may also be possibly affecting AWS ECS pulls as well. All of my Fargate services suddenly stopped working today with the following error:
CannotPullContainerError: inspect image has been retried 1 time(s): failed to resolve ref “docker.io/rrepo/image:dev”: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: au…
And that is the whole error. AWS truncated it at “au…”
I can’t be sure it is related, but the timing lines up, and it has to do with auth, so I figured I should mention it here in case.
It’s worse than ECS and GKE, as amazing as that is. It’s anything Kubernetes pulls with a pull-secret. The whole message looks like this:
Failed to pull image “”: rpc error: code = Unknown desc = failed to pull and unpack image “”: failed to resolve reference “”: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed