rustdesk / rustdesk-server-pro

Some scripts for RustDesk Server Pro are hosted here.
142 stars 73 forks source link

Custom Client not downloadable #317

Closed ReneGoetz closed 3 months ago

ReneGoetz commented 3 months ago

If i create a new Custom Client in Server Pro 1.4.0 i can't download

I can create the Client. If i try to download, i get an error:

{"error":"Bad request"}

rustdesk commented 3 months ago

You must download by clicking on the web console, can not download outside.

ReneGoetz commented 3 months ago

i click in RustDesk Console -> Custom Clients -> Download. 2 Weeks befor it works.

grafik

rustdesk commented 3 months ago

And below in red rectangle must be the same, we enhance this download for security concern https://github.com/rustdesk/rustdesk-server-pro/issues/312#issuecomment-2242133191.

image

ReneGoetz commented 3 months ago

OK, you're right. I used allways the internal IP, with the external it works,

Thanks

djagoo commented 3 months ago

My RustDesk is behind a tls proxy so I access the admin console via https://rustdesk.example.com and since I don't expose port 21114 I used https://rustdesk.example.com as API too. When I create a custom client I get "bad request" when I click on the download link.

rustdesk commented 3 months ago

It has nothing to do with 21114. You must make sure the host in API is same to the host in url on browser. If you do not understand, please paste your screenshot of custom client page (the page I pasted above, please includes the browser toolbar and the full address on toolbar), I will help you figure out.

djagoo commented 3 months ago

It is exactly the same in my url and in the API field, I don't want to paste a screenshot of our production environment, how can I send it to you?

thorti79 commented 3 months ago

I have the exact same problem.

Setup: Rustdesk-Pro with docker-compose behind traefik for incoming traffic. Outgoing traffic goes via a squid proxy.

thorti79 commented 3 months ago

Problem solved for me. I used a different browser (Firefox) without add-ons.

djagoo commented 3 months ago

When I use Firefox it's not working, in Chromium the download works.

Quildar commented 3 months ago

I am having the same problem but switching browsers doesn't help. Clicking the download button button within the web console but getting kicked to "{"error":"Bad request"}" page

Setup: Rustdesk-Pro with docker-compose behind traefik for incoming traffic.

Screenshot 2024-07-25 at 10 28 21

Quildar commented 3 months ago

Have tried downloading through web console on multiple different browsers and different computers Win/Mac.

My browser address I am using to access the console matches the API box: https://rust.example.net <--- Obviously this is just an example not what I am entering The host box also matches minus the "https://"

I am using Traefik with the rust server behind it

rustdesk commented 3 months ago

We temporarily loose the limit since so many browsers have the issue.

kirawang commented 3 months ago

This is really a terrible update, it completely affects the usability. I can only roll back to the previous version and use it.

rustdesk commented 3 months ago

this has nothing to do with the update, your rollong back did do nothing. this is totally controlled on our building server side.

kirawang commented 3 months ago

I also agree that。 this is not a good update. In order to prevent client leakage for fraudulent activities and other issues, we prefer to have internal control endpoints use IP addresses or internal domain names, while external controlled endpoints use external domain names. This update completely hinders our usage.

2024年8月1日 19:12,RustDesk @.***> 写道:

this has nothing to do with the update, your rollong back did do nothing. this is totally controlled on our side.

— Reply to this email directly, view it on GitHub https://github.com/rustdesk/rustdesk-server-pro/issues/317#issuecomment-2262778149, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADJPOSQUZU3DEIKROG57WRTZPIJ2BAVCNFSM6AAAAABLICV75OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRSG43TQMJUHE. You are receiving this because you commented.

THarmon77 commented 1 month ago

Is there a fix for this? I purposely bought the pro server so we can deploy quick support agents and this is the ONE thing that is hampering our widescale deployment. Is there a work around? When is this bug going to be repaired?