Telerik Forums
Fiddler Forum
0 answers
182 views
Mobile https responses are not decrypted. Certificate is set up. Mobile wifi has proxy setting. What could be a reason?
Dmytro
Top achievements
Rank 1
 asked on 27 Nov 2021
0 answers
216 views

I used the eval function in fiddlerscript to dynamically load code from the server when fiddler was opened.But when using the eval function to process JSON, the program throws an exception.code show as below:

 //Operating normally

if(oSession.uriContains('https://xxxxxx.com')){ var responseStringOriginal = oSession.GetResponseBodyAsString(); var responseJSON = Fiddler.WebFormats.JSON.JsonDecode(responseStringOriginal); responseJSON.JSONObject['data']['data1']['data2'] = 22; responseJSON.JSONObject['data']['data1']['data3'] = 1; responseJSON.JSONObject['data']['data1']['data4'][0]['type'] = 2; responseJSON.JSONObject['data']['data1']['data5'][0]['type'] = 22; var responseStringDestinal = Fiddler.WebFormats.JSON.JsonEncode(responseJSON.JSONObject); oSession.utilSetResponseBody(responseStringDestinal); }

//throw an exception
eval("if(oSession.uriContains('https://xxxxxx.com')){var responseStringOriginal=oSession.GetResponseBodyAsString();var responseJSON=Fiddler.WebFormats.JSON.JsonDecode(responseStringOriginal);responseJSON.JSONObject['data']['data1']['data2']=22;responseJSON.JSONObject['data']['data1']['data3']=1;responseJSON.JSONObject['data']['data1']['data4'][0]['type']=2;responseJSON.JSONObject['data']['data1']['data5'][0]['type']=22;var responseStringDestinal=Fiddler.WebFormats.JSON.JsonEncode(responseJSON.JSONObject);oSession.utilSetResponseBody(responseStringDestinal)}")
Under my constant testing, I found that when the program is executed to JSON containing [number], it will throw an exception. It runs normally when the statement was deleted

 

(It says that Hashtable cannot cast to StackFrame)

Thanks for help.

LALA
Top achievements
Rank 1
 asked on 25 Nov 2021
0 answers
231 views
Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

Type: System.TypeLoadException
Source: mscorlib
   at System.ModuleHandle.ResolveMethod(RuntimeModule module, Int32 methodToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount)

   at System.ModuleHandle.ResolveMethodHandleInternalCore(RuntimeModule module, Int32 methodToken, IntPtr[] typeInstantiationContext, Int32 typeInstCount, IntPtr[] methodInstantiationContext, Int32 methodInstCount)

   at System.ModuleHandle.ResolveMethodHandleInternal(RuntimeModule module, Int32 methodToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)

   at System.Reflection.CustomAttributeData..ctor(RuntimeModule scope, CustomAttributeRecord caRecord)

   at System.Reflection.CustomAttributeData.GetCustomAttributes(RuntimeModule module, Int32 tkTarget)

   at System.Reflection.CustomAttributeData.GetCustomAttributesInternal(RuntimeAssembly target)

   at System.Resources.ManifestBasedResourceGroveler.GetNeutralResourcesLanguage(Assembly a, UltimateResourceFallbackLocation& fallbackLocation)

   at System.Resources.ResourceManager.CommonSatelliteAssemblyInit()

   at System.Resources.ResourceManager..ctor(Type resourceSource)

   at System.ComponentModel.ComponentResourceManager..ctor(Type t)

   at .ž“.P3btQI1hZ7()

   at .ž“..ctor()

   at Fiddler.frmViewer.dX9tuyvkNw(Object  )

   at Fiddler.frmViewer.ERDt4XkYjk(String[]  )
ding
Top achievements
Rank 1
 asked on 22 Nov 2021
0 answers
255 views

I have Fiddler up and running on box A.  I can see all traffic from my local machine and my autoresponders are working as expected.

On my Android cell phone I have set up the network to use box A as proxy.  The pages are being rendered in the Android browser as expected and autoresponders are giving the correct data as expected, but none of the traffic is showing in the Fiddler UI.

Any idea?

Ed
Top achievements
Rank 1
 asked on 18 Nov 2021
0 answers
481 views

My enviroment:

I run my connection through a barracuda web security gateway proxy that uses a pac file to connect

 

Issue.

I was running into an issue with google earth pro and was attempting to use fiddler to troubleshoot the issue. I installed fiddler without admin permissions. Google earth pro streetview fails to download images due to 407 error (Web page that renders image gives a failed to pass or parse credentials from proxy.)

The issue I am running into is when I run fiddler it "fixes" the issue without indication of where the issue came from. I uninstall fiddler and the "fix" remains even after removing google earth pro registry files tmp files and cached files, something on my system changed when installing fiddler that prevents the images in google earth pro from using my pac file when connecting. I cant seem to find out what change was made to reverse it even after an uninstall of fiddler. Any help or information regarding what system changes are made with the fiddler installer would be greatly appreciated.

Thank you,

Patrick

patrick
Top achievements
Rank 1
 asked on 09 Nov 2021
1 answer
753 views

Hi,

Tried every filter, every Rule but this host allways appears making Fiddler unusable.

POST http://localhost:60110/request HTTP/1.1
Content-Type: application/json
Accept: application/json, text/javascript, */*; q=0.01
Accept-Language: en-US,en;q=0.8,pt-PT;q=0.5,pt;q=0.3
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729)
Content-Length: 27
Host: localhost:60110
Connection: Keep-Alive
Pragma: no-cache

{"hello":{},"waitfor":3000}

 

 

 

Nick Iliev
Telerik team
 answered on 08 Nov 2021
0 answers
350 views

Hello, please tell me how to create a separate POST request using the C# language.
Initially, I tried to change the outgoing POST request from another application and resend it, but I get an error - "HTTP/1.1 504 Fiddler - Receive Failure".
And now you need to write a new request, specifying the headers and receiving a response.
And the whole question is how to do it all in C#?

I tried to use this code

 


    public static void OnBeforeResponse(Session oSession)
        {
           
        
            if (oSession.HTTPMethodIs("POST") ) 
            { 
    
    
                  String strBody =  oSession.GetRequestBodyAsString(); 
     
                  oSession.host="api.123.com";
      
                    string resultRequest = "request";
   
    
                    byte[] resulByte =   System.Text.Encoding.ASCII.GetBytes(resultRequest);
    
                
                    FiddlerApplication.oProxy.SendRequest (oSession.RequestHeaders, resulByte, null);            
    
               }

Max
Top achievements
Rank 1
Iron
 asked on 06 Nov 2021
1 answer
133 views
<p>Hi,</p><p>Any release schedule for the latest Telerik Fiddler Classic? Just curious, I love your products.</p><p>Thank you in advance.</p>
Nick Iliev
Telerik team
 answered on 03 Nov 2021
1 answer
211 views

Hi,

Any release schedule for the latest Telerik Fiddler Classic? Just curious, I love your products.

Thank you in advance.

Nick Iliev
Telerik team
 answered on 03 Nov 2021
1 answer
1.4K+ views
I have some issues on fiddler everywhere and I want to uninstall it from my device (OS ubuntu 20.04)
Nick Iliev
Telerik team
 answered on 02 Nov 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?