When running a Web Agent, the below errors can be seen in the Web Agent log :
[ERROR] LLA: SiteMinder Agent Api function failed -'Sm_AgentApi_IsProtectedEx' returned '-1'.
[ERROR] LLA: SiteMinder Agent Api function failed - 'Sm_AgentApi_LoginEx' returned '-2'.
[ERROR] LLA: SiteMinder Agent Api function failed - 'Sm_AgentApi_LoginEx' returned '-1'.
Policy Server and Web Agent all versions;
Sm_AgentApi_LoginEx is a function call of Web Agent.
This function has -1 or -2 error code return:
-1 means that Web Agent failed to communicate with the policy server;
-2 means connection timeout;
'Sm_AgentApi_IsProtectedEx' is also a function call of Web Agent to check whether the accessed resource is protected or not.
Error code returned:
-1 indicates that the Policy Server could not be reached;
-2 indicated Policy Server connection is timeout;
These are quite generic error messages. These indicate that: