Telerik Forums
Fiddler Forum
1 answer
1.0K+ views

I tried to create a certificate by this way.

  1. Install  "fiddlercertmaker.exe" (get it from http://fiddler2.com/r/?fiddlercertmaker/.)
  2. ”prefs set fiddler.certmaker.bc.ee.yearsvalid 1”
  3. Options -> HTTPS tab -> "Actions" -> ”Reset All Certificates”
  4. Options -> HTTPS tab -> "Actions" -> ”Trust Root Certificates" 

see config.jpg and Option.jpg

However, the term of the certificate is 10 years.”Certificates.jpg”

If my understanding is mistaken, please tell me.

Lini
Telerik team
 answered on 14 Jul 2021
0 answers
219 views

Sometimes when I use fiddler for a while, connection will closed by client when response is large (random for small/medium size).

With browser (Firefox and Chrome), I'll get
SSL_ERROR_BAD_MAC_READ or
SSL_ERROR_RX_RECORD_TOO_LONG

Even in emulator (android), it's the same. Response time is not different from when it's normal.

More info:
- Problem persist even without Fiddler script
- But if I use oSession.Ignore() in Fiddler script, it'll run fine.
- If I close Fiddler, it'll run fine.
- Restart Fiddler not eliminate the problem but restart the computer works.
- If I replay (r) in Fiddler, it has no abort icon in new request
- I try to export .saz the only different is: Process name and PipeInfo CltReuse="true" (ClientPipeReused?) so I try uncheck "Reuse client&server connections" in Options. But it's still ClientPipeReused and aborted > This is only my testing. But I think it's unrelated, replay is issue by Fiddler so it just not abort it own request.

It's not a big deal as I can restart my pc and it's not too often but it would be good if there's a way to fix a problem without restarting the pc.

Ryuu
Top achievements
Rank 1
Iron
 updated question on 08 Jul 2021
0 answers
561 views

I wrote a test program to check fiddlercore, the certificate installed, but HTTPS traffic is not captured, only HTTP. Exactly the same program captures HTTPS traffic fine on another edition of Windows 10 (Enterprise), but on Windows 10 home (2004) HTTPS traffic is not captured. Do I need to change any Windows settings to capture HTTPS traffic?

 

 

My program:


using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Fiddler;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.OutputEncoding = Encoding.UTF8;
            if (!CertMaker.rootCertIsTrusted())
            {
                var rootCertificatePassword = "Password1";
                BCCertMaker.BCCertMaker certProvider = new BCCertMaker.BCCertMaker();
                CertMaker.oCertProvider = certProvider;
                string rootCertificatePath = @"RootCertificate.p12";
                if (!File.Exists(rootCertificatePath))
                {
                    certProvider.CreateRootCertificate();
                    certProvider.WriteRootCertificateAndPrivateKeyToPkcs12File(rootCertificatePath, rootCertificatePassword);
                }
                if (File.Exists(rootCertificatePath))
                {
                    certProvider.ReadRootCertificateAndPrivateKeyFromPkcs12File(rootCertificatePath, rootCertificatePassword);
                }
                CertMaker.trustRootCert();
                if (CertMaker.rootCertIsTrusted())
                {
                    Console.WriteLine("Certificate is installed");
                }
                else
                {
                    Console.WriteLine("Certificate is not installed");
                }
                var settings = new FiddlerCoreStartupSettingsBuilder()
                .ListenOnPort(6666)
                .ChainToUpstreamGateway()
                .DecryptSSL()
                .OptimizeThreadPool()
                .RegisterAsSystemProxy()
                .Build();
                FiddlerApplication.Startup(settings);
                FiddlerApplication.AfterSessionComplete += session =>
                {
                    if (session != null)
                    {
                        Console.WriteLine(session.fullUrl);
                    }
                };
                Console.ReadLine();
            }
        }
    }
}

Denis
Top achievements
Rank 1
 asked on 07 Jul 2021
1 answer
284 views

I got a session;

But I don't want to request now

How to resubmit the session?

