Problem with selfhosted generator and rustdesk-api-server #62
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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?
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.
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.
http is not working
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.
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
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.