# Chef-client capture via Fiddler

**URL:** <https://discourse.chef.io/t/chef-client-capture-via-fiddler/5412>\
**Category:** Chef Infra (archive)\
**Created:** [June 16, 2014, 9:12pm UTC](https://discourse.chef.io/t/chef-client-capture-via-fiddler/5412 "2014-06-16T21:12:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kapil\_Shardha1](https://avatars.discourse-cdn.com/v4/letter/k/278dde/32.png) [@Kapil\_Shardha1](https://discourse.chef.io/u/Kapil_Shardha1)\
**Post date:** [June 16, 2014, 9:12pm UTC](https://discourse.chef.io/t/chef-client-capture-via-fiddler/5412/1 "2014-06-16T21:12:01Z")

</div>

Hi,

Is there a way to capture chef-client communication with chef server by running Fiddler on the node? I tried running Fiddler with HTTPS capture enabled, but did not see any captures in Fiddler.

Thanks

-Kapil

* * *

This email and any accompanying documents may contain privileged or otherwise confidential information of, and/or is the property of Education Management Solutions, Inc. If you are not the intended recipient, please immediately advise the sender by reply email & delete the message & any attachments without using, copying or disclosing the contents. Thank you.

---

<div class="post-metadata">

**Author:** ![coderanger](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/coderanger/32/5_2.png) [@coderanger](https://discourse.chef.io/u/coderanger)\
**Post date:** [June 16, 2014, 9:43pm UTC](https://discourse.chef.io/t/chef-client-capture-via-fiddler/5412/2 "2014-06-16T21:43:29Z")

</div>

What data are you looking for in particular? If you run chef-client with -l debug, it will display most HTTP data before sending it.

--Noah

On Jun 16, 2014, at 2:12 PM, Kapil Shardha [Kapil.Shardha@SimulationIQ.com](mailto:Kapil.Shardha@SimulationIQ.com) wrote:

> Hi,
> 
> Is there a way to capture chef-client communication with chef server by running Fiddler on the node? I tried running Fiddler with HTTPS capture enabled, but did not see any captures in Fiddler.
> 
> Thanks
> 
> -Kapil
> 
> This email and any accompanying documents may contain privileged or otherwise confidential information of, and/or is the property of Education Management Solutions, Inc. If you are not the intended recipient, please immediately advise the sender by reply email & delete the message & any attachments without using, copying or disclosing the contents. Thank you.

---

<div class="post-metadata">

**Author:** ![Kapil\_Shardha1](https://avatars.discourse-cdn.com/v4/letter/k/278dde/32.png) [@Kapil\_Shardha1](https://discourse.chef.io/u/Kapil_Shardha1)\
**Post date:** [June 17, 2014, 12:55pm UTC](https://discourse.chef.io/t/chef-client-capture-via-fiddler/5412/3 "2014-06-17T12:55:39Z")

</div>

Yesterday, during chef-client run, I saw "content length mismatch" error on Template and cookbook\_file resources in one of my recipes. I wanted to see what is being sent to and from the chef-server to determine the cause of this issue.

Can fiddler or something similar be used to capture the traffic?

-Kapil

-----Original Message-----  
From: Noah Kantrowitz [[mailto:noah@coderanger.net](mailto:noah@coderanger.net)]  
Sent: Monday, June 16, 2014 5:43 PM  
To: [chef@lists.opscode.com](mailto:chef@lists.opscode.com)  
Subject: [chef] Re: Chef-client capture via Fiddler

What data are you looking for in particular? If you run chef-client with -l debug, it will display most HTTP data before sending it.

--Noah

On Jun 16, 2014, at 2:12 PM, Kapil Shardha [Kapil.Shardha@SimulationIQ.com](mailto:Kapil.Shardha@SimulationIQ.com) wrote:

> Hi,
> 
> Is there a way to capture chef-client communication with chef server by running Fiddler on the node? I tried running Fiddler with HTTPS capture enabled, but did not see any captures in Fiddler.
> 
> Thanks
> 
> -Kapil
> 
> This email and any accompanying documents may contain privileged or otherwise confidential information of, and/or is the property of Education Management Solutions, Inc. If you are not the intended recipient, please immediately advise the sender by reply email & delete the message & any attachments without using, copying or disclosing the contents. Thank you.

* * *

This email and any accompanying documents may contain privileged or otherwise confidential information of, and/or is the property of Education Management Solutions, Inc. If you are not the intended recipient, please immediately advise the sender by reply email & delete the message & any attachments without using, copying or disclosing the contents. Thank you.
