A TKC control plane VM was DRS migrated, then users cannot connect to it, the error message is:
error creating client and cache for remote cluster:
error creating dynamic rest mapper for remote cluster "production/tkgs-###-##":
Get "https://##.##.##.##:6443/api?timeout-10s":
net/http: request canceled while waiting for connection
(Client.Timeout exceeded while awaiting headers)
vCenter 7.0.x
Check this TKC control plane VM, there are 6 IPV6 addresses on it, but there is no IPv4 address.
When user tries to login , they use IPv4 address, therefore the connection failed.
For this scenario, reboot the TKC control plane VM, IPv4 address is back, this is a workaround.
If reboot doesn't help, then the next action should be:
Access this TKC control plane VM in VM console, login as root account,
then check why IPv4 address is missing.