Problem with selfhosted generator and rustdesk-api-server #62

Closed
opened 2025-04-15 20:39:46 +08:00 by Draakoor · 7 comments
Draakoor commented 2025-04-15 20:39:46 +08:00 (Migrated from github.com)
Image Image Image

Hi there I got problems to get the client I guess uploaded to the rustdesk-api-server.
I am using the rustdesk-api-server dev branch.
I attached my apache reverse proxy config, because I also have problems with the webcontrol.
Also when I directly use my IP instead of dns It doesnt work, did I missed something in the installation procress?

<img width="627" alt="Image" src="https://github.com/user-attachments/assets/ca5efb86-2f5d-413c-bacf-b610219c1ea1" /> <img width="662" alt="Image" src="https://github.com/user-attachments/assets/a56e8d99-b8ed-4905-9512-b67442d67cdf" /> <img width="981" alt="Image" src="https://github.com/user-attachments/assets/4125621e-c0c5-4ce7-9967-b255525529c1" /> Hi there I got problems to get the client I guess uploaded to the rustdesk-api-server. I am using the rustdesk-api-server dev branch. I attached my apache reverse proxy config, because I also have problems with the webcontrol. Also when I directly use my IP instead of dns It doesnt work, did I missed something in the installation procress?
bryangerlach commented 2025-04-16 01:08:55 +08:00 (Migrated from github.com)

In the image you sent, you show the file in the "sites-available" directory. Do you have this same file in the "sites-enabled" directory? Make sure that it is in the /etc/apache2/sites-enabled" directory and restart apache.

In the image you sent, you show the file in the "sites-available" directory. Do you have this same file in the "sites-enabled" directory? Make sure that it is in the /etc/apache2/sites-enabled" directory and restart apache.
Draakoor commented 2025-04-16 01:50:12 +08:00 (Migrated from github.com)

In the image you sent, you show the file in the "sites-available" directory. Do you have this same file in the "sites-enabled" directory? Make sure that it is in the /etc/apache2/sites-enabled" directory and restart apache.

the screenshot is just for showing my config, it is already enabled (before I opened the issue).

In my case I cant generate a rustdesk client nor use the web control, it doesnt matter if I use the ip or reverse proxy.

> In the image you sent, you show the file in the "sites-available" directory. Do you have this same file in the "sites-enabled" directory? Make sure that it is in the /etc/apache2/sites-enabled" directory and restart apache. the screenshot is just for showing my config, it is already enabled (before I opened the issue). In my case I cant generate a rustdesk client nor use the web control, it doesnt matter if I use the ip or reverse proxy.
bryangerlach commented 2025-04-16 02:25:49 +08:00 (Migrated from github.com)

Unfortunately the web control does not work when using ssl. Once I have some free time, I will look into adding the new version of the web control that does work with ssl. For now it will only work if you access it through http instead of https.

I have no idea about why your client generator is not working. The error seems to indicate an issue with the ssl certificate.

Unfortunately the web control does not work when using ssl. Once I have some free time, I will look into adding the new version of the web control that does work with ssl. For now it will only work if you access it through http instead of https. I have no idea about why your client generator is not working. The error seems to indicate an issue with the ssl certificate.
Draakoor commented 2025-04-16 03:01:37 +08:00 (Migrated from github.com)
Image

http is not working

<img width="828" alt="Image" src="https://github.com/user-attachments/assets/2b1ed7c1-99bf-4fb2-a70c-88875478702e" /> http is not working
bryangerlach commented 2025-04-16 03:09:48 +08:00 (Migrated from github.com)

It shows the url as http://116.202.156.245//api/updategh so it has two slashes after the ip. Try changing your GENURL to not have a trailing slash and see if that works. I have no idea what the error "unable to verify the first certificate" means.

It shows the url as http://116.202.156.245//api/updategh so it has two slashes after the ip. Try changing your GENURL to not have a trailing slash and see if that works. I have no idea what the error "unable to verify the first certificate" means.
Draakoor commented 2025-04-16 04:31:44 +08:00 (Migrated from github.com)

I edited the reverse proxy again and swapped the cert with the certificates fullchain now it works for the client generator.
Would be cool if webclient would work with ssl

I edited the reverse proxy again and swapped the cert with the certificates fullchain now it works for the client generator. Would be cool if webclient would work with ssl
bryangerlach commented 2025-04-16 04:50:17 +08:00 (Migrated from github.com)

Yeah, I will work on the webclient when I have time. Rustdesk released a v2 preview that supports ssl, the current version is my api server is v1 which does not support ssl. I was hoping rustdesk would have a release version of v2 before I integrated it, but they still only have the preview version.

Yeah, I will work on the webclient when I have time. Rustdesk released a v2 preview that supports ssl, the current version is my api server is v1 which does not support ssl. I was hoping rustdesk would have a release version of v2 before I integrated it, but they still only have the preview version.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: 3344/rdgen#62