Hi All,
I have a very simple setup,
Policy server Version: 12.7; Update: 02.00; Build: 1609; CR: 00;
CA Access Gateway Agent, Version 12.7 QMR02, Update None, Label 1609
Both on running Windows 2012 R2 SP2
I have a virtual host which works when its not protected, as soon as I protect it with Basic Authentication it gives:
spswebagent.log
[7076/1668][Thu Feb 15 2018 15:43:23][ProxyValve.java][ERROR][sm-ProxyAgent-00060] Agent failed to process request with return code: '-1'.
SPS TraceLog
[02/15/2018][15:43:23][7076][1668][16d5daa7-0b270d70-1b15fa18-518f4bf7-40e2c979-b5e4][Tomcat5SerializedAgentData::doResponse][HTTP Status Code = 403]
[02/15/2018][15:43:23][7076][1668][16d5daa7-0b270d70-1b15fa18-518f4bf7-40e2c979-b5e4][Tomcat5SerializedAgentData.doError][Response message not present; Returning SmFailure]
[02/15/2018][15:43:23][7076][1668][16d5daa7-0b270d70-1b15fa18-518f4bf7-40e2c979-b5e4][ProxyValve::invoke][The agent Failed to process the request with a returncode of 5Returning internal server error to the client]
[02/15/2018][15:43:23][7076][1668][16d5daa7-0b270d70-1b15fa18-518f4bf7-40e2c979-b5e4][ErrorPageImpl::displayMessage][Custom Error Pages : Custom message is not an URL. If URL is specified then it might not be in proper format. Considering it as plain text message.]
Server.log shows:
[15/Feb/2018:15:43:23-382] [INFO] - FAILED TO PROCESS RESPONSE
=======
In addition to this I don't see any auth events happening in smaccess.log, at basic Pop-up if I will enter invalid credentials then also I will get above error. In smTrace.log I see Status *Protected* but after that nothing happens on policy server side.
So, I changed the authentication scheme to Form based authentication, after that I get login page, I enter the credentials and After AuthAccept it goes to back to Login page no Authorize Events.
Any suggestions what I could be missing here, which is not allowing me to login with form based and giving error with Basic Authentication.
I have already eliminated any network issue.