Could not connect to one or more vCenter Server systems:https://<VCSA>:443/sdk Login failed due to invalid credentials"[YYYY-MM-DDTHH:MM:SS] [INFO ] wcp-plugins-notifier-1 c.v.v.plugin.notification.WcpServicePluginNotificationsListener Updating WCP plugin subscriptions...[YYYY-MM-DDTHH:MM:SS] [WARN ] wcp-plugins-notifier-1 com.vmware.vsphere.client.security.impl.LookupServiceVcSource Duplicate VC URLs found: [https://<VC FQDN>:443/sdk][YYYY-MM-DDTHH:MM:SS] [ERROR] wcp-plugins-notifier-1 c.v.v.plugin.notification.WcpServicePluginNotificationsListener Unable to subscribe to vc <VC FQDN> (<VC adapter ID>), nodeId: <VC Node ID> com.vmware.vapi.client.exception.HttpProtocolException: HTTP response with status code 502 (enable debug logging for details): upstream connect error or disconnect/reset before headers. reset reason: protocol error at java.base/java.lang.Thread.getStackTrace(Unknown Source)
VC FQDN> via ssh reported in the above log and execute the below command:/usr/lib/vmware-vmafd/bin/vmafd-cli get-ldu --server-name localhost
vCenter 9.x
This issue occurs when a stale configuration entry remains from a decommissioned vCenter Server that was subsequently redeployed using the identical FQDN (Fully Qualified Domain Name) within the same vCenter Group
In order to cleanup the stale entry the vCenter Group needs to be recreated
Infrastructure Operations -> Configurations -> vCenter LinkingGroup NamevCenter -> Click DELETECREATE GROUP and add the vCenter Instances