I am using Visual Studio and C# to post a request to my client's https: api service (a Java/Unix platform).
They claim I am not sending the payload (request body).
My code uses a common practice method HttpWebRequest request = (HttpWebRequest)WebRequest.Create("https://client.com/api/login");
I then create the JSON from a data structure using the JavaScriptSerializer as
loginInfoSerialized = new JavaScriptSerializer().Serialize(loginInfo);
I add request.Headers.Add as needed by the client. And then write the request stream using:
StreamWriter streamPost = new StreamWriter(request.GetRequestStream());
streamPost.Write(loginInfoSerialized);
All pretty standard. However, I am not able to capture/see the outgoing HTTPS request in Fiddler to confirm the header and payload data is being sent from my development platform (Windows 7). My firewall is disabled.
I do see a "Tunnel to" in the Host column, but nothing recognizable (https decipher??)
Should I be doing something different to see the outbound packets?
Thanks.
I've tried to installed Fiddler4.6 and the IOS certmaker on two different WIndows 7 PCs and gotten the same error on both, would appreciate any assistance.
Thanks!
---------------------------
Awww, Fiddlesticks!
---------------------------
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.
Could not load type 'Fiddler.ICertificateProvider4' from assembly 'Fiddler, Version=4.6.20172.34691, Culture=neutral, PublicKeyToken=null'.
Type: System.TypeLoadException
Source: mscorlib
at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
at System.Reflection.RuntimeAssembly.GetExportedTypes()
at Fiddler.CertMaker.() in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Core\CertMaker.cs:line 111
at Fiddler.CertMaker.EnsureReady() in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Core\CertMaker.cs:line 69
at ..() in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Options.cs:line 2502
Fiddler v4.6.20172.34691 (x64 AMD64) [.NET 4.0.30319.18331 on Microsoft Windows NT 6.1.7601 Service Pack 1]
---------------------------
OK
---------------------------
---------------------------
Reset Certificates Failed
---------------------------
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.
Could not load type 'Fiddler.ICertificateProvider4' from assembly 'Fiddler, Version=4.6.20172.34691, Culture=neutral, PublicKeyToken=null'.
Type: System.TypeLoadException
Source: mscorlib
at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
at System.Reflection.RuntimeAssembly.GetExportedTypes()
at Fiddler.CertMaker.() in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Core\CertMaker.cs:line 111
at Fiddler.CertMaker.EnsureReady() in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Common\Core\CertMaker.cs:line 69
at ..(Object , EventArgs ) in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Options.cs:line 2153
at ..(Object , EventArgs ) in C:\JenkinsHome\jobs\FiddlerReleaseBuild\workspace\Fiddler2\Options.cs:line 2605
Fiddler v4.6.20172.34691 (x64 AMD64) [.NET 4.0.30319.18331 on Microsoft Windows NT 6.1.7601 Service Pack 1]
---------------------------
OK
---------------------------
I use fiddlercore in my wpf aplication,which used to capture http/https request.
I use startup() to start the api:
FiddlerCoreStartupFlags oFCSF = FiddlerCoreStartupFlags.Default;
int iPort = 8877;
Fiddler.FiddlerApplication.Startup(iPort, oFCSF);
and at the end ,i use Shutdown() to stop it.
if (null != oSecureEndpoint) oSecureEndpoint.Dispose();
oAllSessions.Clear();
Fiddler.FiddlerApplication.Shutdown();
oAllSessions.Clear();
Thread.Sleep(1000);
the result is that: I can capture http/https request,but after using it ,i can't use webbrowser to reach internet.
and this only appears when i use my application via VPN .
i found ProxyEnable in regedit ,it values 1
I doubt depply that Fiddler.FiddlerApplication.Shutdown(); can't work out?
How can i do to resolve this problem?help!
Thanks!
Hi,
I have a use case that needs to run Fiddler on the end user's PCs through command line and enable HTTPS. I don't want users enabling HTTPS option through the UI. Any ideas?
Many Thanks
Jerome
Just updated to the latest version of Fiddler () and it ran the first time, but as soon as I installed the root certificate to decrypt HTTPS it won't run anymore. Nothing appears in the UI, but I get 2 event log errors. I'm on the latest Insiders fast build, VS 2017.3 is installed. If you need anything else let me know.
1)
Application: Fiddler.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
at Fiddler.FiddlerApplication..cctor()
Exception Info: System.TypeInitializationException
at Fiddler.FiddlerApplication.ReportException(System.Exception, System.String)
at Fiddler.CONFIG..cctor()
Exception Info: System.TypeInitializationException
at Fiddler.frmViewer.(System.Object, System.UnhandledExceptionEventArgs)
2)
Faulting application name: Fiddler.exe, version: 4.6.3.44034, time stamp: 0x580e4d17
Faulting module name: KERNELBASE.dll, version: 10.0.16257.1, time stamp: 0x7fd7fb50
Exception code: 0xe0434352
Fault offset: 0x0000000000051b88
Faulting process ID: 0x2610
Faulting application start time: 0x01d315ed66e8c274
Faulting application path: C:\Program Files (x86)\Fiddler2\Fiddler.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report ID: 883f6394-5736-4f47-8c39-d761608eb7c1
Faulting package full name:
Faulting package-relative application ID: