Telerik Forums
Fiddler Forum
2 answers
714 views

Hi 

Now I am running with

var oJSON = Newtonsoft.Json.JsonConvert.DeserializeObject(oS.GetRequestBodyAsString());
var t = oJSON.JSONObject["target"]

........

But sometimes the oS.GetRequestBodyAsString() is not a valid json string.

Is there any way to check the oJSON status to see if the job is done without errors?

For example,

var oJSON = Newtonsoft.Json.JsonConvert.DeserializeObject(oS.GetRequestBodyAsString());

if (!oJSON.isSuccessful) {

    // process error and return

lff
Top achievements
Rank 1
 answered on 06 Mar 2019
6 answers
1.2K+ views

 

I have a Windows service that is sending encrypted HTTP traffic.  I have set up Fiddler to decrypt  HTTPS traffic. I have logged in as the user whom this service is set to log in as. Though the service is creating traffic, I'm getting no traffic in Fiddler.

This seems to be happening on Windows 2016 servers. I have a Windows 2008 server on which the same service is running and I'm getting traffic just fine.  Does anyone know what might be the issue?

Daniel
Top achievements
Rank 1
 answered on 01 Mar 2019
1 answer
678 views

In CustomRules.js

static function OnBeforeResponse(oSession: Session) {

        var responseStringOriginal =  oSession.GetResponseBodyAsString();

        var responseJSON = Fiddler.WebFormats.JSON.JsonDecode(responseStringOriginal);
        var responseJSONObject = responseJSON.JSONObject;
}

 

 

 

There is an array in response responseJSONObject , like 

[
    {
        "id": "6661370502453447944"

    },

    { 

        "id": "333" 

    },

    ...

]

 

Question 1: How can I get this array's length or traversal this array?

 

Question 2: How can I create an array using for loop and save the new array to the responseJSON.JSONObject?

 

Question 3: Where can I find any documentation about this object "Fiddler.WebFormats.JSON", like what method and properties it have.

 

I tried several ways but nothing works and I can't using the JSON.parse() function in this script.

I also google for the documents of  this object (Fiddler.WebFormats.JSON) and found nothing.

 

 

Thank you very much and welcome reply any infomation.

Alexander
Telerik team
 answered on 01 Mar 2019
1 answer
1.8K+ views

Hello guys, when I tried connect to google.com from I got this Certificate Error:

<p>Session #3: The server (152.199.19.161) presented a certificate that did not validate, because it was issued to a different host.</p><p>SANs: *.vo.msecnd.net, *.adn.azureedge.net, *.ads2.msads.net, *.aspnetcdn.com, *.azurecomcdn.net, *.azureedge.net, *.azureedge-test.net, *.cdn.skype.com, *.cdn.skype.net, *.cmsresources.windowsphone.com, *.cmsresources.windowsphone-int.com, *.dev.skype.com, *.fms.azureedge.net, *.microsoft-sbs-domains.com, *.secure.skypeassets.com, *.secure.skypeassets.net, *.wac.azureedge.net, *.wpc.azureedge.net, *.ec.azureedge.net, *.wpc.ec.azureedge.net, *.wac.ec.azureedge.net, *.adn.ec.azureedge.net, *.fms.ec.azureedge.net, ajax.microsoft.com, cdnads.msads.net, cdn-resources.windowsphone.com, cdn-resources-beta.windowsphone.com, ecnads1.msn.com, iecvlist.microsoft.com, images-cms-pn.windowsphone-int.com, images-cms-tst.windowsphone-int.com, lumiahelptipscdn.microsoft.com, lumiahelptipscdnqa.microsoft.com, lumiahelptipsmscdn.microsoft.com, lumiahelptipsmscdnqa.microsoft.com, montage.msn.com, mscrl.microsoft.com, r20swj13mr.microsoft.com, *.streaming.mediaservices.windows.net, *.origin.mediaservices.windows.net, download.sysinternals.com, amp.azure.net, rt.ms-studiosmedia.com, gtm.ms-studiosmedia.com, *.aisvc.visualstudio.com, *.cdn.powerbi.com, dist.asp.net, embed.powerbi.com, msitembed.powerbi.com, dxtembed.powerbi.com, *.cdn.powerappscdn.net, downloads.subscriptionsint.tfsallin.net, download.my.visualstudio.com, cdn.vsassets.io, cdnppe.vsassets.io, stream.microsoft.com, datafactory.azure.com, *.cortanaanalytics.com, do.skype.com, software-download.office.microsoft.com, software-download.microsoft.com, prss.centralvalidation.com, *.gallerycdn.vsassets.io, *.gallerycdnppe.vsassets.io, global.asazure.windows.net, download.learningdownloadcenter.microsoft.com, www.videobreakdown.com, www.breakdown.me, *.gallerycdntest.vsassets.io, agavecdn.o365weve-dev.com, agavecdn.o365weve-ppe.com, agavecdn.o365weve.com, download.visualstudio.com, *.Applicationinsights.net, *.Applicationinsights.io, *.Applicationinsights.microsoft.com, *.sfbassets.com, *.sfbassets.net, download.mono-project.com, *.streaming.media-test.windows-int.net, *.origin.mediaservices.windows-int.net, *.mp.microsoft.com, download.visualstudio.microsoft.com, software-download.coem.microsoft.com, cdn.wallet.microsoft-ppe.com, cdn.wallet.microsoft.com, vi.microsoft.com, *.nuget.org, *.nugettest.org, cdn.botframework.com, *.streaming.media.azure.net, *.streaming.media.azure-test.net, natick.research.microsoft.com, quotecenter.microsoft.com, quotecenter-ppe.microsoft.com, cdn.cloudappsecurity.com, *.yammer.com, *.videoindexer.ai, *.api.videoindexer.ai<br>SUBJECT: CN=*.vo.msecnd.net</p>

I don't know why because I add Trust Root Certificate, do you have some solve this error?

Simeon
Telerik team
 answered on 28 Feb 2019
1 answer
280 views

Thanks to the amazing FiddlerCore and quick replies on this forum.

 

I have developed a simple C# solution that uses FiddlerCore to mock the HTTPS requests of an application(.exe) which invokes an URL and responds with json data. I have made the changes in the BeforeRequest() and BeforeResponse() as below.

* BeforeRequest(oSession)

{

oSession.bBufferResponse = true;

}

* BeforeResponse(oSession){ session.utilSetResponseBody("myjson.json); }

I could see from the log that response has been modified but the response is not being sent back to client [my application is timing out]. 

I have checked with other URL's which are working as expected with Fiddler tool Autoresponder, but not working through my code.

 

Any help is highly appreciated..

 

Thanks,

Malleswari

 

Alexander
Telerik team
 answered on 26 Feb 2019
1 answer
219 views
hello, i have question....

i have rule:  http://prntscr.com/mly17z
so.... how i can get Original URL who worked with my rule? 

it is desirable to get something in the form of HTTP REFERRER
Alexander
Telerik team
 answered on 26 Feb 2019
6 answers
884 views
In trying to diagnose some request/response oddities from one of our web pages with Fiddler, I discovered that on some requests the Statistics tab would have this note listed:

"NOTE: This request was retried after a Receive operation failed."

Can anybody shed a little light on what this means? Whatever it is, it's not repeatable. Sometimes I get that message, and sometimes I don't. The request is going to an Apache web server that's then proxying the request to a Tomcat server.

The first part of the Statistics tab output looks like this:

>>>>>>>>>>>>>>>>>
Request Count:   1
Bytes Sent:      1,333 (headers:1,333; body:0)
Bytes Received:  10,243 (headers:776; body:9,467)

ACTUAL PERFORMANCE
--------------

NOTE: This request was retried after a Receive operation failed.

ClientConnected: 00:37:16.488
ClientBeginRequest: 00:37:42.189
GotRequestHeaders: 00:37:42.190
ClientDoneRequest: 00:37:42.190
Determine Gateway: 0ms
DNS Lookup: 17ms
TCP/IP Connect: 20ms
HTTPS Handshake: 0ms
ServerConnected: 00:37:42.228
FiddlerBeginRequest: 00:37:42.228
ServerGotRequest: 00:37:42.228
ServerBeginResponse: 00:37:42.190
GotResponseHeaders: 00:37:42.265
ServerDoneResponse: 00:37:42.266
ClientBeginResponse: 00:37:42.266
ClientDoneResponse: 00:37:42.266

Overall Elapsed: 0:00:00.077
>>>>>>>>>>>>>>>>>

Alexander
Telerik team
 answered on 26 Feb 2019
2 answers
8.5K+ views

Hi,

There is a desktop application with https as communication protocol between client and server. When I am trying to capture desktop application traffic in Fiddler with below option -

Tools -> Options -> Connections -> Fiddler listens on Port -> 443 / 8888, seeing no traffic being capturing in the tool.

Please suggest if I am missing.

 

 

Rupanjana
Top achievements
Rank 1
 answered on 21 Feb 2019
1 answer
730 views

Hello,

I can't download Fiddler from the website (https://telerik-fiddler.s3.amazonaws.com/fiddler/FiddlerSetup.exe).

It said that 

The connection to telerik-fiddler.s3.amazonaws.com was interrupted while the page was loading.

The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the website owners to inform them of this problem.

Can someone please check this?

Thanks.

Tung
Top achievements
Rank 1
 answered on 17 Feb 2019
5 answers
864 views

1、I set some Fiddler filter rules to capture only specific host and urls,and it works well except bellow two microsoft urls:

https://watson.telemetry.microsoft.com/Telemetry.Request

https://v10.vortex-win.data.microsoft.com/collect/v1

2、my filter setting and regular express is shown in the attached image, is my regular express written wrong?

 

Progress Telerik Fiddler Web Debugger
v5.0.20173.50948 for .NET 4.6.1
64-bit AMD64, VM: 305.0mb, WS: 309.0mb
.NET 4.6.2 WinNT 10.0.16299.0

Walter
Top achievements
Rank 1
 answered on 12 Feb 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
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
Iron
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?