Forum Discussion
Carlos Rapa
Dec 26, 2017Copper Contributor
Microsoft Monitoring Agent Setup Error
I am getting an error while trying to install the agent on two servers... I have one working just fine.
Invalid Azure Log Analytics Configuration
Unknown error was encountered during setup. Please check log file: (%temp%\MonitoringAgent.log).
Any suggestions?
Here is the log file I inserted 1234567890 into spots tied to my account...
2017-12-26T11:12:30.6140400-06:00 Debug: *** Trace Started *** 2017-12-26T11:12:30.6296658-06:00 Debug: Workspace ID 1234567890 2017-12-26T11:12:30.6296658-06:00 Debug: Azure Cloud Type 0 2017-12-26T11:12:30.6296658-06:00 Debug: Proxy Url 2017-12-26T11:12:30.6296658-06:00 Debug: Proxy User Name : 2017-12-26T11:12:30.6296658-06:00 Debug: Current Connector Version August, 2014: 2017-12-26T11:12:30.6296658-06:00 Debug: Is Certificate Pinning Disabled : 2017-12-26T11:12:30.6296658-06:00 Debug: Logging url https://1234567890.oms.opinsights.azure.com/ValidationService.Svc/ValidateWorkspaceKey?WorkspaceId=1234567890 2017-12-26T11:12:30.6452848-06:00 Debug: x-ms-version : August, 2014 2017-12-26T11:12:30.6452848-06:00 Debug: x-ms-Date : 2017-12-26T11:12:30.6296658-06:00 2017-12-26T11:12:30.6452848-06:00 Debug: x-ms-SHA256_Content : 1234567890 2017-12-26T11:12:30.6452848-06:00 Debug: Authorization : 1234567890 2017-12-26T11:12:30.6452848-06:00 Debug: X-Request-ID : 1234567890 2017-12-26T11:12:30.7702985-06:00 Error: Failed to connect, exception : System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.ComponentModel.Win32Exception: The client and server cannot communicate, because they do not possess a common algorithm at System.Net.SSPIWrapper.AcquireCredentialsHandle(SSPIInterface SecModule, String package, CredentialUse intent, SecureCredential scc) at System.Net.Security.SecureChannel.AcquireCredentialsHandle(CredentialUse credUsage, SecureCredential& secureCredential) at System.Net.Security.SecureChannel.AcquireClientCredentials(Byte[]& thumbPrint) at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output) at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count) at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, 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.ConnectStream.WriteHeaders(Boolean async) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.GetResponse() at Microsoft.MOMv3.Setup.MOMv3ManagedCAs.ValidateOpInsightsConnection(Session session) 2017-12-26T11:12:30.7702985-06:00 Debug: *** Trace Ended ***
- Andrew NeeCopper ContributorFor me with the same error, I had to install it without trying to make the connection to Log Analytics workspace. After the installation, then going to the control panel for its setting, I then was able to successfully add / connect to the Log Analytics workspace.
- Shahab MushtaqCopper ContributorCarlos, if you haven't already figured this out, double check your internet connection. The agent requires internet connection to connect to the Azure portal, so you need to configure the Proxy settings.
- Carlos RapaCopper ContributorIll answer my own here.... after messing with it for a day.... If you do not check the Connect the agent to Azure Log Analytics (OMS) on the initial install then go to the control panel after and set it up everything works out.
- sv1slimCopper Contributorworked like a charm