Seems like a constant issue that everytime a new update is released it breaks something with traefik or docker, or adding a server. Anyway, I just added a new server on and tried to install traefik. Following error as follows:
This is the error. This is because, at least once, you reinstalled your server, so the server has a new SSH public key, and your computer is warning you that the key changed (because it’s different from what it saved initially).
The instructions to solve this depend on the Operative System you use. I don’t have time to expand this further, but on MacOS or Linux you can fix it by running the command:
ssh-keygen -R IP_OF_YOUR_SERVER
That command will erase the saved SSH public key, so it’ll look like the 1st time it’s connecting.
Probably you used more than 1 computer to manage this target/server? So the other computer is able to connect to the server, but your current one throws that error
Thank you. Weirdly what I just did was right click the server, and clicked on “_Open SSH terminal” … it signed in, I closed that and redeployed and all seems fine now. Really strange…
Thanks for the update. Probably Wappler ignores host key validation in this particular function (which is not a good practice) and that indirectly solved the problem, the new public key was saved…
So, you won’t experience this error further on this particular computer
I was just going to suggest to do this. We automatically add hosts to your known list when opening an ssh terminal in Wappler. So from then on it should be all fine.