rustdesk-server
rustdesk-server copied to clipboard
Key mismatch
Describe the bug I can not connect between two clients on my own ID Server.
Describe the environment Ubuntu 22.04 minimal Server All updates installed Docker Version of Rustdesk installed (newest Version). Firewall Ports are correct Worked a long time without errors, errors comes after an update
How to Reproduce the bug Steps to reproduce the behavior:
- I can not connect to an other Rustdesk via my ID Server
- But i get the error "Key mismatch" and can not connect
Expected behavior Connnecting, it worked long time ago
Additional context It has a long time worked well, but after an update i can not connect between clients. So i stop the container, remove the datafolder, cleanup Docker, wget rustdesk.com/oss.yml -O compose.yml. Then i uninstall on two windows 10 Clients rustdesk, remove the rest of the folder (userdata, programdata), install the newest version But every time the same error
Notes
- Please write in english only. If you provide some images in different languages, you're required to write a translation in english.
- In any case, NEVER put here the content if your
id_ed25519file
Confirmed with the same error with the docker tag: 1.1.14
I just encountered this error after I performed an upgrade of docker-ce and rebooted my server. Luckily I solved it by recreating the docker containers by docker compose down && docker compose up -d.
I wonder if it is a version update of docker-ce that caused the error.
I can confirm the issue after updating docker-ce. However, I have RustDesk running natively, installed from a DEB package. I'm unsure docker-ce has something to do with it. It turned out that there are two sets of keys, at /opt/rustdesk/ and at /var/lib/rustdesk-server/. I've copied the keys and the database from the former location to the latter and restarted rustdesk-hbbs.service. After several seconds, I could connect.
注意他会在服务器生成两个 id_ed25519.pub 文件 Note that it will generate two id_ed25519.pub files on the server.
find / -name id_ed25519.pub
安装目录的 id_ed25519.pub 是错的 ,另一个一个才是对的 The id_ed25519.pub in the installation directory is incorrect; the other one is the correct one.
I have a similar error message (but in french :) ), but only when trying to connect Linux Client on Ubuntu 22.04 (Wayland, Flatpak) to my Windows PC. The same Windows PC can flawlessly control the Ubuntu Client either by accepting the connection or entering the password. I don't know why the error happens only one way :/