lejianwen / rustdesk-api

Custom Rustdesk Api Server, include web admin ,web client, web client v2 preview and oidc login
244 stars 67 forks source link

Temporary Solution to Address Slow Connection Issues in RustDesk #54

Open IamTaoChen opened 2 weeks ago

IamTaoChen commented 2 weeks ago

Connection issues or timeouts: Because the server version lags behind the client version, the server does not respond to the client’s secure_tcp requests, causing the client to experience timeouts. The relevant code in the RustDesk client can be found here.

To address this issue from the server side, a PR has been created to add secure TCP support specifically for the RustDesk server: rustdesk-server PR #400.

I have forked the repository and integrated this PR into my own branch: IamTaoChen’s rustdesk-server with STCP. This modified version appears to resolve the connection issues effectively.

The Docker image for this updated server version is available at iamtaochen/rustdesk-server:stcp.

Note: This solution is specifically for the RustDesk server and does not involve changes to the RustDesk client.
IamTaoChen commented 2 weeks ago

连接问题或超时:由于服务器版本落后于客户端版本,服务器无法响应客户端的 secure_tcp 请求,导致客户端出现超时问题。RustDesk 客户端中的相关代码可以在此处找到。

为了解决这个问题,此方法从服务器端入手,一个 PR 已经创建,用于在 RustDesk 服务器中添加对安全 TCP 的支持:rustdesk-server PR #400

我已经 fork 了该仓库,并将这个 PR 合并到了我自己的分支中:IamTaoChen 的 rustdesk-server with STCP。这个修改版本似乎有效地解决了连接问题。

这个更新版本的服务器 Docker 镜像可以在 iamtaochen/rustdesk-server:stcp 获取。

注意:该解决方案仅针对 RustDesk 服务器,未涉及对 RustDesk 客户端的更改。
IamTaoChen commented 5 days ago

也许可以把这个放在讨论里?

lejianwen commented 5 days ago

也许可以把这个放在讨论里?

都行

danigl93 commented 5 days ago

Connection issues or timeouts: Because the server version lags behind the client version, the server does not respond to the client’s secure_tcp requests, causing the client to experience timeouts. The relevant code in the RustDesk client can be found here.

To address this issue from the server side, a PR has been created to add secure TCP support specifically for the RustDesk server: rustdesk-server PR #400.

I have forked the repository and integrated this PR into my own branch: IamTaoChen’s rustdesk-server with STCP. This modified version appears to resolve the connection issues effectively.

The Docker image for this updated server version is available at iamtaochen/rustdesk-server:stcp.

Note: This solution is specifically for the RustDesk server and does not involve changes to the RustDesk client.

Thank you for the solution! Can you please also create a arm64 image?

IamTaoChen commented 4 days ago

Connection issues or timeouts: Because the server version lags behind the client version, the server does not respond to the client’s secure_tcp requests, causing the client to experience timeouts. The relevant code in the RustDesk client can be found here. To address this issue from the server side, a PR has been created to add secure TCP support specifically for the RustDesk server: rustdesk-server PR #400. I have forked the repository and integrated this PR into my own branch: IamTaoChen’s rustdesk-server with STCP. This modified version appears to resolve the connection issues effectively. The Docker image for this updated server version is available at iamtaochen/rustdesk-server:stcp.

Note: This solution is specifically for the RustDesk server and does not involve changes to the RustDesk client.

Thank you for the solution! Can you please also create a arm64 image?

I'm trying to build arm64 image, can you try this image iamtaochen/rustdesk-server:arm64? Because some internet config, I can not build multi-arch image right now

danigl93 commented 4 days ago

Connection issues or timeouts: Because the server version lags behind the client version, the server does not respond to the client’s secure_tcp requests, causing the client to experience timeouts. The relevant code in the RustDesk client can be found here. To address this issue from the server side, a PR has been created to add secure TCP support specifically for the RustDesk server: rustdesk-server PR #400. I have forked the repository and integrated this PR into my own branch: IamTaoChen’s rustdesk-server with STCP. This modified version appears to resolve the connection issues effectively. The Docker image for this updated server version is available at iamtaochen/rustdesk-server:stcp.

Note: This solution is specifically for the RustDesk server and does not involve changes to the RustDesk client.

Thank you for the solution! Can you please also create a arm64 image?

I'm trying to build arm64 image, can you try this image iamtaochen/rustdesk-server:arm64? Because some internet config, I can not build multi-arch image right now

Thank you very much, it works great!