Telerik Forums
Fiddler Forum
6 answers
436 views
I have to use FiddlerCore in a 64 bit application. But the actual dll file is compiled for 32 bit architecture. Do you deliver 64 bit dll for FiddlerCore?
Erdem
Top achievements
Rank 1
 answered on 28 Jul 2014
1 answer
606 views
I'm coding a multithreaded web-crawler that performs a lot of concurrent httpwebrequests every second using hundreds of threads, the application works great but sometimes(randomly) one of the webrequests hangs on the getResponseStream() completely ignoring the timeout(this happen when I perform hundreds of requests concurrently) making the crawling process never end, the strange thing is that with fiddler this never happen and the application never hang, it is really hard to debug because it happens randomly.

I've tried to set

Keep-Alive = false

ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3;

but I still get the strange behavior, any ideas?

Thanks

HttpWebRequest code:

     
public static string RequestHttp(string url, string referer, ref CookieContainer cookieContainer_0, IWebProxy proxy)
       {
           string str = string.Empty;
           HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
           request.AutomaticDecompression = DecompressionMethods.Deflate | DecompressionMethods.GZip;
           request.UserAgent = randomuseragent();
           request.ContentType = "application/x-www-form-urlencoded";
           request.Accept = "*/*";
           request.CookieContainer = cookieContainer_0;
           request.Proxy = proxy;
           request.Timeout = 15000;
           request.Referer = referer;
           using (HttpWebResponse response = (HttpWebResponse)request.GetResponse())
           {
               using (Stream responseStream = response.GetResponseStream())
               {
                   List<byte> list = new List<byte>();
                   byte[] buffer = new byte[0x400];
                   int count = responseStream.Read(buffer, 0, buffer.Length);
                   while (count != 0)
                   {
                       list.AddRange(buffer.ToList<byte>().GetRange(0, count));
                       if (list.Count >= 0x100000)
                       {
                           break;
                       }
                       count = 0;
                       try
                       {
              HERE IT HANGS SOMETIMES --->             count = responseStream.Read(buffer, 0, buffer.Length);
                           continue;
                       }
                       catch
                       {
                           continue;
                       }
                   }
 
                   int num2 = 0x200 * 0x400;
                   if (list.Count >= num2)
                   {
                       list.RemoveRange((num2 * 3) / 10, list.Count - num2);
                   }
                   byte[] bytes = list.ToArray();
                   str = Encoding.Default.GetString(bytes);
                   Encoding encoding = Encoding.Default;
                   if (str.ToLower().IndexOf("charset=") > 0)
                   {
                       encoding = GetEncoding(str);
                   }
                   else
                   {
                       try
                       {
                           encoding = Encoding.GetEncoding(response.CharacterSet);
                       }
                       catch
                       {
                       }
                   }
                   str = encoding.GetString(bytes);
 
               }
           }
           return str.Trim();
       }
Eric Lawrence
Telerik team
 answered on 25 Jul 2014
2 answers
316 views
I've just installed Fiddler2 on a Windows 7 Enterprise system. On our network is running an application server providing REST methods.
I'm connecting to that server with a Java client application using RestEasy. This connects fine and sends an HTTP REST request.

I have set the proxy settings in the application's VM settings (-DproxySet=true -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=8888) but when I attempt the connection it seems to go right through to the server and is not intercepted by Fiddler.

I even tried setting the proxy port to a bad value, but the request still goes through, so I'm thinking it is a RestEasy issue.
I have another Java client application which also makes a REST method call, but doesn't use RestEasy, and it is intercepted by Fiddler just fine.

Do you know what I need to do to get my Java RestEasy requests to be intercepted by Fiddler2?

Thanks,
Mark
Top achievements
Rank 1
 answered on 24 Jul 2014
1 answer
264 views
My program use FiddlerCore and set Decrypt SSL by default to capture url of session 
When I don't have fiddler installed in my PC, everything works well.  When I install fiddler and uncheck "Decrypt Https Traffic", FiddlerCore  in my program can not capture url of session,  but if I check "Decrypt Https Traffic" in fiddler, my program works well again.
So obviously,  the "Decrypt Https Traffic" checkbox impact/override  FiddlerCore option in my program. Why ? Is there any way to avoid that ?
Thanks.

Best Regards,
Steven
Eric Lawrence
Telerik team
 answered on 21 Jul 2014
1 answer
150 views
Hey there,

I am using FiddlerCore's Demo to capture http as well as https traffic.
For my program it's quite important that its using ONE root-certificate, unfortunatly Certmaker is creating another rootcertificate each time i start my app.

I also created and installed a custom certificate I generated with OpenSSL. This certificate is accepted by Fiddler, whereas my own application is again creating another certificate.

