Important Update: Archer Community Scheduled Maintenance on November 23–24 - New Community Launching Soon! Learn More..
2017-07-11 02:53 AM
I have been trying to set us a basic rest call to RSA Archer for login. I was able to extract the following URL for making the call from API guides and forums
http://RsaArcher/api/core/security/login
But when a call in made to this URL. I receive an error "java.net.UnknownHostException: Unable to resolve host "rsaarcher": No address associated with hostname"
I did verify a proper internet connection before testing it. The platform is Android.
So what should be the hostname in this case?
2017-07-11 07:02 AM
Lalit the RsaArcher in the URL is just a placeholder for the real URL. So if your domain to Archer is grc.mycompany.com and Archer is installed in the RSAArcher folder the REST URL would bel https://grc.mycompany.com/RSAArcher/api/core/security/login
Advisory Consultant
2018-10-25 05:14 PM
What if Archer is installed in the Default Web Site folder (wwwroot)? What would the URL be then? We've tried removing the RSAArcher segment ([URL]/api/core/security/login) and it isn't working.
2018-10-26 02:00 AM
If you use default, it should be:
https://[URL_or_IP_of_the_server]/RSAarcher/api/core/security/login
2018-10-26 02:54 AM
Hello Lalit,
Can you try after removing RSA Archer from the URL?
https://HostName/api/core/security/login
Request body :-
{
"InstanceName":"",
"Username":"",
"UserDomain":"",
"Password":""
}
Thanks,
Shubham
2018-10-26 08:40 AM
Maria can you explain not working, like are you getting an error response?
Advisory Consultant
2018-10-26 09:07 AM
We’re getting ‘invalid login’ errors, which implies that the methods are found, but we aren’t seeing any login attempts and the credentials we’re using are correct.
2018-10-26 09:24 AM
Maria , it happens because of invalid input parameters.
i believe below is the response. Please verify the parameters once,
{
"Links": [],
"RequestedObject": null,
"IsSuccessful": false,
"ValidationMessages": [
{
"Reason": "Validation",
"Severity": 3,
"MessageKey": "ValidationMessageTemplates:LoginNotValid",
"Description": "",
"Location": -1,
"ErroredValue": null,
"Validator": "ArcherApi.Controllers.SecurityController, ArcherApi, Culture=neutral, PublicKeyToken=null",
"XmlData": null,
"ResourcedMessage": null
}
]
}
2018-10-26 09:33 AM
Our parameters are correct. The login exists, the name and password are correct, the domain and Instance Name are correct. The account has no domain, so we’re sending an empty string (“”)….could that be the issue?
2018-10-26 09:53 AM
Maria,
If Archer is installed as the default website, your URL would be:
https://archer.mycompany.com/api/core/security/login
If Archer is installed under the default website, your URL would be:
https://archer.mycompany.com/SITE_NAME/api/core/security/loging