Interview Prep/GitOps & Argo CD/Repos, Clusters, Projects & Permissions

`argocd app list` from a laptop fails with `transport: received the unexpected content-type "text/plain; charset=utf-8"`.

BeginnerTroubleshootingRepos, Clusters, Projects & Permissions
Answer

Likely causes → The CLI speaks gRPC, but an ingress or load balancer in front of argocd-server only proxies HTTP/1.1 and returns an HTML or text error page.

Diagnose → Retry with --grpc-web; if that works, the proxy is the problem.

Fix → Use argocd login argocd.example.com --grpc-web, or configure the ingress for gRPC (separate gRPC host with backend-protocol: GRPC on ingress-nginx, or an ALB with a gRPC target group).

Prevent → Document the login command with --grpc-web for users behind corporate proxies.

All GitOps & Argo CD questions Roadmap: Argo CD (GitOps)

More on Repos, Clusters, Projects & Permissions