James Peach created MESOS-4964:
----------------------------------
Summary: curl fetcher fails to decode chunked encoding
Key: MESOS-4964
URL: https://issues.apache.org/jira/browse/MESOS-4964
Project: Mesos
Issue Type: Bug
Components: fetcher
Reporter: James Peach
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.
{code}
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'"
} ]
}
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)