Open Hades-ming opened 1 month ago
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.
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! Sorry for my bad English.
I have the same problem after upgrade to version 1.1.12 (hbbr, hbbs).
I try run this command:
./rustdesk-utils doctor rustdesk-server
and output:
Checking server: rustdesk-server
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Custom { kind: Other, error: "failed to lookup address information: Try again" }', src/utils.rs:132:70
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Then I run this command:
./rustdesk-utils validatekeypair [my_key].pub [my_key]
and output:
Invalid secret key
How I upgraded app:
1 download hbbs & hbbr 1.1.12
2
sudo dpkg -i rustdesk-server-hbbr_1.1.12_amd64.deb
sudo dpkg -i rustdesk-server-hbbs_1.1.12_amd64.deb
3 show version:
hbbs --version
hbbr --version
output:
hbbr --version
hbbr 1.1.12
hbbs --version
hbbs 1.1.12
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? Related to https://github.com/rustdesk/rustdesk-server/issues/445
figure out, the correct public key is in /var/lib/rustdesk-server/
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: