FiddlerCore doesn't show traffic

2 posts, 0 answers
  1. Abdullah
    Abdullah avatar
    1 posts
    Member since:
    Apr 2019

    Posted 12 Aug 2019 Link to this post

    For study purposes I tried to make a simple app to learn capturing web traffic. but it didn't capture any traffic. Can you help me to figure out what is wrong here:


            void Start()
                FiddlerApplication.Prefs.SetBoolPref("fiddler.certmaker.CleanupServerCertsOnExit", true);
                FiddlerCoreStartupSettings startupSettings =
                    new FiddlerCoreStartupSettingsBuilder()

                FiddlerApplication.AfterSessionComplete += FiddlerApplication_AfterSessionComplete;

            private void FiddlerApplication_AfterSessionComplete(Session oSession)
                string reqHeaders = oSession.oRequest.headers.ToString();
                var reqBody = Encoding.UTF8.GetString(oSession.RequestBody);

                string respHeaders = oSession.oResponse.headers.ToString();
                var respBody = Encoding.UTF8.GetString(oSession.ResponseBody);

                string output = reqHeaders + "\r\n" +
                    (!string.IsNullOrEmpty(reqBody) ? reqBody + "\r\n" : string.Empty) +
                    "==========================================================" + "\r\n\r\n" +
                    respHeaders + "\r\n" +
                    (!string.IsNullOrEmpty(respBody) ? respBody + "\r\n" : string.Empty) +
                    "==========================================================" + "\r\n\r\n";

                BeginInvoke(new Action<string>((text) =>
                }), output);

  2. Eric R | Senior Technical Support Engineer
    Eric R | Senior Technical Support Engineer avatar
    388 posts

    Posted 19 Aug 2019 Link to this post

    Hi Abdullah,

    I recommend adding the system proxy configuration because it looks like the StartUpSettingsBuilder is missing the .RegisterAsSystemProxy() call. However, without seeing the project I am not sure what the application type is or what the application is trying to do. 

    If you would prefer I review the sample please provide it in this thread. Let me know if you need any additional information. Thank you.


    Eric R | Technical Support Engineer
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top