search cancel

Error: No connection could be made, Thread was being aborted, Request timed out

book

Article ID: 253474

calendar_today

Updated On:

Products

IT Management Suite

Issue/Introduction

This error is showing in SMP Logs

Unable to process schedule: No connection could be made because the target machine actively refused it 127.0.0.1:4010
 scheduleId: {106205b2-b2da-4bfb-83ee-25555bf7522f}, async: False
No connection could be made because the target machine actively refused it 127.0.0.1:4010
   [System.Net.Sockets.SocketException @ mscorlib]

Also:

Unable to generate policy XML for item: 'Windows System Assessment Scan' (1cfec044-fff0-40d4-a2fa-f312774116b4), resource: b76f61d2-ccf8-49df-a3ea-91f07303e9b5

Thread was being aborted.
   [System.Threading.ThreadAbortException @ Altiris.PatchManagementCore]
   at Altiris.PatchManagementCore.Licensing.LicensingHelper.CheckLicenseForComputer(Guid resourceGuid)
   at Altiris.PatchManagement.Policies.VulnerabilityScanPolicy.OnBuildClientConfigXml2(Guid workstationGuid, XmlNode requestDocumentElement, XmlTextWriter xmlBuilder)
   at Altiris.NS.StandardItems.Policies.ClientConfigPolicy.<>c__DisplayClass44_0.<GetConfigXml>b__0(XmlTextWriter xwr)
   at Altiris.Profiling.Support.XmlFormatOps.ToXml(Action`1 fu, String root, Boolean indented)
   at Altiris.NS.StandardItems.Policies.ClientConfigPolicy.GetConfigXml(Guid resourceGuid, String requestXml)
   at Altiris.NS.AgentManagement.PolicyRequest.BuildPolicyXml(LoadIdentData data, IItem item)
   at Altiris.Database.DatabaseContext`1.RetryActionRequest.Perform(Boolean throwIfRetriedOut)
   at Altiris.Database.DatabaseContext`1.PerformWithDeadlockRetryHelper(Int32 retries, Int32 retryDelay, Boolean outerTransaction, Getter`1 getContext, Action`1 action, Action`1 retry, Boolean selfTransaction, String deadlockMessage, String category)
   at Altiris.NS.AgentManagement.PolicyRequest.BuildPolicyXml(LoadIdentData data, IPolicyCacheEntryBuilder builder, ISet`1& requiredPermissions)

Exception logged from: 
   at Altiris.NS.AgentManagement.PolicyRequest.BuildPolicyXml(Altiris.NS.AgentManagement.PolicyRequest+LoadIdentData, Altiris.NS.AgentManagement.PolicyCache+IPolicyCacheEntryBuilder, Altiris.Common.Collections.Generic.ISet`1[System.Guid]&)
   at Altiris.NS.AgentManagement.PolicyRequest.BuildPolicy(Altiris.NS.AgentManagement.PolicyRequest+LoadIdentData, Altiris.NS.AgentManagement.PolicyCache+IPolicyCacheEntryBuilder)
   at Altiris.NS.AgentManagement.PolicyRequest.GetPolicyByBuilder(Altiris.NS.AgentManagement.PolicyRequest+LoadIdentData, Altiris.NS.AgentManagement.PolicyCache+IPolicyCacheEntry, Altiris.NS.AgentManagement.PolicyCache+EPolicyBuildState&)
   at Altiris.NS.AgentManagement.PolicyRequest.GetPolicy(Altiris.NS.AgentManagement.PolicyRequest+LoadIdentData, Altiris.Profiling.CodeProfiling.CodeProfiler)
   at Altiris.NS.AgentManagement.PolicyRequest.LoadIdentPolicy(Altiris.NS.AgentManagement.PolicyRequest+LoadIdentData, Altiris.Common.Collections.Generic.NullableDictionary<System.Guid,Altiris.NS.AgentManagement.PolicyRequest+PolicyPriority>, System.Collections.Generic.ICollection`1[System.Guid]&)
   at Altiris.NS.AgentManagement.PolicyRequest.LoadItemPolicy(Altiris.NS.AgentManagement.PolicyRequest+ParseRequestResult, Altiris.NS.AgentManagement.PolicyRequest+LoadIdentData, System.Guid, Altiris.Common.Collections.Generic.NullableDictionary<System.Guid,Altiris.NS.AgentManagement.PolicyRequest+PolicyPriority>, System.Collections.Generic.ICollection`1[System.Guid]&)
   at Altiris.NS.AgentManagement.PolicyRequest.LoadItemPolicies(Altiris.NS.AgentManagement.PolicyRequest+ParseRequestResult, Boolean)
   at Altiris.NS.AgentManagement.PolicyRequest.GetPolicies(String, Boolean, String&)
   at Altiris.Web.NS.Agent.GetClientPoliciesHandler.HandleRequest(System.Web.HttpContext, Altiris.Web.NS.Agent.GetClientPoliciesHandlerData, Int32)
   at Altiris.NS.WebHandlers.AltirisHttpHandlerBase<T>.ProcessRequest(System.Web.HttpContext, T, Int32)
   at Altiris.NS.WebHandlers.AltirisHttpHandlerBase<T>.ProcessRequest(System.Web.HttpContext)
   at System.Web.HttpApplication+CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStepImpl(System.Web.HttpApplication+IExecutionStep)
   at System.Web.HttpApplication.ExecuteStep(System.Web.HttpApplication+IExecutionStep, Boolean&)
   at System.Web.HttpApplication+PipelineStepManager.ResumeSteps(Exception)
   at System.Web.HttpApplication.BeginProcessRequestNotification(System.Web.HttpContext, AsyncCallback)
   at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(System.Web.Hosting.IIS7WorkerRequest, System.Web.HttpContext)
   at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr, IntPtr, IntPtr, Int32)
   at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr, IntPtr, IntPtr, Int32)

User [EPM\smpservice], Auth [EPM\smpservice], AppDomain [/LM/W3SVC/1/ROOT/Altiris/NS/Agent-1-133118455670862688]

HTTP [POST]: http://smp-02.us-west1-b.c.lims001-bsgs-ims01.internal/Altiris/NS/Agent/GetClientPolicies.aspx
 

 

Unhandled exception.

Request timed out.
   [System.Web.HttpException @ ]

Exception logged from: 
   at Altiris.Web.NS.Agent.Global.Application_Error(Object, EventArgs)
   at System.Web.HttpApplication.RaiseOnError()
   at System.Web.HttpApplication.RecordError(Exception)
   at System.Web.HttpApplication+PipelineStepManager.ResumeSteps(Exception)
   at System.Web.HttpApplication.BeginProcessRequestNotification(System.Web.HttpContext, AsyncCallback)
   at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(System.Web.Hosting.IIS7WorkerRequest, System.Web.HttpContext)
   at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr, IntPtr, IntPtr, Int32)
   at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr, IntPtr, IntPtr, Int32)

User [EPM\smpservice], AppDomain [/LM/W3SVC/1/ROOT/Altiris/NS/Agent-1-133118455670862688]

HTTP [POST]: http://smp-02.us-west1-b.c.lims001-bsgs-ims01.internal/Altiris/NS/Agent/GetClientPolicies.aspx

 

Failed to get policy: 1cfec044-fff0-40d4-a2fa-f312774116b4, it will not be returned to resource: cc36f3e6-88bd-4dcf-9085-6721fdaa7843

Server is currently busy.
   [Altiris.NS.EventRouter+ServerBusyException @ Altiris.NS]
   at Altiris.NS.AgentManagement.PolicyCache.SingletonPolicyCacheEntryBuilder.DisposableLocker..ctor(Object sync, Int32 millisecondsTimeout)
   at Altiris.NS.AgentManagement.PolicyCache.PolicyCacheEntryStub.Lock(Int32 millisecondsTimeout, Boolean throwOnTimeout)
   at Altiris.NS.AgentManagement.PolicyRequest.GetPolicyByBuilder(LoadIdentData data, IPolicyCacheEntry item, EPolicyBuildState& result)
   at Altiris.NS.AgentManagement.PolicyRequest.GetPolicy(LoadIdentData data, CodeProfiler cp)
   at Altiris.NS.AgentManagement.PolicyRequest.LoadIdentPolicy(LoadIdentData data, NullableDictionary`2 categorizedPolicies, ICollection`1& invalidPolicies)
   at Altiris.NS.AgentManagement.PolicyRequest.LoadItemPolicy(ParseRequestResult result, LoadIdentData data, Guid policyGuid, NullableDictionary`2 categorizedPolicies, ICollection`1& invalidPolicies)

COM Exception errcode: 0x8004200C

 

Environment

8.x

Cause

Services are not running

Resolution

Start the Altiris services and these issue will resolve.