Getting errors about (socket) failed to finish processing tickle connection
search cancel

Getting errors about (socket) failed to finish processing tickle connection

book

Article ID: 281282

calendar_today

Updated On:

Products

IT Management Suite

Issue/Introduction

After migrating to a new SMP Server (keeping the same database but getting a new server hostname and IP Address), the following error messages were noticed:

Entry 1:

(socket) failed to finish processing tickle connection: '10.0.5.5:47289' (#29126747)
Failed to decrypt data[471] from client ('10.0.5.5:47289' (#29126747)): xxxxxxxxxxxxxxxxxxxxxxxx18157F026A7FC2BFB744282381C61501A987B471A5AB8E6DB4E5A3328E3423CD2427D60793CEF633D030447C84429BA9666DFCFE7592AD84EAED83038C1802CA17E90A16AF897ACAA295C3E402C2ED75E87615CF760BFA1D73A803FA3874645B3028961E0CFDC2B850E3B39864895E64F036D933A141C0F192AC16870948EBB5BxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxB80F6DA364D6C1210F8E78E11E15DCBC73084643464E7FC544F3ECFCC8A9FF3B2DB16A50C93DB51ACAE85A5C7AF0F90E3E254AC1F73B0CD93712AB363B7CED020324E93C015DF4EC93EFCFB7385CC451BA30E1B424B9CD220850xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
   [System.Exception @ Altiris.ClientTask.Server]
   at Altiris.ClientTask.Server.RemoteClientTaskManager.GetResourceGuidFromEncryptedClientData(Byte[] clientData, Socket clientSocket)
   at Altiris.ClientTask.Server.RemoteClientTaskManager.FinishProcessingClientConnection(Byte[] clientData, Socket clientSocket)

DecryptData failure. Error 2148073477
   [System.Runtime.InteropServices.COMException @ Altiris.TaskManagement.Common]
   at Symantec.NSAgent.AgentStorage.DecryptData(Byte[] encryptedData, UInt32 flags)
   at Altiris.TaskManagement.Common.ClientTask.Communication.NsIdentityContext.EnsureExecutedAsLocalSystemIdentity[TResult](Func`1 fn, ThrottledLogAction`2 logAction)
   at Altiris.ClientTask.Server.RemoteClientTaskManager.GetResourceGuidFromEncryptedClientData(Byte[] clientData, Socket clientSocket)

COM Exception errcode: 0x80090005

Exception logged from: 
   at Altiris.DotNetLib.Logging.AtrsLog.ExceptionMessage(String message, Exception exception)
   at Altiris.ClientTask.Server.RemoteClientTaskManager.OnSocketException(Int32 level, String message, Nullable`1 epGuid, Socket sock, Exception ex)
   at Altiris.ClientTask.Server.RemoteClientTaskManager.OnSocketException(String message, Nullable`1 epGuid, Socket sock, Exception ex)
   at Altiris.ClientTask.Server.RemoteClientTaskManager.FinishProcessingClientConnection(Byte[] clientData, Socket clientSocket)
   at Altiris.ClientTask.Server.RemoteClientTaskManager.OnReceivePendingConnectionData(Socket sock, SocketWatchEvent eventType, Boolean& bReEnableRead)
   at Altiris.DotNetLib.Sockets.SocketWatchThread.ServePendingRead(WatchLoopData data, SocketWatchEntry poll)
   at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.<ForWorker>b__1()
   at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
   at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>)
   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.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
   at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
   at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(Task task, Boolean taskWasPreviouslyQueued)
   at System.Threading.Tasks.TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued)
   at System.Threading.Tasks.Task.InternalRunSynchronously(TaskScheduler scheduler, Boolean waitForCompletion)
   at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
   at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
   at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, ParallelOptions parallelOptions, Action`2 body)
   at Altiris.DotNetLib.Sockets.SocketWatchThread.ServeLoop(WatchLoopData data)
   at Altiris.DotNetLib.Sockets.SocketWatchThread.WatchThreadProc()
   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()


-----------------------------------------------------------------------------------------------------
Date: 3/26/2024 12:32:16 PM, Tick Count: 97214281 (1.03:00:14.2810000), Size: 5.21 KB
Process: AtrsHost (8028), Thread ID: 126, Module: Altiris.ClientTask.Server.dll
Priority: 1, Source: RemoteClientTaskManager

Entry 2:

(socket) failed to process incoming tickle connection: #29126747
Failed to decrypt data[471] from client ('10.0.5.5:47289' (#29126747)): xxxxxxxxxxxxxxxxxxxxxxxx18157F026A7FC2BFB744282381C61501A987B471A5AB8E6DB4E5A3328E3423CD2427D60793CEF633D030447C84429BA9666DFCFE7592AD84EAED83038C1802CA17E90A16AF897ACAA295C3E402C2ED75E87615CF760BFA1D73A803FA3874645B3028961E0CFDC2B850E3B39864895E64F036D933A141C0F192AC16870948EBB5BxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxB80F6DA364D6C1210F8E78E11E15DCBC73084643464E7FC544F3ECFCC8A9FF3B2DB16A50C93DB51ACAE85A5C7AF0F90E3E254AC1F73B0CD93712AB363B7CED020324E93C015DF4EC93EFCFB7385CC451BA30E1B424B9CD220850xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
   [System.Exception @ Altiris.ClientTask.Server]
   at Altiris.ClientTask.Server.RemoteClientTaskManager.GetResourceGuidFromEncryptedClientData(Byte[] clientData, Socket clientSocket)
   at Altiris.ClientTask.Server.RemoteClientTaskManager.FinishProcessingClientConnection(Byte[] clientData, Socket clientSocket)
   at Altiris.ClientTask.Server.RemoteClientTaskManager.OnReceivePendingConnectionData(Socket sock, SocketWatchEvent eventType, Boolean& bReEnableRead)

DecryptData failure. Error 2148073477
   [System.Runtime.InteropServices.COMException @ Altiris.TaskManagement.Common]
   at Symantec.NSAgent.AgentStorage.DecryptData(Byte[] encryptedData, UInt32 flags)
   at Altiris.TaskManagement.Common.ClientTask.Communication.NsIdentityContext.EnsureExecutedAsLocalSystemIdentity[TResult](Func`1 fn, ThrottledLogAction`2 logAction)
   at Altiris.ClientTask.Server.RemoteClientTaskManager.GetResourceGuidFromEncryptedClientData(Byte[] clientData, Socket clientSocket)

COM Exception errcode: 0x80090005

Exception logged from: 
   at Altiris.DotNetLib.Logging.AtrsLog.ExceptionMessage(String message, Exception exception)
   at Altiris.ClientTask.Server.RemoteClientTaskManager.OnSocketException(Int32 level, String message, Nullable`1 epGuid, Socket sock, Exception ex)
   at Altiris.ClientTask.Server.RemoteClientTaskManager.OnSocketException(String message, Nullable`1 epGuid, Socket sock, Exception ex)
   at Altiris.ClientTask.Server.RemoteClientTaskManager.OnReceivePendingConnectionData(Socket sock, SocketWatchEvent eventType, Boolean& bReEnableRead)
   at Altiris.DotNetLib.Sockets.SocketWatchThread.ServePendingRead(WatchLoopData data, SocketWatchEntry poll)
   at System.Threading.Tasks.Parallel.<>c__DisplayClass17_0`1.<ForWorker>b__1()
   at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
   at System.Threading.Tasks.Task.<>c__DisplayClass176_0.<ExecuteSelfReplicating>b__0(Object <p0>)
   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.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
   at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
   at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline(Task task, Boolean taskWasPreviouslyQueued)
   at System.Threading.Tasks.TaskScheduler.TryRunInline(Task task, Boolean taskWasPreviouslyQueued)
   at System.Threading.Tasks.Task.InternalRunSynchronously(TaskScheduler scheduler, Boolean waitForCompletion)
   at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
   at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
   at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, ParallelOptions parallelOptions, Action`2 body)
   at Altiris.DotNetLib.Sockets.SocketWatchThread.ServeLoop(WatchLoopData data)
   at Altiris.DotNetLib.Sockets.SocketWatchThread.WatchThreadProc()
   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()


-----------------------------------------------------------------------------------------------------
Date: 3/26/2024 12:32:16 PM, Tick Count: 97214281 (1.03:00:14.2810000), Size: 5.21 KB
Process: AtrsHost (8028), Thread ID: 126, Module: Altiris.ClientTask.Server.dll
Priority: 1, Source: RemoteClientTaskManager

Environment

ITMS 8.7.x

Cause

This issue was caused by having a duplicate communication profile for the SMP Server under the "Site Server Communication Servers" page. Due to this, the SMP Server was confused on what certificate to use to decrypt the data received from the client machines.

Resolution

Remove the duplicate communication profile for your SMP Server. Please refer to the following KB for the steps to follow:

SMP Server has a duplicated communication profile after migrating to a new server