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

curl based docker fetcher fails to decode chunked encoding

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.28.0
    • 0.28.1
    • fetcher

    Description

      If the curl-base fetcher gets a HTTP response that is chunked, the HTTP decode fails because the response says it is chunked, but curl is dechunking the body to stdout.

      E0316 15:23:31.124482 13299 slave.cpp:3773] Container 'fa06a5ee-637e-480c-b602-59705b707d85' for executor 'jpeach.10489' of framework 96d1191b-cdf0-40f6-8840-e4d4d92a9345-0010 failed to start: Collect failed: Failed to decode HTTP responses: Decoding failed
      HTTP/1.1 400 Bad Request
      Server: nginx/1.9.4
      Date: Wed, 16 Mar 2016 22:23:30 GMT
      Content-Type: application/json
      Transfer-Encoding: chunked
      Connection: keep-alive
      X-Artifactory-Id: ae6c9bffd47ec19a:-61ef0a68:1537a605a05:-8000
      
      {
        "errors" : [ {
          "status" : 400,
          "message" : "Unsupported docker v2 repository request for 'docker-registry'"
        } ]
      }
      

      Attachments

        Activity

          People

            jieyu Jie Yu
            jamespeach James Peach
            Timothy Chen Timothy Chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: