Unable to read the 'URL' HTTP variable

Document ID : KB000111499
Last Modified Date : 20/08/2018
Show Technical Document Details
Issue:
Running Web Agent, this one returns the following error:

  1. [2804/5900][Fri Aug 03 2018
     11:22:07][CSmLowLevelAgent.cpp:5233][INFO][sm-AgentFramework-00510]
     LLA: Logging initialized.


     [...]

  2. [2804/5900][Fri Aug 03 2018
     11:22:08][CSmAdminManager.cpp:261][INFO][sm-AgentFramework-00280]
     ADMIN: Administration Manager initialized.
  3. [2804/5900][Fri Aug 03 2018
     11:22:08][CSmHighLevelAgent.cpp:191][INFO][sm-AgentFramework-00380]
     HLA: Initialization complete.
  4. [2804/5900][Fri Aug 03 2018
     11:22:08][CSmHttpPlugin.cpp:580][ERROR][sm-HTTPAgent-00040] Unable
     to resolve URL. Exiting with HTTP 500 server error '10-0002'.
  5. [2804/5900][Fri Aug 03 2018
     11:22:08][CSmResourceManager.cpp:158][WARNING][sm-AgentFramework-00480]
     HLA: Missing resource data.


How can we fix this issue?
Environment:
  Web Agent R12.52 SP1 CR07 64bit on IIS 8.5 64bit on Windows 2012
Cause:
  The health checks from your load balancer monitoring tool is sending the request without the HOST header
Resolution:
Configuring the load balancer properly to set the request with HOST header will solve this issue.