error adding app: failed to clone application repo: failed cloning user repo: ssh://git@github.com/user/podinfo-deploy.git: ssh: handshake failed: knownhosts: key mismatch #1132
Labels
bug
Something isn't working
Error adding app: failed to clone application repo: failed cloning user repo: ssh://git@github.com/user/podinfo-deploy.git: ssh: handshake failed: knownhosts: key mismatch
I installed weave-gitops on an up to date K8s cluster.
After following the documentation with the example from the Getting started section https://docs.gitops.weave.works/docs/getting-started
After validating the authentication on github
I get the following error message : error adding app: failed to clone application repo: failed cloning user repo: ssh://git@github.com/wolfgit53/podinfo-deploy.git: ssh: handshake failed: knownhosts: key mismatch.
know that gitops is based on flux and after some research I found this issue on the github of flux2 : fluxcd/flux2#2097. The is the same problem, and the solution is to update the known_hosts in the flux-system secret with the ecdsa-sha2-nistp25 value:
I found the right secret in the wego namespace but I have the good value :
So is it a bug from the weaveworks gitops tool?
What is the severity of the bug
severity/Minor
Environment
Affects versions
v0.4.1
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The possibility to add new applications without ssh errors
Config and Logs
If applicable, add logs to help explain your problem. please compress the output before attaching
gitops
cli call output (and parameters)kubectl cluster-info dump
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Sorry for my English 😬
The text was updated successfully, but these errors were encountered: