A cluster shows `ConnectionStatus: Failed` with `the server has asked for the client to provide credentials`.
IntermediateTroubleshootingRepos, Clusters, Projects & Permissions
Answer
Likely causes → The bearer token in the cluster secret expired or the ServiceAccount token secret was deleted; on EKS, the IAM role used by Argo CD lost its access entry or aws-auth mapping.
Diagnose →
argocd cluster get https://<api-endpoint>
kubectl -n argocd get secret -l argocd.argoproj.io/secret-type=cluster
For EKS: aws eks list-access-entries --cluster-name prod.
Fix → Re-run argocd cluster add <context> --upsert to mint a new token, or restore the EKS access entry for the Argo CD role (IRSA/Pod Identity with awsAuthConfig in the cluster secret).
Prevent → Use IAM-based auth (execProviderConfig or awsAuthConfig) instead of long-lived tokens; alert on argocd_cluster_connection_status.
More on Repos, Clusters, Projects & Permissions
Adding a private GitHub repo over HTTPS fails with `rpc error: code = Unknown desc = authentication required`.BeginnerAn SSH repo fails with `ssh: handshake failed: knownhosts: key is unknown`.BeginnerSSH repo: `ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain`.BeginnerA self-hosted GitLab repo fails with `x509: certificate signed by unknown authority`.IntermediateA credential template exists for `https://github.com/org`, yet new repos under the org still fail with `authentication required`.IntermediateSync fails with `application repo https://github.com/org/payments-config.git is not permitted in project 'team-a'`.Beginner