You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to add a private Git repository on quis.cx using the UI (Settings -> Repositories, Connect repo using SSH).
First, I tried to add the repository "[email protected]:argocd". This only gave the error "repository not found", with no outgoing connections to quis.cx. Even with the reposerver logging bumped up to debug (and a recreate of the reposerver Pod), there was no further information in the reposerver log other than:
time="2021-08-25T08:37:52Z" level=error msg="finished unary call with code Unknown" error="repository not found" grpc.code=Unknown grpc.method=GenerateManifest grpc.request.deadline="2021-08-25T08:38:52Z" grpc.service=repository.RepoServerService grpc.start_time="2021-08-25T08:37:52Z" grpc.time_ms=66.486 span.kind=server system=grpc
(Should I file a separate issue for this?)
After this, I tried to add the repository ssh://[email protected]/argocd. This way, I saw SSH connections being established but failing (no additional information in the reposerver logs):
time="2021-08-25T09:00:23Z" level=error msg="finished unary call with code Unknown" error="ssh: handshake failed: ssh: no authorities for hostname: quis.cx:22" grpc.code=Unknown grpc.method=TestRepository grpc.request.deadline="2021-08-25T09:01:23Z" grpc.service=repository.RepoServerService grpc.start_time="2021-08-25T09:00:23Z" grpc.time_ms=101.509 span.kind=server system=grpc
I have added the host keys from ssh-keyscan quis.cx to Settings -> Certificates and they show up in the argocd-ssh-known-hosts-cm. As you can see, I have added various formats to no avail:
Checklist:
argocd version
.Describe the bug
I am trying to add a private Git repository on quis.cx using the UI (Settings -> Repositories, Connect repo using SSH).
First, I tried to add the repository "[email protected]:argocd". This only gave the error "repository not found", with no outgoing connections to quis.cx. Even with the reposerver logging bumped up to debug (and a recreate of the reposerver Pod), there was no further information in the reposerver log other than:
(Should I file a separate issue for this?)
After this, I tried to add the repository
ssh://[email protected]/argocd
. This way, I saw SSH connections being established but failing (no additional information in the reposerver logs):I have added the host keys from
ssh-keyscan quis.cx
to Settings -> Certificates and they show up in the argocd-ssh-known-hosts-cm. As you can see, I have added various formats to no avail:However, when I tick the "Skip server verification" box, the connection succeeds.
To Reproduce
ssh://[email protected]/argocd
repository and observe "no authorities for hostname: quis.cx:22" error.Expected behavior
A repository to be added even with "skip server verification" disabled.
Screenshots
Version
The text was updated successfully, but these errors were encountered: