Telerik Forums
Fiddler Forum
3 answers
232 views
---------------------------
Uncaught Exception in Session #35
---------------------------
Fiddler has encountered an unexpected problem. If you believe this is a bug in Fiddler, please copy this message by hitting CTRL+C, and submit a bug report at http://www.telerik.com/forums/fiddler.

Cannot access a disposed object.

Object name: 'WinHttpAutoProxy'.

Type: System.ObjectDisposedException
Source: Fiddler
   at “.Ÿœ.ƒ•(String •, String& ‘‰, String& ”) in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\FiddlerCore\PlatformExtensions\Windows\FiddlerCore.PlatformExtensions.Windows.Shared\WinHttpAutoProxy.cs:line 52

   at .‚•.œ(String –, IPEndPoint& žœ) in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Core\AutoProxy.cs:line 142

   at Fiddler.Proxy.FindGatewayForOrigin(String sURIScheme, String sHostAndPort) in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Core\Proxy.cs:line 808

   at Fiddler.ServerChatter.Œ() in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Core\ServerChatter.cs:line 1056

   at Fiddler.Session.‘() in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Core\Session.cs:line 3725

   at Fiddler.Session.(Object ) in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Core\Session.cs:line 3500


Fiddler v5.0.20182.28034 (x64 AMD64) [.NET 4.0.30319.42000 on Microsoft Windows NT 6.1.7601 Service Pack 1] 
---------------------------
确定   
---------------------------
Eric R | Senior Technical Support Engineer
Telerik team
 answered on 19 Sep 2019
1 answer
210 views
Hello,

I would like to know if I can code a dll to autoresponder without running Fiddler or having Fiddler installed on the PC

so when I run it then will stop change the url to another url

Thank you.
Eric R | Senior Technical Support Engineer
Telerik team
 answered on 18 Sep 2019
0 answers
214 views

     Hi,

I am trying to invoke the execaction from powershell script. Is there any reference document for the valid commands for the same? I would like to export html, xml and .saz reports.

 

Many thanks.

amrita
Top achievements
Rank 1
 asked on 18 Sep 2019
2 answers
1.4K+ views
When I try to run FiddleApplication.Startup(startupConfig)

FiddlerCoreStartupSettings startupSettings = newFiddlerCoreStartupSettingsBuilder() .ListenOnPort(0) .RegisterAsSystemProxy() .DecryptSSL() .Build(); FiddlerApplication.Startup(startupSettings);

In my log events I see:

Starting FiddlerCore/4.6.20191.7809 ...
** LogString: !WARNING: The DefaultLAN Gateway information could not be obtained.
** NotifyUser: Error - Failed to register Fiddler as the system proxy.


I'm running the process as administrator.

Note: When I run the normal Fiddler UI application everything works fine. Even running an older FiddlerCore version (2.3) is able to register itself as the system proxy.


P.S - I also see a warning in Visual Studio - "Please use Telerik.NetworkConnections.NetworkConnectionsManager to register the FiddlerCore Proxy as the system proxy." But I couldn't find any documentation/examples using NetworkConnectionsManager and I couldn't figure out how to use it.
fiddlercore fiddler-dev
Eric R | Senior Technical Support Engineer
Telerik team
 answered on 12 Sep 2019
8 answers
1.7K+ views
I have Fiddler setup as a reverse proxy to capture request and responses from my app. While my app is working, it's not capturing any requests and response, and I'm getting these errors in my fiddler log. I tried CertEnroll and MakeCert but both throw different errors.

I tried searching for this error and I read this article but I don't know what the issue is:
https://www.telerik.com/blogs/faq---certificates-in-fiddler

How can I fix these errors so Fiddler can capture my requests and responses in my app?

-= Fiddler Event Log =-
See http://fiddler2.com/r/?FiddlerLog for details.

