Network Monitor for App Service

Thomas Carbone 21 Reputation points
2021-03-19T13:47:36.64+00:00

I have an app service (ASP.NET .NET5) and am having some intermittent failures when POSTing to an external API using a WebClient. Periodically, it is generating an exception: "The SSL connection could not be established. Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond." I'd like to monitor packets related to the request to see if I can identify what is failing. I looked into Network Monitor, but this seems to relate only to VMs. Is there any way for me to capture the packets for my POST?

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,256 questions
Azure Network Watcher
Azure Network Watcher
An Azure service that is used to monitor, diagnose, and gain insights into network performance and health.
169 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,758 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Andriy Bilous 11,421 Reputation points MVP
    2021-03-19T15:18:45.077+00:00
    0 comments No comments

  2. Thomas Carbone 21 Reputation points
    2021-03-19T15:50:33.223+00:00

    Thanks! That gets me closer. I already had application insights configured. I can see the errors and get a bit of detail as follows:

    79668-image.png

    However, is there a way to get more details on the POST? For example... the headers used?


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.