argocd login #.#.#.# --insecure
FATA[0191] Failed to establish connection to #.#.#.#:443: dial tcp #.#.#.#:443: i/o timeout
server.insecure) kubectl get cm argocd-cmd-params-cm -o yaml
apiVersion: v1data:
... server.insecure: "true"
...
kind: ConfigMap
vSphere 9.x
The ArgoCD server is configured in the ConfigMap with server.insecure: "true", meaning it expects unencrypted HTTP (plaintext) traffic.
The default CLI login command attempts to establish a secure HTTPS (TLS) connection, since the server is not listening for TLS, it resets the connection during the handshake.
To successfully login to ArgoCD when the server is set to accept only http traffic, Execute the login command using the --plaintext flag to match the server's configuration:
argocd login #.#.#.# --skip-test-tls --plaintext