-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
SSH agent requested but SSH_AUTH_SOCK not-specified #8084
Comments
Same here |
Same here! |
same in v2.2.2 |
same in v2.2.3 |
I had the same error but when adding the application. Reinstalled everything, lost 10 hours, and then accidentally found out that I added the wrong repo :-). And in the manifest was It would be good that in error your have something meaningful like: "can't find repo-name" |
Same for me, after verification, the ssh repo url was wrong. |
I was able to solve my issue after seeing this issue: #4358 Specifically: #4358 (comment) Looks like the update to 2.2.3 changes the application controller from a I deleted the Thank you @jdmulloy ! |
Same issue here, but with a different root cause :
Long story short, I was trying to use Credential Templates for my github server (as documented here) but used the wrong API My mistake was that I was trying to declare it with a secret like this :
But the correct syntax was :
(Note the different "secret-type" annotation) |
This turned out to be my issue as well. Thanks for posting this, you saved me some time troubleshooting. |
Same here. |
A similar mistake here GIT+SSH vs HTTPs strings:
vs
|
same, I forgot I bootstrapped argocd by authenticating it to gitlab using an api token, and not the ssh key. so the fix is as simple to switch to a https url instead of git+ssh... |
This ... I added the correct repo but set the branch to "feature/fix_cicd" instead of the actual source branch "feature/fix-cicd". The repo showed up as successfully created, but application sync failed with a weird error, and the log had "SSH agent requested but SSH_AUTH_SOCK not-specified". Neither of which make any sense. The correct error would be "can't find repo/branch combination" 😡 |
Checklist:
argocd version
.Describe the bug
I am getting a SSH agent requested but SSH_AUTH_SOCK not-specified error every time I trigger a hard refresh from the ArgoCD UI. I only have one repo template credential configured, and the repo in question matches the template. The odd thing is that the refresh does work, and GitHub changes are pulled. I've deleted and recreated the template credentials but the problem persists. This seemed to have started around the time I added the new Github
ed25519
to known hosts cm. I also tried restarting the repo-server, argo-server and argo-controller. I've seen many references to this issue in the repo but none seem to be what I am experiencing. Anybody know what I could do to silence this error?To Reproduce
The issue seems environmental and would be hard to describe steps to reproduce. It did start happening after the GitHub
ed25519
issue. At first, I added the known host manually to the ArgoCD known host ConfigMap, but after an ArgoCD update, I believe it was part of the update.Expected behavior
No errors on hard refresh.
Screenshots
Version
Logs
The text was updated successfully, but these errors were encountered: