Fiddler not capturing localhost, but I can't change the base URL

5 posts, 0 answers
  1. Avrohom Yisroel
    Avrohom Yisroel avatar
    47 posts
    Member since:
    Jan 2011

    Posted 28 Dec 2016 Link to this post

    I'm trying to debug an application that uses WCF web services, and so want to monitor localhost:50000 for traffic. It seems that by default, Fiddler ignores localhost (although it captures all of the vshub requests that Visual Studio makes for diagnostics, so I'm not sure why it ignores my WCF services).

    I saw this page, which describes how to modify the client application to use a different URL, but that won't work for me. I can't modify the application, and am stuck with using localhost:50000.

    How do I capture this traffic? Sorry if this is a dumb question, but I'm new to Fiddler, and somewhat overwhelmed so far!

  2. Avrohom Yisroel
    Avrohom Yisroel avatar
    47 posts
    Member since:
    Jan 2011

    Posted 28 Dec 2016 in reply to Avrohom Yisroel Link to this post

    Forgot to mention, I'm on Windows 10 64-bit, which includes IE11 if that makes any difference.
  3. Avrohom Yisroel
    Avrohom Yisroel avatar
    47 posts
    Member since:
    Jan 2011

    Posted 29 Dec 2016 Link to this post

    Hmm, think there might be something odd going on here. As a test, I created a new Visual Studio solution, and added a web project with a WCF service.

    If I use my browser (either IE or Chrome) and point them at http://localhost.fiddler:9885/PetsService.svc, the default page loads as expected. If I use the WCF test client, it loads and I can make the service calls.

    However, despite adding ".fiddler" to the URL, Fiddler does not show the calls. It shows three entries when I add the service to the WCF test client, but two of them are in red, see the attached screenshot. However, when I make the service calls, nothing more appears in Fiddler.

    I don't have any filtering applied.

    Anyone any ideas?

  4. Tsviatko Yovtchev
    Admin
    Tsviatko Yovtchev avatar
    549 posts

    Posted 05 Jan 2017 Link to this post

    Hello,

    I am not sure I completely understand your scenario. Is it the case that your app and the WCF service it contacts are both hosted on localhost?

    Is it possible that this - https://blogs.msdn.microsoft.com/fiddler/2011/12/10/revisiting-fiddler-and-win8-immersive-applications/ is the case for your app?

    Regards,
    Tsviatko Yovtchev
    Telerik by Progress
    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
  5. Avrohom Yisroel
    Avrohom Yisroel avatar
    47 posts
    Member since:
    Jan 2011

    Posted 05 Jan 2017 Link to this post

    Hello,

    Thanks for the reply. I forgot to mention that the app in question is a WPF one, not Win8, so that blog post doesn't apply.

    Thanks anyway, any other ideas?

Back to Top