Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
When the registry puller is pulling a repository from Amazon ECR, a '405 Unsupported' error occurs when fetching manifests. The error message is as follows:
{"errors":[{"code":"UNSUPPORTED","message":"Invalid parameter at 'acceptedMediaTypes' failed to satisfy constraint: 'Member must satisfy constraint: [Member must satisfy regular expression pattern: \\w{1,127}\\/[-+.\\w]{1,127}]'"}]}}
The reason is that Amazon ECR checks the 'Accept' header strictly, which is not provided when fetching the manifests. See the following link for more details:
https://forums.aws.amazon.com/thread.jspa?threadID=254382