error wcp [...] Error fulfilling request ...
GET http://localhost:1080/rest/vcenter/identity/vc-identity: 503 Service Unavailable
Error validating if cluster is running on cloud: GET http://localhost:1080/rest/vcenter/identity/vc-identity: 503 Service Unavailable
kubectl vsphere login receive the error:Error while getting list of workloads: bad gatewayPlease contact your vSphere server administrator for assistance.
wcp-authproxy logs on Supervisor:
INFO:vclib.sso:[...] Got bearer token for [email protected].INFO:vclib.sso:[...] Got hok token for /etc/vmware/wcp/tls/wcpusr.cert.INFO:auth.filters:[...] User authenticated using basic token.
DEBUG:vmware.vapi.bindings.stub:opId: wcp-authproxy-... invoke: interface_id: com.vmware.vcenter.namespaces.user.instances, operation_name: list
ERROR:vclib.wcp:[...] WCP request failed.com.vmware.vapi.std.errors_client.InternalServerError: {... error_type : INTERNAL_SERVER_ERROR}ERROR:wcp.resources:[...] VAPI request failed.INFO:server:[...] "GET /wcp/workloads HTTP/1.0" 502 46 "-" "kube-plugin-vsphere ..."
ERROR | SessionFacade | ... com.vmware.vcenter.identity.vc_identity.getcom.vmware.vapi.client.exception.TransportProtocolException: HTTP response with status code 503: no healthy upstream
The "vmware-trustmanagement" service on the vCenter Server backs the identity and trust endpoints used by vAPI and WCP, including the /rest/vcenter/identity/vc-identity API. When it is not running, calls to vc-identity through the local proxy (localhost:1080) return HTTP 503 Service Unavailable with “no healthy upstream.”
bad gateway” error during guest cluster login./rest/vcenter/identity/vc-identity returned HTTP 503, causing WCP reconciliation to fail and leaving the Supervisor in Configuring state.service-control --status --allvpxd, vapi-endpoint, sts, etc.) are running.service-control --start vmware-trustmanagementservice-control --start --all" logs for the absence of "503 Service Unavailable" errors against "vc-identity".no healthy upstream” or “bad gateway” errors for Supervisor or VKS logins often trace back to core vCenter services being stopped or unhealthy, especially vAPI and trust/identity services.service-control --status --all" when encountering widespread 503/502 errors from WCP or "kubectl vsphere".