Unreachable Identity Providers Cause High Latency on UAA
search cancel

Unreachable Identity Providers Cause High Latency on UAA

book

Article ID: 426625

calendar_today

Updated On:

Products

VMware Tanzu Application Service VMware Tanzu Platform - Cloud Foundry VMware Tanzu Platform - Kubernetes VMware Tanzu Platform Core VMware Tanzu Platform - TAP VMware Tanzu Platform - SaaS Components

Issue/Introduction

When identity providers are not removed from UAA properly, for example -- an identity provider was created during an installation process, but not removed during uninstallation, and the remote endpoint is unreachable, UAA may retry to connect to stale identity providers during some login process. This behavior causes significant latency on UAA. 

Resolution

Unused identity providers should be removed by uninstallation or unregistration process, however if for some reasons, the removal did not succeed and the stale identity-providers remain in UAA. You can check and remove them manually with uaac CLI. 
uaac curl /identity-providers
From the list in the output, get the id of the provider in question. Then, you can run the following to just get info of that provider with the given id.
uaac curl /identity-providers/xxx-yyy-zzz
Then, you can delete it by running:
uaac curl /identity-providers/xxx-yyy-zzz -X DELETE