Chef error: marshal data too short

WARN: HTTP Request Returned 500 Internal Server Error: marshal data too short … what to do?

jmiller@srv-101-29:~$ sudo chef-client
[Tue, 10 Aug 2010 12:36:13 -0700] INFO: Starting Chef Run
[Tue, 10 Aug 2010 12:36:28 -0700] WARN: HTTP Request Returned 500 Internal Server Error: marshal data too short
/usr/lib/ruby/1.8/net/http.rb:2097:in `error!’: 500 “Internal Server Error” (Net::HTTPFatalError)
from /usr/lib/ruby/1.8/chef/rest.rb:216:in `api_request’
from /usr/lib/ruby/1.8/chef/rest.rb:267:in `retriable_rest_request’
from /usr/lib/ruby/1.8/chef/rest.rb:197:in `api_request’
from /usr/lib/ruby/1.8/chef/rest.rb:100:in `get_rest’
from /usr/lib/ruby/1.8/chef/client.rb:270:in `sync_cookbooks’
from /usr/lib/ruby/1.8/chef/client.rb:86:in `run’
from /usr/lib/ruby/1.8/chef/application/client.rb:215:in `run_application’
from /usr/lib/ruby/1.8/chef/application/client.rb:207:in `loop’
from /usr/lib/ruby/1.8/chef/application/client.rb:207:in `run_application’
from /usr/lib/ruby/1.8/chef/application.rb:62:in `run’
from /usr/bin/chef-client:25
jmiller@srv-101-29:~$

So looking at this I thought it was a checksum error on the client and deleted the /var/chef/cache directory without luck. After digging around I found that stopping the chef server and deleting /var/chef/cache/checksums, then restarting chef server fixed the problem. Easy fix but odd problem. Chef 0.8.16