Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-7427

Registry puller cannot fetch manifests from Amazon ECR: 405 Unsupported.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.2.1, 1.3.0
    • containerization
    • 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

      Attachments

        Activity

          People

            chhsia0 Chun-Hung Hsiao
            chhsia0 Chun-Hung Hsiao
            Jie Yu Jie Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: