This is a migrated thread and some comments may be shown as answers.

Monitor WCF calls from .NET application

3 Answers 193 Views
Windows
This is a migrated thread and some comments may be shown as answers.
Marina
Top achievements
Rank 1
Marina asked on 03 Sep 2020, 11:32 AM

Hello,

I am trying to monitor the WCF calls from a .NET application to a .NET service. Both are company internal but not owned by my team, so I can't change them. Both are running on my machine. The calls are sent via HTTPS. The requests are mostly using the machine name but some are also done to localhost. Is there any way to achieve what I need? I tried already about 100 different configurations, reinsured that the certificates are installed everywhere and so on. 

As Gateway I have set System Proxy but there is no such proxy.

In the session list I have connect entries and nothing else from the application I am interested in. But I am able to monitor the calls when opening the corresponding web pages e.g. and I also see multiple other requests from various applications.

In the Fiddler Log I have plenty of messages like these:

13:23:14:3506 [Fiddler] No HTTPS request was received from (xxxx) new client socket, port xxx.
13:23:19:3946 !SecureClientPipeDirect failed: System.IO.IOException Authentication failed because the remote party has closed the transport stream. for pipe (CN=xxxx, O=DO_NOT_TRUST_BC, OU=Created by http://www.fiddler2.com)

I also tried setting

<defaultProxy>
      <proxy bypassonlocal="false" usesystemdefault="true" />
</defaultProxy>

in the client application config but that didn't help either.

I checked really a lot of threads here and on SO and I couldn't figure it out. I would be grateful for any advice.

3 Answers, 1 is accepted

Sort by
0
Nick Iliev
Telerik team
answered on 07 Sep 2020, 05:48 AM

Hello Marina,

 

Have you tried using the Fiddler aliases for localhost - see details in this documentation article.

 

Regards,
Nick Iliev
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Marina
Top achievements
Rank 1
answered on 07 Sep 2020, 05:54 AM

Hi,

I saw this article but couldn't understand how to use it when I am not able/allowed to change the client's code. Besides, most calls use already the machine name, so I would expect that at least these can be tracked.

Regards,

Marina M.

0
Nick Iliev
Telerik team
answered on 09 Sep 2020, 05:33 AM

Hi Marina,

 

Indeed, you need to change the app's codebase so that said you need to be the owner of the app (or at least have access to its code).

 

Regards,
Nick Iliev
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Windows
Asked by
Marina
Top achievements
Rank 1
Answers by
Nick Iliev
Telerik team
Marina
Top achievements
Rank 1
Share this question
or