15:13:46:5212 Fiddler Running...
15:13:46:5592 !WARNING Fiddler has detected that Chrome GPO specifies proxy configuration 'system'.
15:13:54:5022 /Fiddler.CertMaker> Using Fiddler.DefaultCertificateProvider+CertEnrollEngine for certificate generation
15:13:54:5252 /Fiddler.CertMaker> Failed to identify private key location for Root Certificate. Exception: System.NullReferenceException Object reference not set to an instance of an object.
15:13:54:5272 /Fiddler.CertMaker> Invoking CertEnroll for arguments: CN=doesitmatter.com, O=DO_NOT_TRUST, OU=Created by http://www.fiddler2.com
15:13:54:8502 !ERROR: Failed to generate Certificate using CertEnroll. System.Reflection.TargetInvocationException Exception has been thrown by the target of an invocation. < CertEnroll::CSignerCertificate::Initialize: The certificate does not have a property that references a private key. 0x8009200a (-2146885622)
15:13:54:8502 /Fiddler.CertMaker> Failed to identify private key location for Root Certificate. Exception: System.NullReferenceException Object reference not set to an instance of an object.
15:13:54:8502 !Fiddler.CertMaker> Tried to create cert for doesitmatter.com, but can't find it from thread 10!
15:13:54:8512 fiddler.https> Failed to obtain certificate for doesitmatter.com due to Certificate Maker returned null when asked for a certificate for doesitmatter.com
15:13:59:8712 /Fiddler.CertMaker> Invoking CertEnroll for arguments: CN=some-url.com, O=DO_NOT_TRUST, OU=Created by http://www.fiddler2.com
15:13:59:8712 /Fiddler.CertMaker> Reusing PrivateKey for new certificate.
15:13:59:8812 !ERROR: Failed to generate Certificate using CertEnroll. System.Reflection.TargetInvocationException Exception has been thrown by the target of an invocation. < CertEnroll::CSignerCertificate::Initialize: The certificate does not have a property that references a private key. 0x8009200a (-2146885622)
15:13:59:8812 /Fiddler.CertMaker> Failed to identify private key location for Root Certificate. Exception: System.NullReferenceException Object reference not set to an instance of an object.
15:13:59:8812 !Fiddler.CertMaker> Tried to create cert for some-url.com, but can't find it from thread 13!
15:13:59:8812 fiddler.https> Failed to obtain certificate for some-url.com due to Certificate Maker returned null when asked for a certificate for some-url.com


When I use makeCert:


-= Fiddler Event Log =-
See http://fiddler2.com/r/?FiddlerLog for details.

17:27:43:2012 Fiddler Running...
17:27:43:2322 !WARNING Fiddler has detected that Chrome GPO specifies proxy configuration 'system'.
17:27:48:1422 /Fiddler.CertMaker> Using Fiddler.DefaultCertificateProvider+MakeCertEngine for certificate generation
17:27:48:1652 /Fiddler.CertMaker> Failed to identify private key location for Root Certificate. Exception: System.NullReferenceException Object reference not set to an instance of an object.
17:27:48:1682 /Fiddler.CertMaker> Invoking makecert.exe with arguments: -pe -ss my -n "CN=something.com, O=DO_NOT_TRUST, OU=Created by http://www.fiddler2.com" -sky exchange -in DO_NOT_TRUST_FiddlerRoot -is my -eku 1.3.6.1.5.5.7.3.1 -cy end -a sha256 -m 132 -b 09/04/2018
17:27:48:8222 /Fiddler.CertMaker>11-CreateCert(something.com) => (-1)
Results from C:\Program Files (x86)\Fiddler2\MakeCert.exe -pe -ss my -n "CN=something.com, O=DO_NOT_TRUST, OU=Created by http://www.fiddler2.com" -sky exchange -in DO_NOT_TRUST_FiddlerRoot -is my -eku 1.3.6.1.5.5.7.3.1 -cy end -a sha256 -m 132 -b 09/04/2018

Error: Fail to acquire a security provider from the issuer's certificate
Failed
-------------------------------------------

17:27:48:8222 Fiddler.CertMaker> [C:\Program Files (x86)\Fiddler2\MakeCert.exe -pe -ss my -n "CN=something.com, O=DO_NOT_TRUST, OU=Created by http://www.fiddler2.com" -sky exchange -in DO_NOT_TRUST_FiddlerRoot -is my -eku 1.3.6.1.5.5.7.3.1 -cy end -a sha256 -m 132 -b 09/04/2018 ] Returned Error: Creation of the interception certificate failed.

makecert.exe returned -1.

