dag-andersen / argocd-diff-preview

Tool for rendering manifest changes on pull requests.
Apache License 2.0
156 stars 10 forks source link

Fix "connection refused" errors when logging in with the argocd cli #39

Closed dag-andersen closed 2 months ago

dag-andersen commented 2 months ago

Fix errors like this one:

thread 'main' panicked at src/argocd.rs:166:6:
failed to login to argocd: Output { status: ExitStatus(unix_wait_status(5120)), stdout: "", stderr: "time=\"2024-08-23T09:00:53Z\" level=fatal msg=\"dial tcp [::1]:8080: connect: connection refused\"\n" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Solution found here github comment