Site Server (SS) agent.log files are showing "500 Internal Server Error" when trying to access the Notification Server (NS) as shown here:
Tick Count: 84022656
Host Name: SS1
Process: AtrsHost.exe (6688)
Thread: 7856
Module: AtrsHost.exe
Source: NotificationServerWebConnection
Description:
Web request 'POST' failed: https://NS1:443/altiris/TaskManagement/ClientTask/ExecTSMethod.aspx?clientTaskServerGuid=c6035d11-6595-40a4-9cda-fb6fa3ba136c. Result code: 500 Internal Server Error.
[Altiris.DotNetLib.Interop.AeXNetComms.Web.Exceptions.AeXWebRequestException @ Altiris.DotNetLib]
at Altiris.DotNetLib.Interop.AeXNetComms.Web.AeXWebRequest.Execute(String requestUriString, Guid cnnProfileId, TimeSpan timeout, Boolean isPost, String data)
at Altiris.DotNetLib.Helpers.AtrsHttpOps.Execute(String url, Guid cnnProfileId, TimeSpan timeout, Boolean isPost, String data)
at Altiris.ClientTask.Server.Communication.NotificationServerWebConnection.PostToNotificationServerWithRetry(String url, Guid cnnProfileId, String data, Int32 nMaxAttempts, TimeSpan timeout)
One or more errors occurred.
[System.AggregateException @ mscorlib]
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at Altiris.DotNetLib.Interop.AeXNetComms.AeXAsyncRequest.Execute()
at Altiris.DotNetLib.Interop.AeXNetComms.Web.AeXWebRequest.Execute(String requestUriString, Guid cnnProfileId, TimeSpan timeout, Boolean isPost, String data)
Web request 'POST' failed: https://NS1:443/altiris/TaskManagement/ClientTask/ExecTSMethod.aspx?clientTaskServerGuid=c6035d11-6595-40a4-9cda-fb6fa3ba136c. Result code: 500 Internal Server Error.
[Altiris.DotNetLib.Interop.AeXNetComms.Web.Exceptions.AeXWebRequestException @ Altiris.DotNetLib]
at Altiris.DotNetLib.Interop.AeXNetComms.Web.AeXWebRequest.OperationCallback(IAeXNetworkTransport5 transport)
at Altiris.DotNetLib.Interop.AeXNetComms.AeXRequest.ExecuteRequestSyncCallbackImpl(IAeXNetworkTransport5 transport)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Altiris.DotNetLib.Interop.AeXNetComms.AeXAsyncRequest.<ExecuteCallback>d__56.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Altiris.DotNetLib.Interop.AeXNetComms.AeXTransportInstance.<ExecuteRequestCallback>d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Altiris.DotNetLib.Interop.AeXNetComms.AeXPooledTransportInstance.<ExecuteRequestCallback>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Altiris.DotNetLib.Interop.AeXNetComms.AeXTransportManager.<ExecuteRequest>d__44.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Altiris.DotNetLib.Interop.AeXNetComms.AeXAsyncRequest.<ExecuteAsync>d__55.MoveNext()
An existing connection was forcibly closed by the remote host
[System.Runtime.InteropServices.COMException @ Altiris.AeXNetwork.Transport.1]
at Interop.AeXNetComms.AeXNetworkTransportClass.IAeXNetworkTransport5_Post(String url, String data, Int32 decompress)
at Altiris.DotNetLib.Interop.AeXNetComms.Web.AeXWebRequest.OperationCallback(IAeXNetworkTransport5 transport)
COM Exception errcode: 0x80072746
Exception logged from:
at Altiris.DotNetLib.Logging.AtrsLog.ExceptionMessage(String message, Exception exception)
at Altiris.ClientTask.Server.Logging.NSAgentLog.ReportMessage(Severity severity, String moduleName, String source, Exception exception, String message, Object[] arguments)
at Altiris.ClientTask.Server.Communication.NotificationServerWebConnection.PostToNotificationServerWithRetry(String url, Guid cnnProfileId, String data, Int32 nMaxAttempts, TimeSpan timeout)
at Altiris.ClientTask.Server.Communication.NotificationServerWebConnection.PostToNotificationServer(String url, Guid cnnProfileId, String postData, String& respData, Boolean& dataEncryped, Int32 nMaxAttempts, TimeSpan timeout)
at Altiris.ClientTask.Server.Communication.NotificationServerWebConnection.ExecuteMethodOnNs(String methodName, String xmlParameters)
at Altiris.ClientTask.Server.RemoteClientTaskManager.UpdateEndpointDatabaseRecords(List`1 epGuids, EndpointRecordStatus newStatus)
at Altiris.ClientTask.Server.RemoteClientTaskManager.UpdateDatabaseAndStatus(Thread me, AtrsCodeProfiler cp, ProcessConnectivityData data)
at Altiris.ClientTask.Server.RemoteClientTaskManager.UpdateClientConnectivity(Thread me, ProcessConnectivityData data)
at Altiris.ClientTask.Server.RemoteClientTaskManager.ClientConnectivityThreadStart()
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.Threading.ThreadHelper.ThreadStart()
ITMS 8.6
The SSL Settings in IIS for the "Default Web Site" and "Symantec Agent" sites had been changed on the Notification Server.
Verify that the "Default Web Site" is set to "Ignore" and the "Symantec Agent" is set to "Required" as shown here: