Chef-client capture via Fiddler


#1

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.


#2

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 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.


#3

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]
Sent: Monday, June 16, 2014 5:43 PM
To: 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 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.