Argo CLI Won't Connect

Issue – CLI Fails to Connect

When using the ArgoCD CLI with the Platform9's ArgoCD-as-a-Service, the CLI may fail to connect and display one of the following error codes.

Bash
Copy
Bash
Copy
Bash
Copy

These issues are likely caused by missing CLI flags.

Solution

To connect the ArgoCLI to Platform9 ArgoCD, the CLI should be configured using two specific flags.

Bash
Copy

The grpc-web-root-path flag requires the path to the ArgoCD API endpoint. For the Platform9 ArgoCD, that is argocd

Bash
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard