search cancel

Package Servers and clients unable to download packages. Failure in GetPackageInfo.aspx

book

Article ID: 174385

calendar_today

Updated On:

Products

IT Management Suite

Issue/Introduction

Package Servers and clients are unable to download package snapshots and or files because a failure occurs when posting to /Altiris/NS/Agent/GetPackageInfo.aspx

The agent logs on the package server/client contain a series of errors similar to the following:


Description:
  Operation 'Direct: Get' failed.
Protocol: HTTP
Host: smp8-1-parent.epm.local:80
Path: /altiris/NS/Agent/GetPackageInfo.aspx
Connection Id: 8618.1508
Communication profile Id: {4629FDF7-AD11-43A5-BCAC-8DB91F4588BC}
Throttling: 0 0 0
Error type: HTTP error
Error code: HTTP status 404: The requested URL does not exist on the server or the server is down (0x8FA10194)
Error note: Empty response content received


Description:
  Download package sources failed: HTTP error occured (0x80042D21)

 

 

The SMP logs contained a corresponding error(s) similar to the following.

 


Description: Unable to get the package codebases for the specified packages from the NS, request: agent SS-Parent (d10ed572-20ec-489e-a05a-30eacbeec883~) , type=PackageServer

Invalid URI: The hostname could not be parsed.
   [System.UriFormatException @ System]
   at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
   at System.UriBuilder..ctor(String uri)
   at Altiris.NS.StandardItems.SoftwareDelivery.SWDSupport.GetPackageWebUrls(String virtualPath, UriBuilder& httpUrl, UriBuilder& httpsUrl)
   at Altiris.NS.StandardItems.SiteServer.PackageServer.PackageInfoProvider.GetNsSnapshotUrl(String& sHttpSnapshot)
   at Altiris.NS.StandardItems.SiteServer.PackageServer.PackageInfoProvider.GetNsPackageCodebases(ParsedPackageInfoDetailsRequest req)

Exception logged from:
   at Altiris.NS.StandardItems.SiteServer.PackageServer.PackageInfoProvider.GetNsPackageCodebases(Altiris.NS.StandardItems.SoftwareDelivery.PackageManager+ParsedPackageInfoDetailsRequest)
   at Altiris.NS.StandardItems.SiteServer.PackageServer.PackageInfoProvider.GetIntranetCodebasesForPs(Altiris.Resource.StandardResources.SiteSubnetServiceCacheController+CacheContext, Altiris.NS.StandardItems.SoftwareDelivery.PackageManager+ParsedPackageInfoDetailsRequest)
   at Altiris.NS.StandardItems.SiteServer.PackageServer.PackageInfoProvider.GetPackageInfoTry(Altiris.NS.StandardItems.SoftwareDelivery.PackageManager+ParsedPackageInfoDetailsRequest)
   at Altiris.NS.ContextManagement.<>c__DisplayClass31_0<T>.<PerformWithDeadlockRetry>b__0(Altiris.Database.IDatabaseContext)
   at Altiris.Database.DatabaseContext<T>.RetryAction(Int32, Boolean, Altiris.Common.Delegates.Getter<Altiris.Database.IDatabaseContext>, System.Action<Altiris.Database.IDatabaseContext>, System.Action<Altiris.Database.DeadlockRetryArgs>, Altiris.Database.DeadlockRetryArgs&, Exception&, Boolean)
   at Altiris.Database.DatabaseContext<T>.PerformWithDeadlockRetryHelper(Int32, Boolean, Altiris.Common.Delegates.Getter<Altiris.Database.IDatabaseContext>, System.Action<Altiris.Database.IDatabaseContext>, System.Action<Altiris.Database.DeadlockRetryArgs>, Boolean)
   at Altiris.Database.DatabaseContext<T>.PerformWithDeadlockRetry(Int32, Boolean, System.Nullable<System.Data.IsolationLevel>, Boolean, System.Action<Altiris.Database.IDatabaseContext>, System.Action<Altiris.Database.DeadlockRetryArgs>)
   at Altiris.NS.StandardItems.SiteServer.PackageServer.PackageInfoProvider.GetPackageInfo(Altiris.NS.StandardItems.SoftwareDelivery.PackageManager+ParsedPackageInfoDetailsRequest, Boolean&, Boolean&, Guid&)
   at Altiris.NS.StandardItems.SoftwareDelivery.PackageManager.GetPackageInfoDetails(Altiris.NS.StandardItems.SoftwareDelivery.PackageManager+ParsedPackageInfoDetailsRequest)
   at Altiris.Web.NS.Agent.GetPackageInfoHandler.HandleRequest(Altiris.NS.StandardItems.SoftwareDelivery.PackageManager, Altiris.Web.NS.Agent.GetPackageInfoHandler+GetPackageInfoData)
   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.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)
   at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr, System.Web.RequestNotificationStatus&)
   at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr, System.Web.RequestNotificationStatus&)
   at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr, IntPtr, IntPtr, Int32)
   at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr, IntPtr, IntPtr, Int32)

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

HTTP [GET]: http://smp8-1-parent.epm.local/altiris/NS/Agent/GetPackageInfo.aspx?xml=<request resource="{D10ED572-20EC-489E-A05A-30EACBEEC883}" version="1" type="packageServers" compress="1" totalTime="21" totalFailureTime="21">
<packages>
    <package guid="{61AD4350-98B2-4030-AC9E-4ACC01E5B719}"/>
</packages>
<addresses>
    <address ip="192.168.3.102"/>
</addresses>
</request>

 ip: [192.168.3.102]; x-sma-version: [8.5.3645.0];
 response: [200 OK]; x-smp-nsversion: [8.5.3643.0];

 

Cause

The Default Web Site http or https bindings in IIS contained an asterisk (*) in the "Host Name" box which is causing name resolution problems. This is not a default setting, but, for some reason it affects only the GetPackageInfo page.

Environment

SMP 8.5 RU1

Resolution

  1. Open IIS Manager
  2. Select the Default Web Site
  3. In the far right pane click on "Bindings"
  4. Depending on what method the agents communicate with the SMP server, select http and, or https.
  5. Click Edit
  6. If an asterisk is in the "Host Name" box remove it and save.