Sorry, my English is not good

Nick Iliev
Telerik team
 answered on 28 Jun 2021
1 answer
1.1K+ views

I use Fiddler Classic.

I enable Decrypt HTTPS and Trust Certificate.

Most websites can capture traffic, but some website display error: Err_Connection_Reset. How to fix it?

Thanks for reading!

Nick Iliev
Telerik team
 answered on 28 Jun 2021
1 answer
299 views

Hi Team

I would like to know how I can add comment to captured calls via command line using ExecAction. This is for identification like start of login , start of some other transaction etc..

Tried to find references in CustomRules.js , no luck there.

Regards

Sujeet V

Nick Iliev
Telerik team
 answered on 21 Jun 2021
1 answer
532 views

Hello. I installed Fiddler 4 and now whenever I use NuGet, in Visual Studio 2019 or in other applications that use NuGet, no feeds work unless I open Fiddler 4. I thought that removing Fiddler 4 and the HTTPS certificate would fix the problem, but it didn't, so I reinstalled Fiddler 4 to be able to use NuGet.

I also had Fiddler Everywhere installed, but having it open or closed doesn't make NuGet work, only Fiddler 4 does.

Things I tried:

  • remove the HTTP certificate, ensure no proxy settings are set, also checked HTTP_PROXY env variable is not set, rebooting
  • when I open Fiddler 4 I can see the proxy settings, removing them while Fiddler 4 is still running does NOT break NuGet (I expected the proxy settings to be the problem, but they are not?)
  • uninstall Fiddler 4 (and Fiddler Everywhere) and reboot
  • followed multiple instructions from here https://www.telerik.com/forums/fiddler-proxy-settings-have-corrupted-visual-studio-networking

I'm at a loss here, I just want NuGet to work without having to open Fiddler. How can it still be broken even after removing Fiddler?

What else should I try?

Nick Iliev
Telerik team
 answered on 16 Jun 2021
0 answers
547 views

Installing fiddler and and first start receive the error unable to create following file :

the file never gets created

I've check one drive permissions and I have full permissions. Any  yes using OD4B

Is there a setting to change the location of the CustomMimeMappings.xml', I presume its one drive causing the problem

 

Thanks

M

 

---------------------------
Generating default MIME mappings file 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 find file 'C:\Users\username\OneDrive\Documents\Fiddler2\CustomMimeMappings.xml'.

Type: System.IO.FileNotFoundException
Source: mscorlib
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)

   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)

   at System.IO.FileStream..ctor(String path, FileMode mode)

   at Fiddler.frmViewer.š(Object , EventArgs ) in C:\Jenkins\Fiddler_Windows\workspace\Fiddler2\Fiddler.Shared\Viewer.cs:line 9948


Fiddler v5.0.20204.45441 (x64 AMD64) [.NET 4.0.30319.42000 on Microsoft Windows NT 10.0.18363.0] 
---------------------------
OK   
---------------------------
Martyn
Top achievements
Rank 1
 asked on 16 Jun 2021
1 answer
734 views


I need to explore the traffic from one program.

The program makes something like a connection through the WebSockets.

Fiddler displays this:

Request Headers: `CONNECT 144.***:443 HTTP/1.0`

Response: `HTTP/1.0 200 Connection Established`

End empty body.

But httpanalyzer displays full information after that response, and that information continues flowing. Very likely like WebSockets (one connection and receive more answers).


And fiddler display zero traffic.

How can I explore such traffic through the fiddler?

Updade1: No websockets icon and websockets tab

Serhio
Top achievements
Rank 1
 updated question on 15 Jun 2021
1 answer
162 views

Hi,

I need to detect row change so i tried your sample

https://www.telerik.com/kendo-angular-ui/components/grid/editing/editing-row-click/

 

But i have following error message

Error: src/app/app.component.ts:25:31 - error TS2554: Expected 0 arguments, but got 1.

25             (add)="addHandler($event)"

 

Regards                                 ~~~~~~

Dimiter Topalov
Telerik team
 answered on 15 Jun 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?