Telerik Forums
Fiddler Forum
1 answer
380 views
My Goal:Append +test1+test2+test3 to query, then before data reaches the client's web browser replace +test1+test2+test3 with an empty string.

To append string to query, I used this code

static function OnBeforeRequest(oSession: Session) {

if (oSession.uriContains("www.youtube.com/results?search_query="))
{
var str = oSession.fullUrl;
var sAppend = "+test1+test2+test3";
if (!oSession.uriContains(sAppend))
{
oSession.fullUrl = str + sAppend;
}
}

Everything worked fine, but the problem started after I added this code

static function OnBeforeResponse(oSession: Session) {

if (oSession.HostnameIs("www.youtube.com") && oSession.oResponse.headers.ExistsAndContains("Content-Type","text/html")){
oSession.utilDecodeResponse();
oSession.utilReplaceInResponse('+test1+test2+test3','');

Instead of appending to search_query=, it gets appended to &page=

I'm pretty sure oSession.utilReplaceInResponse is responsible for the problem.I really need help.

Thank you.

nasekt
Top achievements
Rank 1
 answered on 14 Sep 2014
6 answers
384 views
Hi Telerik, Eric, 

Thanks again for Fiddler and FiddlerCore, they're amazing tools.

I and others have asked for years for a NuGet package for FiddlerCore. The lack of such a package is preventing the release of  https://github.com/mausch/ElmahFiddler/issues/4 , complicating the tests for https://github.com/Azure/azure-storage-net#test-dependencies and probably causing many other issues for other projects, open source or not.

So now that Telerik bought Fiddler, is there any chance of releasing FiddlerCore as a NuGet package? Telerik already publishes a lot of NuGet packages so it would make sense to publish FiddlerCore too.

Thanks,
Mauricio

Eric Lawrence
Telerik team
 answered on 12 Sep 2014
12 answers
445 views
The app that I am debugging is doing loads of PUT requests over (decrypted) HTTPS and sometimes is PUTting a file that is 4.45GB. Part way through the large PUT request Fiddler shows me this message:

---------------------------
Uncaught Exception in Session #36250
---------------------------
Sorry, the .NET Framework (and Fiddler) cannot handle streams larger than 2 Gigabytes.

Type: System.Exception
Source: Fiddler
   at Fiddler.PipeReadBuffer.Write(Byte[] buffer, Int32 offset, Int32 count)
   at Fiddler.ClientChatter.ReadRequest()
   at Fiddler.Session._executeObtainRequest()
   at Fiddler.Session.InnerExecute()
   at Fiddler.Session.Execute(Object objThreadState)

Fiddler v4.4.9.2 (x64 AMD64) [.NET 4.0.30319.18444 on Microsoft Windows NT 6.1.7601 Service Pack 1] 



Is there a way of working around this 2GB restriction?

Eric Lawrence
Telerik team
 answered on 11 Sep 2014
1 answer
128 views
Hi,

I am trying to use fiddler core libraries on Windows Phone 8.1

When I include them in project I receive error like 'Type universe unable to resolve 'System.Windows.Forms'

What I have figured out is we cannot use Desktop versions of dll for Windows Phone platform.

Is PCL (portable compiled libraries) for fiddler core?

Regards,
Priyank Thakkar
Eric Lawrence
Telerik team
 answered on 10 Sep 2014
2 answers
342 views
Hi,
I use Fiddler a lot to debug an application, and Fiddler Core for my own application. Both have the problem that when I start capturing and decoding HTTPS traffic with the fiddler certificate that eventually (hours to days) my PC has no internet connection whatsoever. My browsers report that DNS lookups failed, Chrome sometimes says "ERR_NAME_RESOLUTION_FAILED", and so on. The only solution to restore connectivity is to stop capturing https, remove the certs, and restart the PC. There are also less severe cases when I only lose internet when I close Fiddler. All of this is bothersome for me and unacceptable for my app. Is there anything I'm doing wrong? I leave the default options in Fiddler except for the https capturing and decrypting. I use an auto-updated win 8 and auto-updated fiddler 4.4.9.2. I am on a home LAN behind a router/modem.
Matthias
Top achievements
Rank 1
 answered on 06 Sep 2014
1 answer
1.0K+ views
Hi,

When I enable "SimulateModem" , set oSession["request-trickle-delay"]="64", and oSession["response-trickle-delay"]="64", I could get the latency about 120ms, but the download speed will be no more than 15KB/s. 

I want to simulate the network with 300ms latency and 3mbps bandwidth.  How should I do? 

Thanks
Eric Lawrence
Telerik team
 answered on 04 Sep 2014
1 answer
623 views
I'm trying to record a website so that I can view it when I'm offline.
Obviously the default options of recording from the various browsers don't work, so I wanted to do this with Fiddler.
I have gotten to a point where I can just surf the page I want, and then copy all of the requests and urls to the right side, and than when I play it back, the page shown to me is the page from the Fiddler recordings.
However, the iFrame part gets a "404 error" and so, I can view the whole page, but I can't seem to capture the iFrame.
Is there any way around this?
Eric Lawrence
Telerik team
 answered on 04 Sep 2014
1 answer
155 views
For example: I typed "whose line is it anyway" in google,and noticed many torrent sites in the search results and i want to block them completely.Now,how do I request Fiddler to exclude the word "torrent",cause in the "Request Headers" section,the text view is empty
Eric Lawrence
Telerik team
 answered on 02 Sep 2014
1 answer
107 views
Has anyone else had this problem?  I was using AutoResponder to test without having to reload on my test box every time I made a change - it was working.  I was redirecting from the web server on my VM to a share on my development machine (Y:\Dev\somescript.js).  Then, suddenly, with no changes to either machine other than the obvious code changes to somescript.js, I was getting 404 errors on the file.  If I change the redirect to a local drive (C:\Dev\somescript.js), the AutoResponder works fine - but this is really not an option for me, for several reasons.  I can open the file through the File Explorer on the VM, so the mapping is still there.

This happened to me before and after multiple hours of troubleshooting, I simply re-installed Fiddler and it started working again - for a while; now, re-installation doesn't even fix it. 

Obviously, I can work around it, by just re-deploying to my VM *every* time I make a change, but that adds a lot of steps and opportunity for error that I was able to work around when AutoResponder was working for me.

Further Info:  VM is Windows 2008 R2, Hardware Dev is Windows 7, running Internet Explorer 9, have even tried several of the spiffy tricks, like the localhost "dot trick", using ipv4.fiddler, etc (that I shouldn't need since I'm not on IE8, but desperate times and all that....)

Any help or suggestions would be greatly appreciated.
Eric Lawrence
Telerik team
 answered on 02 Sep 2014
1 answer
131 views
Hi Dears.

I'm used proxifer without any trouble , but after i install Fiddler it work only when fiddler is on otherwise it (proxifier) doesn't capture anything. How i can fix it ?

Thanks
Eric Lawrence
Telerik team
 answered on 25 Aug 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?