-
Notifications
You must be signed in to change notification settings - Fork 14
Conversation
@@ -0,0 +1,62 @@ | |||
// ----------------------------------------------------------------------- | |||
// <copyright file="UdpEchoTestController.cs" company="Microsoft Corporation"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please correct this...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
{ | ||
/// <summary> | ||
/// Worker instances are running an udp echo server on port 30000. This controller is for checking the connection between target | ||
/// worker instance by pinging and checking the echoed result. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update this to the correct text
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry it's my bad, I was too hurry to push this PR before getting off so that didn't notice this at all. It's now updated.
} | ||
else | ||
{ | ||
result = new NameResolverResult { Status = "unknown error", Exception = e }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dont know how the caller for this API will look like but do you want to add another field to NameResolverResult (like SocketErrorCode) and just return socketException.SocketErrorCode.ToString() to it ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Adding DaaS V2 API Removing additional logging statements Logging improvements Add nameresolver api (#18) * done * resolve PR comments Improving error handling and logging Increment DAAS Version Updating DiagnosticAnalysis.exe to latest Correcting the Attribute routing paths API changes better suited with ARM Handling exception while removing older sessions Correcting response slightly Updating framework to 4.8 and adding controllers for GeoMaster Incrementing version and enabling Diag CLI everywhere Cpu monitoring always on mode (#21) AlwaysOn Monitoring mode ILMerge for DaasRunner and DaasConsole and some CPU monitoring related changes Reducing ServerTimeout slightly Bug fix for SCM separation and CPU monitoring improvements DaaS V 2.1 minor cleaup Minor fixes in DaaS v2 Adding ServerCertificateValidationCallback Propagating error while copying to session Removing sessions from the runningSessions list Handling DaasRunner restarts during V2 sessions Adding DiagCLI report viewer to DaaS Fetch the DiagnosticAnalysis CLI & results viewer from nuget feeds (#23) * Fetch the DiagnosticAnalys CLI from nuget * Fetch the DiagnosticAnalyis HTML report files from nuget
Sometimes the nameresolver CLI provides a different result as the user app because it implements its own name resolving logic which can introduce more problems and uncertainty to checks in Network Troubleshooter. For example, nameresolver does not check WEBSITE_DNS_ALT_SERVER. And when both DNS in appsetting are not reachable, nameresolver can still produce a result
Add nameresolver api in DaasExtension to resolve hostname by using C# DNS library, which should provide the same result as the name resolving request sent from user code.