com.ca.ad.sv.iam.error.IAMException: org.keycloak.authorization.client.util.HttpResponseException: Unexpected response from server: 500 / Internal Server Error
book
Article ID: 192588
calendar_today
Updated On:
Products
CA Cloud Test MobileCA Application Test
Issue/Introduction
Getting these errors all throughout the registry.log:
2020-06-02 04:49:16,179Z (00:49) [Event Sink Thread Pool Thread 2] ERROR com.ca.ad.sv.iam.IAMClient - Error while logging out org.keycloak.authorization.client.util.HttpResponseException: Unexpected response from server: 500 / Internal Server Error at org.keycloak.authorization.client.util.HttpMethod.execute(HttpMethod.java:95) at org.keycloak.authorization.client.util.HttpMethodResponse$2.execute(HttpMethodResponse.java:48) at com.ca.ad.sv.iam.IAMClient.logout(IAMClient.java:293) at com.ca.ad.sv.iam.admin.IAMAdminProcessor.execute(IAMAdminProcessor.java:47) at com.ca.devtest.acl.internal.IAMRoleSyncUtil.roleSyncFromIAM(IAMRoleSyncUtil.java:23) at com.ca.devtest.acl.internal.IAMUtil.roleSyncFromIAM(IAMUtil.java:40) at com.itko.lisa.coordinator.TestRegistryImpl.lambda$initialize$0(TestRegistryImpl.java:321) at com.itko.util.Pulse.execPulse(Pulse.java:521) at com.itko.util.Pulse.eventReceipt(Pulse.java:491) at com.itko.util.EventThread.execEvents(ThreadedEventSink.java:79) at com.itko.util.EventThread.run(ThreadedEventSink.java:59) 2020-06-02 04:49:16,179Z (00:49) [Event Sink Thread Pool Thread 2] ERROR com.ca.ad.sv.iam.admin.IAMAdminProcessor - Exception executing execute() com.ca.ad.sv.iam.error.IAMException: org.keycloak.authorization.client.util.HttpResponseException: Unexpected response from server: 500 / Internal Server Error at com.ca.ad.sv.iam.IAMClient.logout(IAMClient.java:296) at com.ca.ad.sv.iam.admin.IAMAdminProcessor.execute(IAMAdminProcessor.java:47) at com.ca.devtest.acl.internal.IAMRoleSyncUtil.roleSyncFromIAM(IAMRoleSyncUtil.java:23) at com.ca.devtest.acl.internal.IAMUtil.roleSyncFromIAM(IAMUtil.java:40) at com.itko.lisa.coordinator.TestRegistryImpl.lambda$initialize$0(TestRegistryImpl.java:321) at com.itko.util.Pulse.execPulse(Pulse.java:521) at com.itko.util.Pulse.eventReceipt(Pulse.java:491) at com.itko.util.EventThread.execEvents(ThreadedEventSink.java:79) at com.itko.util.EventThread.run(ThreadedEventSink.java:59) Caused by: org.keycloak.authorization.client.util.HttpResponseException: Unexpected response from server: 500 / Internal Server Error at org.keycloak.authorization.client.util.HttpMethod.execute(HttpMethod.java:95) at org.keycloak.authorization.client.util.HttpMethodResponse$2.execute(HttpMethodResponse.java:48) at com.ca.ad.sv.iam.IAMClient.logout(IAMClient.java:293) ... 8 more
Environment
All supported DevTest releases.
Cause
Not on a supported version of PostgreSQL.
Resolution
Re-installed DevTest and configured to use a supported version of PostgreSQL.
Was using version 11.7, and we only support versions 11.1, 10.6 and 9.6.11