Open marcio-pessoa opened 2 years ago
on clicking disconnect it removes connection, can u please share more details?
Hi @rishabh625,
Yes, normally it removes the connection, but it fails to remove only connections created with incorrect SSH key.
I recorded a video with the failure:
Looks like browser compatibility issues, can you please share browser used and it's version
I'm using Google Chrome Version 99.0.4844.51 (Official Build) (64-bit). I just tested it on Firefox 98.0.1 (64-bit) and got the same issue.
I also tested on another computer (Windows) with Internet Explorer and Microsoft Edge. I found the same problem.
I have the same issue, for me it is an incorrectly formatted repo URL that causes the behavior. The server logs show
level=info msg="finished unary call with code NotFound" error="rpc error: code = NotFound desc = repo 'ssh://git@gitlab.dreamworx.nl:argo/apps.git' not found"
A correctly formatted repo URL (git@gitlab.dreamworx.nl:argo/apps.git
) can be deleted normally.
I found a workaround on discussions:
Hello, sorry for the necroposting, but I am using the ArgoCD operator for OpenShift in OKD and I am having a similar problem. When I click "Disconnect" on a repository I get this error:
Unable to disconnect repository: repo 'git clone git@[ADDRESS].git' not found
I had wrongfully left "git clone" in the repository URL.
Update: I was able to solve it, see https://github.com/argoproj-labs/argocd-operator/issues/1497#issuecomment-2270775761, but according to them it is an issue on your side.
Checklist:
argocd version
.Describe the bug
Using the web user interface, I am unable to disconnect a repository with incorrect SSH private key data previously configured.
To Reproduce
Creating a repository connection:
Disconnecting:
Nothing happens, just an error on browser console.
Expected behavior
The repository connection must be removed from the "Repositories" list.
Version
Logs
When I click on "Disconnect" and confirm I got the following errors on Google Chrome console: