Hi guys,
I am developing a C# application that uses fiddlercore to intercept some requests, and then replay them.
The logic is pretty simple. I have a embbeded webbrowser (GeckoFX) in my app. Users start navigating the web and when they want to record the session, they push a record button and the next request is captured by fiddlercore. I save the request and replay it later. Problem is that I was not able to capture any request when I set fiddler to be the app proxy. The only way I can capture the request is when it is initialized as system proxy. It would be okey, except that when it is set as system proxy, Chrome starts rejecting HTTPS traffic (DO_NOT_TRUST_FIDDLERROOT certificate is not valid);
Resuming:
Case 1
Fiddler.FiddlerApplication.Startup(8888, false, true);
If I start fiddlercore like this, it does not capture requests made by my embbeded web browser (GeckoFX).
Case 2
Fiddler.FiddlerCoreStartupFlags flags = Fiddler.FiddlerCoreStartupFlags.Default & ~Fiddler.FiddlerCoreStartupFlags.RegisterAsSystemProxy;
Fiddler.FiddlerApplication.Startup(0, flags);
Does not work either.
Case 3
Fiddler.FiddlerCoreStartupFlags flags = Fiddler.FiddlerCoreStartupFlags.Default;
Fiddler.FiddlerApplication.Startup(0, flags);
Chrome rejects https traffic (ie.: Google apps stops working, etc.)
Any thoughts???