Repo connection works from a laptop, but in the cluster: `dial tcp 140.82.112.4:443: i/o timeout`.
IntermediateTroubleshootingRepos, Clusters, Projects & Permissions
Answer
Likely causes → Egress is blocked: a NetworkPolicy on the argocd namespace, a firewall that only allows traffic via a corporate proxy, or a private cluster without NAT.
Diagnose →
kubectl -n argocd exec deploy/argocd-repo-server -- git ls-remote https://github.com/org/config.git
kubectl -n argocd get networkpolicy
Fix → Allow egress on 443/22 to the Git host, or set proxy: on the repository secret (or HTTPS_PROXY/NO_PROXY env on repo-server, with NO_PROXY including the cluster service CIDR and .svc).
Prevent → Include Argo CD egress requirements in the platform network design doc.
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