Symantec Access Management

Tech Tip : CA Single Sign-On : Server Error 10-0004

  • 1.  Tech Tip : CA Single Sign-On : Server Error 10-0004

    Posted 10-04-2018 02:58 AM

    Issue:

     

    In the webagent log, we are receiving the following errors sporadically:

     

    [CSmHttpPlugin.cpp:406][ERROR][sm-HTTPAgent-00110] Unable to resolve METHOD. Exiting with HTTP 500 server error '10-0004'.

     

    [CSmResourceManager.cpp:151][WARNING][sm-AgentFramework-00480] HLA: Missing resource data.

     

    However, users do not report seeing this error.

     

    Environment:

     

    Applies to all supported environments with health checking software or testing tools for the specified releases.

     

    Cause:

     

    Siteminder web agents only accept HTTP 1.1 requests, because HTTP 1.0 and 0.9 requests do not use HOST headers.

     

    The siteminder web agent uses the value of the HOST
    header in an HTTP request to determine the Agent Name, Server Name, and Server IP Address. Without a HOST header, requests will trigger a server error 10-0004 and the web
    agent will not be able to determine these parameters.

     

    This often results in health checking tools, or other testing tools to trigger the 10-0004 error, and the web agent will reject those requests.

     

    Resolution:

     

    a. Open one of the following items:

    1 If you are using Central Configuration, open your Agent Configuration Object.
    2 If you are using Local Configuration, open your LocalConfig.conf file.

    b. Add the following parameter:

     

    DefaultHostName
    Defines a value for the HOST header. Add this parameter to your Agent Configuration Object or LocalConfig.conf file to use a testing or performance tool that sends HTTP version
    0.9 or version 1.0 requests (without HOST headers). If this parameter is not set, the Web Agent only accepts HTTP 1.1 requests.
    Default: None (blank)
    Example: webserver.example.com

     

    Set the value of the previous parameter to the host name you want. See the previous example.

     

    Additional Information:

     

    For more information on Agent Error Codes, please reference the siteminder error codes section:
    https://support.ca.com/cadocs/0/CA%20SiteMinder%2012%2052-ENU/Bookshelf_Files/HTML/idocs/index.htm?toc.htm?1863509_1.html#o361812
    Please reference the web agent configuration guide, page 328:

    https://support.ca.com/cadocs/0/CA%20SiteMinder%2012%2052-ENU/Bookshelf_Files/PDF/siteminder_wa_config_enu.pdf

     

    This has been incorporated into the documentation. Please visit
    docops.ca.com for your version for updated information

     

    KB : KB000039843