Skip to content

Bug | ArgoCD Fails Login on Existing cluster #236

@otavioss

Description

@otavioss

Describe the bug

When running the tool with --create-cluster=false it fails to log in to the cluster ArgoCD server

Expected behaviour

Login successfull

Standard output (with --debug flag)

...
🦑 Logging in to Argo CD through CLI...
Argo CD login attempt 1/10 failed. error="argocd command failed: {\"level\":\"fatal\",\"msg\":\"Failed to establish connection to 127.0.0.1:36969: EOF\",\"time\":\"2025-10-10T20:04:57Z\"}\n: exit status 1"
Argo CD login attempt 2/10 failed. error="argocd command failed: {\"level\":\"fatal\",\"msg\":\"Failed to establish connection to 127.0.0.1:45315: EOF\",\"time\":\"2025-10-10T20:05:01Z\"}\n: exit status 1"
Argo CD login attempt 3/10 failed. error="argocd command failed: {\"level\":\"fatal\",\"msg\":\"Failed to establish connection to 127.0.0.1:36431: EOF\",\"time\":\"2025-10-10T20:05:06Z\"}\n: exit status 1"
Argo CD login attempt 4/10 failed. error="argocd command failed: {\"level\":\"fatal\",\"msg\":\"Failed to establish connection to 127.0.0.1:44035: EOF\",\"time\":\"2025-10-10T20:05:10Z\"}\n: exit status 1"
Argo CD login attempt 5/10 failed. error="argocd command failed: {\"level\":\"fatal\",\"msg\":\"Failed to establish connection to 127.0.0.1:39055: EOF\",\"time\":\"2025-10-10T20:05:14Z\"}\n: exit status 1"
Argo CD login attempt 6/10 failed. error="argocd command failed: {\"level\":\"fatal\",\"msg\":\"Failed to establish connection to 127.0.0.1:46065: EOF\",\"time\":\"2025-10-10T20:05:18Z\"}\n: exit status 1"
Argo CD login attempt 7/10 failed. error="argocd command failed: {\"level\":\"fatal\",\"msg\":\"Failed to establish connection to 127.0.0.1:33623: EOF\",\"time\":\"2025-10-10T20:05:22Z\"}\n: exit status 1"
Argo CD login attempt 8/10 failed. error="argocd command failed: {\"level\":\"fatal\",\"msg\":\"Failed to establish connection to 127.0.0.1:39349: EOF\",\"time\":\"2025-10-10T20:05:27Z\"}\n: exit status 1"
Argo CD login attempt 9/10 failed. error="argocd command failed: {\"level\":\"fatal\",\"msg\":\"Failed to establish connection to 127.0.0.1:36003: EOF\",\"time\":\"2025-10-10T20:05:31Z\"}\n: exit status 1"
❌ Failed to login to Argo CD after 10 attempts error="argocd command failed: {\"level\":\"fatal\",\"msg\":\"Failed to establish connection to 127.0.0.1:37737: EOF\",\"time\":\"2025-10-10T20:05:35Z\"}\n: exit status 1"
❌ Failed to login to Argo CD
❌ failed to login: failed to login after 10 attempts

Parameters

✨ Running v0.1.18 (2025-10-01T17:40:49Z) with:
✨ - reusing existing cluster
✨ - base-branch: main
✨ - target-branch: refs/pull/50665/merge
✨ - secrets-folder: ./secrets
✨ - output-folder: ./output
✨ - argocd-namespace: argo-cd
✨ - repo: VibrentHealth/cluster-state
✨ - timeout: 180 seconds
✨ - debug: true - This is slower because it will do more checks
✨ - files-changed: auto-detected
  ...

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions