-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Latest release(1.1.12) causes a "key mismatch" error #474
Comments
I have the same problem since I need to use Rust Desk and I see the same error, used with a custom server from Docker. |
I installed rustdesk-server with docker and it is running normally |
Finding your public key may be under the root path '/'.You may have used a wrong key. |
When you start the program using init.d and since you didn't specify the working directory of the program, this key may be generated under the root path '/' instead of '/usr/local/rustdesk/'. |
Hello! I have the same problem after upgrade to version 1.1.12 (hbbr, hbbs). I try run this command:
Then I run this command:
How I upgraded app: 3 show version: output:
Now I rollback my server to previous version and can connect to my client. |
This is a severe issue. I don't get it; why don't they fix it for serval months? |
figure out, the correct public key is in /var/lib/rustdesk-server/ |
@cdb0y511 nb |
Did you set the pub key on client? Here how to.. |
First of all thank you for making such a good software, you are really great. But I think I ran into a bug. I made sure I entered the correct IP and pub contents, and the home page also said "Ready". The message "key mismatch" was displayed when I tried to connect. If this is a bug please fix it, if not please tell me what is wrong. Please let me know if there is any more information I can provide.
My cloud server system is Alpine, here are my installation steps.
1. Release port and download file
1.1 Release port
To manage rules in Alibaba Cloud security group, manually add TCP(21115, 21116, 21117, 21118, 21119), UDP(21116), and select all IPV4. Authorization results are as follows.
1.2 Downloading the file
Connect to the Server over ssh and download the RustDesk Server file. [RustDesk Server lot release address] (https://github.com/rustdesk/rustdesk-server/releases).
2. Edit OpenRC service files
2.1 Edit the 'hbbs' service file
Create or edit the '/etc/init.d/hbbs' file:
Add the following to the file and make sure the path points to '/usr/local/rustdesk/hbbs' :
2.2 Edit the hbbr service file
Create or edit the '/etc/init.d/hbbr' file:
Add the following to the file and make sure the path points to '/usr/local/rustdesk/hbbr' :
3. Grant execution permission
Give execute permissions to these two service files:
4. Start and add the service to boot
4.1 Starting the Service
Start 'hbbs' and' hbbr 'with the following command:
4.2 Adding a Service to Start on
Add services to the default run level to ensure they run automatically at startup:
After restarting with reboot, run the following command to check the status of the service:
The text was updated successfully, but these errors were encountered: