DevTest Portal upon login get this error: <Error id="401" message="Authorization failed"> </Error>
search cancel

DevTest Portal upon login get this error: <Error id="401" message="Authorization failed"> </Error>

book

Article ID: 188713

calendar_today

Updated On:

Products

CA Cloud Test Mobile CA Application Test Service Virtualization

Issue/Introduction

After logging into the Dev Test 10.4 portal we are seeing the below error message and no Projects were loaded in project drop down menu as well.

Error while retrieving list of Projects. (500 No JSON Formated Retrofit Error <?xml version="1.0" encoding="UTF-8"?> <Error id="401" message="Authorization failed"> </Error> )

 

Environment

All supported DevTest releases.

Cause

looking at the Registry logs,  it looks like IAM server is down.

ERROR com.ca.ad.sv.iam.IAMClient     - IAM server returned 401 while obtaining access token
2020-04-11 22:18:18,085Z (17:18) [qtp784105082-9979] ERROR com.itko.lisa.test.LisaSecurityManager - Authentication Error
com.ca.dts.security.authentication.internal.IAMAuthenticationProvider$2: Bad login credentials!
 at com.ca.dts.security.authentication.internal.IAMAuthenticationProvider.authenticateAndAuthorize(IAMAuthenticationProvider.java:134)
 at com.ca.dts.security.authentication.internal.IAMAuthenticationProvider.usernamePasswordAuthentication(IAMAuthenticationProvider.java:99)
 at com.ca.dts.security.authentication.internal.IAMAuthenticationProvider.authenticate(IAMAuthenticationProvider.java:58)
 at com.ca.dts.security.authentication.IAMDelegatingAuthenticationProvider.doAuthentication(IAMDelegatingAuthenticationProvider.java:72)
 at com.ca.dts.security.authentication.AbstractDevTestAuthenticationProvider.authenticate(AbstractDevTestAut

Resolution

It looks like the IAM server was down. Registry Service was not able to authenticate the users in IAM.