Skip to content
This repository has been archived by the owner on Jul 6, 2018. It is now read-only.

Chef::Exceptions::ContentLengthMismatch: Response body length 8006 does not match HTTP Content-Length header 12829 #38

Closed
kri5 opened this issue Apr 17, 2015 · 4 comments

Comments

@kri5
Copy link

kri5 commented Apr 17, 2015

The below error appears when using the chef-provisioning-docker driver for providing a machine that need to sync cookbook with chef-zero (chef-client -z ...)

Chef::Exceptions::ContentLengthMismatch: Response body length 8006 does not match HTTP Content-Length header 12829

There already is an issue opened in chef-zero, (chef/chef-zero#126) but it might be related to chef-provisioning-docker, as with the same cookbooks and recipes, it works for other drivers (ie. vagrant)

@marc-
Copy link
Contributor

marc- commented Apr 23, 2015

I guess it may come from chef-provisioning-docker:chef_zero_http_proxy.
Though, it mostly work for chef 11.18 for me.

@cbuben
Copy link

cbuben commented May 12, 2015

See notes in #39

@jkeiser
Copy link
Contributor

jkeiser commented May 12, 2015

Yep, this is fixed with #39! Thanks :)

@jkeiser jkeiser closed this as completed May 12, 2015
@chriscameron
Copy link

I've hit this with all providers that I've tried with, Fog / Digital Ocean, AWS and SSH as providers.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

5 participants