Hope someone understands the problem, thanks for requests.
Cheers! :)
Eric Lawrence
Telerik team
 answered on 21 Jul 2014
3 answers
685 views

I am attempting to diagnose an issue with Microsoft's OneDrive for Business sync client and have encountered the problem that Fiddler is not capturing all the https connections made by the client, and I don't understand why.

I am not using a browser here at all, just starting the client manually from the Start menu.

By running Fiddler, Wireshark and Systinternals' Process Monitor simultaneously, I can see clearly that the client process (groove.exe) has https sessions with
nexus.officeapps.live.com, odc.officeapps.live.com, our on-site SharePoint service and O365 - which get captured by Fiddler - and with our ADFS server - which do not.

The process id of the groove.exe process is the same in each case.
There is also an instance of MsoSync.exe, a child of the groove.exe process, which also does not get captured by Fiddler.

Thinking that perhaps the client incorporates more than one http client stack, I have followed the instructions to manually set WinHTTP’s Proxy and also (even though it is not a service) followed the instructions on capturing traffic from .NET services. This made no difference.

Bright ideas on what's going on and how to capture the uncaptured sessions will be gratefully received :-)

Thanks ....


Environment:

Windows 7 (64 bit)
Office 2010 (32 bit)
IE 11
OneDrive for Business client (15.0.4623.1000, 32bit)
Fiddler 4.4.8.4
.NET Framework 4.5.2


Alan
Top achievements
Rank 1
 answered on 18 Jul 2014
2 answers
108 views
Hello, 

I just installed Fiddler 4 on Windows 8 and when I run it I get a NullReferenceException at Fiddler.frmViewer.DoPostInitPreLoad(). There is a screen shot attached. I've been using Fiddler for years and this is the first time I've ever had a problem like this. I Googled the error but nothing seems to match. I'm really not sure how to proceed.

Any thoughts? Suggestions? 

Thanks, 

Mike
Eric Lawrence
Telerik team
 answered on 17 Jul 2014
1 answer
1.2K+ views
Hello,

Anyone had recent problems with a virus on fiddler 4.4.9.0?  I have been using fiddler as a proxy server to monitor web service traffic from several embedded devices that talk to my web service.  Recently I have been getting a flood of http packets from some unknown Chinese ip address.  I verified that somehow fiddler is the culprit by running wireshark and fiddler simultaneously.  When fiddler is running I start to get one or two Chinese ip address starting to hit my server.  Over time ( a few minutes ) it becomes a flood of http packets.  I record the chinese ip addresses with wireshark.  I then set the display filter in wireshark to trigger whenever one of these Chinese ip addresses hits the server.  When I run fiddler I get a flood of hits on wireshark.  When I shut down fiddler I get virtually no hits on wireshark.  The problem started a couple of weeks ago around the time when I upgraded fiddler 4.4.9.0.  However, I cannot be sure that the problem is due to 4.4.9.0.  I checked the location of the ip addresses using one of the popular web ip geolocators.  All them are originating from Shijianzhuang, Hebei, China.  The isp is China Unicom in Hebei.  Anyone else having the same problem?  Any fixes?  I will uninstall and re-download fiddler later today and see if the problem persists.

Best Regards,
Steve Mansfield 
Eric Lawrence
Telerik team
 answered on 17 Jul 2014
1 answer
99 views
I have been using 4.4.8 for a bit now.  I didn't do any config changes on it at all, has been working great.

I am debugging an app running on my local IIS set to run in SSL.  It makes calls out to web services on other machine and I use Fiddler to look at the SOAP in and out.

Today I saw the prompt so downloaded and installed 4.4.9.1 (by the way Symantic flagged it as being a possible threat, but I installed the file from Telerik.com)

After installing it all traffic for my application was showing as tunnel to... and nothing else. I searched around and found I needed to set it to decrypt the SSL, but I didn't have to do this with 4.4.8.

I can see the traffic for my app now, but I do not see the calls to the webservice.  The calls still happen, there's just nothing shown on Fiddler.

Again, this all just worked with 4.4.8, I had not needed to do any config changes.

I uninstalled 4.4.9.1 and reinstalled 4.4.8, but still the same.

Were there config changes made duning the install to 4.4.9.1?  How can I undo them so that I can see the SOAP calls again?
Eric Lawrence
Telerik team
 answered on 17 Jul 2014
1 answer
176 views
Hello,
Is it possible to install a official certificate (like a purshased VeriSign certificate) instead of the auto generated certifcate by fiddler ?
Thanks
Pascal
Eric Lawrence
Telerik team
 answered on 14 Jul 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?