Results from C:\Program Files (x86)\Fiddler2\MakeCert.exe -pe -ss my -n "CN=something.com, O=DO_NOT_TRUST, OU=Created by http://www.fiddler2.com" -sky exchange -in DO_NOT_TRUST_FiddlerRoot -is my -eku 1.3.6.1.5.5.7.3.1 -cy end -a sha256 -m 132 -b 09/04/2018

Error: Fail to acquire a security provider from the issuer's certificate
Failed
-------------------------------------------
Eric R | Senior Technical Support Engineer
Telerik team
 answered on 12 Sep 2019
2 answers
308 views
There are lots of indicators for online/offline status in UI and log. But how do we check this in fiddlerscript (c#)? (The application does not call any of OnPeekAtResponseHeaders(), OnBeforeResponse() and OnReturningError() when I am offline)
Eric R | Senior Technical Support Engineer
Telerik team
 answered on 10 Sep 2019
2 answers
2.7K+ views

Hi,

since my company brought in a new corporate proxy (IBoss) I am unable to use Fiddler.

Any ideas please? The error I receive is "The system proxy was changed. Click to reenable Telerik Fiddler capture".

From some googling I am guessing that IBoss proxy is changing settings as soon as Fiddler makes a change.

In IE, I do not have any entries in Internet Options -> LAN Settings -> Proxy Settings (and these settings are now blank & disabled).  There is an automatic config script.

If I use foxy proxy to change proxy to localhost and give a port, I can capture local traffic but nothing external (ie anything that should go though IBoss). Have tried several Gateway options in Fiddler but unsure what Fiddler needs.

Any thoughts please?

Dan

 

 

Dan
Top achievements
Rank 1
 answered on 09 Sep 2019
3 answers
180 views

Hello, the situation is that I am testing a controller from this application, I am working with an api, asp.net core and entity frame, the thing is that I do not connect the vue.js with the asp, so I am testing the controller from this application.

I have been trying to send the data to the controller but it gives me a data error in the "idUsuario" section =   {"errors":{"":["Error converting value \"IdUsuario\" to type 'SMAD_WEB.Modelos.UsuarioModelo.UsuarioViewModel'. Path '', line 1, position 12."]},"title":"One or more validation errors occurred.","status":400,"traceId":"80000166-0006-ff00-b63f-84710c7967bb"}

all the gesture, controller, model, and data, is in int, but at the time of sending it, it tells me that it cannot connect it

 

"IdUsuario" : 504100637,
" NomUsuario ": "wilberth",
"' EmailUsuario "' : "wil@gmail.com",
"contrasena" : "1234"
"Rol": 1 

 

In this way I send it, will it be that it is badly sent, can anyone tell me how to save it?


Eric R | Senior Technical Support Engineer
Telerik team
 answered on 05 Sep 2019
1 answer
419 views

Hi,Eric 

I have a problem, someone has the same problem as me before, here,but there is no reply, and it has been a long time, so I want to bring up this problem again.

I want to use PAC file. http://127.0.0.1:8888/proxy.pac, this way, if my proxy accidently quits without remove the proxy setting, the browser will be able to continue to work since it can't find the pac file, thus consider it "No proxy".

But When I set the flags, if I don't include: "RegisterAsSystemProxy", the PAC file will not registered.
If I DO include "RegisterAsSystemProxy", the PAC file is registered, but also the proxy servers, 127.0.0.1 8888 for http and https. What's the point to have both registered, and it negate my purpose.
Anyway to hook up PAC file only?

Did I miss something?

Eric R | Senior Technical Support Engineer
Telerik team
 answered on 04 Sep 2019
3 answers
352 views

Hi, while trialing out Fiddler to specifically look at HTTPs traffic on a MacBook pro (10.14.6) I got a crash of Mono Fiddler.

Since then I can't get HTTP or HTTPS traffic working on my machine in any browser (Safari, Chrome, FireFox and Opera).

I double checked the proxy settings for http and https and confirm they are turned off (when enabled, I get a proxy timeout).

Traffic in a webbrowser just times out, eventually giving an error time out.

Using netstat -nr I see normal routes and I can ping a domain without any issues (dns resolution and icmp succeeds).

John-Paul
Top achievements
Rank 1
 answered on 01 Sep 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?