Httpwebrequest and Fiddler

I have an HttpWebRequest installation using HTTPS, and the code works fine when Fiddler works .

When Fiddler is not running, I get a "request timeout" error.

Does anyone have any ideas what would be the reason? I have

a) Verify that the security policy exists as

 if (this.IngoreCertificateErrors) ServicePointManager.ServerCertificateValidationCallback += delegate(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors) { return true; }; 

b) I also do not allow firewall conflicts, etc.

What else can I try?

Edit: Just to be clear - my application basically connects to a website to get a report. In steps 1-3) log in, get the URLs for login and report. Step 4) after entering the system - get a report. My problem is that Step 4) ONLY works with the violinist?

+6
source share
2 answers

Just found a solution for my identical? the problem is in another thread:

Why does the performance of the HttpWebRequest object improve when using Fiddler?

Adding the app.config application to the application is done happily:

  <system.net> <connectionManagement> <add address="*" maxconnection="30" /> </connectionManagement> </system.net> 

So, this makes me think that I do not have enough house cleaning in my code, and open connections do not close.

+8
source

Check the Internet settings on the computer; are the Fiddler proxy settings accidentally configured?

Check out the app. Config Do you have network proxy settings pointing to the Fiddler tool?

+1
source

All Articles