Windows Client - Deadline has elapsed error #3603

Closed
opened 2026-02-21 01:29:33 -05:00 by deekerman · 1 comment
Owner

Originally created by @ihlaska on GitHub (Aug 21, 2025).

Bug Description

Hello,
I have set up a self-hosted RustDesk server (hbbs/hbbr) on Ubuntu VPS.
Ports 21114–21119 are open and verified (UFW and ss confirm services are listening).

On MacOS, iPhone, android Tab the connection works fine through my server:

On Windows 10/11 client, however, we always get “Deadline elapsed” when trying to connect.

We have already:

  • Installed RustDesk client with RustDesk Service on Windows.
  • Verified Get-Service -Name rustdesk → status is Running.
  • Disabled Windows Firewall completely (also tested with rules allowing RustDesk).
  • Confirmed server key and relay/IP are correct (if the key is wrong, we get “Key mismatch”, but with correct key only “Deadline elapsed”).Tested with WebSocket on/off — same issue.

So the server seems fine (since Macs/iPhone/android tab work). The issue appears to be specific to Windows client.

Key question:

What additional configuration is required for Windows clients to connect to a self-hosted RustDesk relay?Is this a known issue with the RustDesk Service on Windows, or are we missing a step?

Free version run smoothly so we upgraded, but encountered with this issue.Thanks a lot for your help!

How to Reproduce

Steps to reproduce:
1. Deploy a RustDesk self-hosted server (hbbs + hbbr) on Ubuntu 22.04 VPS.
• Open ports 21114–21119 in UFW.
• Confirm services running (ps aux | grep hbbs/hbbr) and listening (ss -tulpn | grep 21118).
2. Configure clients with:
• Relay/ID server = <server_ip>
• Key = <server_public_key>
3. Connect from MacOS or iPhone client → works correctly (connection established).
4. Connect from Windows client (x64, with RustDesk Service installed and running) → always fails with “Deadline elapsed”.
• Tested with/without WebSocket.
• Firewall disabled or with explicit allow rules.
• Wrong key shows “Key mismatch”, correct key leads to “Deadline elapsed”.

Expected Behavior

Expected behavior:
Windows client should connect to the self-hosted server the same as MacOS and iOS.

Actual behavior:
Windows client fails with Deadline elapsed, even though the same server works for Mac/iOS.

Operating system(s) on local (controlling) side and remote (controlled) side

Operating system(s): • Local (controlling side): Windows 10 Pro x64 (also tested on Windows 11 Pro x64, same result) • Remote (controlled side): macOS (Mac Mini, macOS Ventura) and macOS (Mac Pro) • Server: Ubuntu 22.04.5 LTS (RustDesk self-hosted hbbs/hbbr, ports 21114–21119 open)

RustDesk Version(s) on local (controlling) side and remote (controlled) side

1.4.1->1.3.5.

Screenshots

Image

Additional Context

No response

Originally created by @ihlaska on GitHub (Aug 21, 2025). ### Bug Description Hello, I have set up a self-hosted RustDesk server (hbbs/hbbr) on Ubuntu VPS. Ports 21114–21119 are open and verified (UFW and ss confirm services are listening). On MacOS, iPhone, android Tab the connection works fine through my server: On Windows 10/11 client, however, we always get “Deadline elapsed” when trying to connect. We have already: - Installed RustDesk client with RustDesk Service on Windows. - Verified Get-Service -Name rustdesk → status is Running. - Disabled Windows Firewall completely (also tested with rules allowing RustDesk). - Confirmed server key and relay/IP are correct (if the key is wrong, we get “Key mismatch”, but with correct key only “Deadline elapsed”).Tested with WebSocket on/off — same issue. So the server seems fine (since Macs/iPhone/android tab work). The issue appears to be specific to Windows client. Key question: **What additional configuration is required for Windows clients to connect to a self-hosted RustDesk relay?Is this a known issue with the RustDesk Service on Windows, or are we missing a step?** Free version run smoothly so we upgraded, but encountered with this issue.Thanks a lot for your help! ### How to Reproduce Steps to reproduce: 1. Deploy a RustDesk self-hosted server (hbbs + hbbr) on Ubuntu 22.04 VPS. • Open ports 21114–21119 in UFW. • Confirm services running (ps aux | grep hbbs/hbbr) and listening (ss -tulpn | grep 21118). 2. Configure clients with: • Relay/ID server = <server_ip> • Key = <server_public_key> 3. Connect from MacOS or iPhone client → works correctly (connection established). 4. Connect from Windows client (x64, with RustDesk Service installed and running) → always fails with “Deadline elapsed”. • Tested with/without WebSocket. • Firewall disabled or with explicit allow rules. • Wrong key shows “Key mismatch”, correct key leads to “Deadline elapsed”. ### Expected Behavior Expected behavior: Windows client should connect to the self-hosted server the same as MacOS and iOS. Actual behavior: Windows client fails with Deadline elapsed, even though the same server works for Mac/iOS. ### Operating system(s) on local (controlling) side and remote (controlled) side Operating system(s): • Local (controlling side): Windows 10 Pro x64 (also tested on Windows 11 Pro x64, same result) • Remote (controlled side): macOS (Mac Mini, macOS Ventura) and macOS (Mac Pro) • Server: Ubuntu 22.04.5 LTS (RustDesk self-hosted hbbs/hbbr, ports 21114–21119 open) ### RustDesk Version(s) on local (controlling) side and remote (controlled) side 1.4.1->1.3.5. ### Screenshots <img width="857" height="619" alt="Image" src="https://github.com/user-attachments/assets/1e1d94c3-c6b2-4675-af6e-46e6babd7403" /> ### Additional Context _No response_
deekerman 2026-02-21 01:29:33 -05:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@rustdesk commented on GitHub (Aug 21, 2025):

#763

Please email to support if you are pro users.

@rustdesk commented on GitHub (Aug 21, 2025): #763 Please email to support if you are pro users.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rustdesk-rustdesk#3603
No description provided.