Splunk AppDynamics

Could not get the metrics in the manager for standalone .Net applications

saswin_d
New Member

Hi Team/ @Anonymous 

I have tried Instrumenting  .Net standalone application with the help of the below reference link 

https://docs.appdynamics.com/display/PRO41/Instrument+Windows+Services+and+Standalone+Applications

I could load the profiler and was able to see the application under the "Tiers & Nodes" but was unable to get the transaction snapshots or metrics in the appdynamics controller.

I see the below error in the AgentLog.txt,

2022-02-10 08:41:24.0104 21836 AppDynamics.Coordinator 1 27 Error MachineAgentManager Metrics Error sending metrics - will requeue for later transmission Exception: com.appdynamics.ee.agent.commonservices.metricgeneration.metrics.MetricSendException: System.Exception: Failed to execute request to endpoint [https://****************.saas.appdynamics.com:443/controller/instance/76787/metrics_PB_]. For more details if needed please set trace level for logger [com.appdynamics.REST.RESTProtobufCommunicator] ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: The handshake failed due to an unexpected packet format.
at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.ConnectStream.WriteHeaders(Boolean async)
--- End of inner exception stack trace ---

Note: I can get metrics for the .Net applications deployed in the IIS 

Please look into this issue and help us to resolve this.

Thanks in advance

Labels (1)
Tags (1)
0 Karma

Hina_Ayaaz2
New Member

Hi saswin.d,

Did you find any solution for this. We are also facing the same issue.

Thanks,

sai

0 Karma

iamryan
Community Manager
Community Manager

Hi @saswin.d,

Thanks for asking your question on the Community. That Documentation you linked to is very old. I don't know what version your Controller is on, but here is a newer version of that Document.

https://docs.appdynamics.com/22.2/en/application-monitoring/install-app-server-agents/net-agent/inst...

Note: In the upper right corner of the Docs page, you can adjust the documentation for the Controller version you are using. 

Please let me know if this helps you out.

0 Karma

saswin_d
New Member

Hi @Ryan.Paredez,

Thanks for the reply, I have checked with the version of the appdynamics agent which is the latest version(22.2).

I have followed the steps which have been mentioned in the document but still facing the same issue and couldn't find metrics in the manager as mentioned previously.

please look into this.

Thanks in advance.

0 Karma

iamryan
Community Manager
Community Manager

Hi @saswin.d,

Thanks for letting me know. Let's see if the community can jump in and help. If you also happen to find a solution, please come back and share that info here.

0 Karma

saswin_d
New Member

Hi Team/ @Ryan.Paredez 

Can you please any update on this.

Please look into this issue and help us to resolve this.

Thanks in advance.

0 Karma

iamryan
Community Manager
Community Manager

Hi @saswin.d

I understand you are looking for help to fix your issue. This community is a peer-to-peer community, where most questions are answered by other AppD Community Members. AppDynamics offers official lines of help via the Support area -  www.appdynamics.com/support 

0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...