FiddlerCore running in a Windows Service limitations?

353 views
Skip to first unread message

anangryrutabega

unread,
Jun 3, 2010, 1:31:58 PM6/3/10
to Fiddler, mma...@vartopia.com
Hi Eric at al,

I have incorporated FiddlerCore into an application that runs with
success as a Console application. When I try to port this same
application to be kicked off my a Windows service, however, it no
longer runs.

Within our application we are recording HTTP(S) with FiddlerCore. The
traffic is initiated by a set of web automation calls (using iMacros).
With FiddlerCore started, the web page of interest does not fully
load. There is a dialog box the automation code looks for in order to
login - when FiddlerCore is 'on' that dialog box does not load. When
FiddlerCore is 'off' the dialog box loads as expected and runs with
the same success as the Console application.

Fiddler.start();
WebAutomate.start();
WebAutomate.stop();
Fiddler.stop();

Are there any configuration items that need to be set that I am
missing within Fiddler.CONFIG? Have you had any experience running
FiddlerCore in the environs of a Windows service?

I have also tried the gammut of Log On settings in the Service
properties page. There are only 3 on my VM and none appear to make any
difference.

I can provide more detail if needed.

Thank you,

Bob

EricLaw

unread,
Jun 3, 2010, 7:46:56 PM6/3/10
to Fiddler
I've never tried to get FiddlerCore running within a Windows Service,
but I've heard rumblings that other folks have done so.

Have you configured your app to spew traffic from FiddlerCore to an
accessible location to see if it's actually seeing any traffic?

Keep in mind, of course, that FiddlerCore/Fiddler set the proxy
settings for the CURRENT user. So, don't expect to capture (by
default) traffic from an Interactive user if you're running
FiddlerCore in the service account. You'd need to manually configure
the Interactive User's proxy settings to point at the FiddlerCore
proxy port.
Message has been deleted
Message has been deleted

Francis Marasigan

unread,
May 22, 2012, 8:26:15 PM5/22/12
to httpf...@googlegroups.com, mma...@vartopia.com
The Problem is the windows service cannot find or create certificate. You can use oDefaultClientCertificate property of FiddlerApplication to specify existing certificate. I used this on my window service application using FiddlerCoreAPI to capture HTTPS traffic. 

See my blog for details:

Reply all
Reply to author
Forward
0 new messages