rustdesk / rustdesk/rustdesk-server-pro

Server stops functioning when rustdesk.com license server is unreachable

Open
#902 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
317
Forks
119
PR merge metrics
No merged PRs in 30d

Description

Bug Description

Our self-hosted RustDesk Server Pro (v1.7.5) stopped functioning when rustdesk.com became unreachable. Both the client app connections and the web console went down simultaneously. No configuration changes were made on our side — the server recovered on its own once rustdesk.com came back online.

The hbbs log shows the license check failing:

ERROR [src/lic.rs:207] network error: reqwest::Error { kind: Request, url: "https://rustdesk.com/api/lic/license/check", source: hyper_util::client::legacy::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) }

Additionally, the rustdesk client app reported it could not reach admin.rustdesk.com.

Impact
  • All client heartbeats stopped working
  • Web console became inaccessible
  • Remote desktop connections could not be established
  • A fully self-hosted deployment was rendered unusable due to an external dependency
Expected Behavior

A self-hosted server with a valid, already-activated license should continue to operate when rustdesk.com is temporarily unreachable. Suggestions:

  • Cache the license locally with a grace period (e.g. 7-30 days) so the server continues operating during outages
  • Degrade gracefully — log a warning but don't stop serving clients
  • Document the dependency — the current docs do not mention that rustdesk.com availability is required for ongoing operation
Environment
  • RustDesk Server Pro 1.7.5
  • Debian (self-hosted, bare metal)
  • License was valid and previously verified (License OK on prior startups)
Related
  • #894 — License gating prevents admin actions even during setup

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in src/lic.rs around the reported line 207 and trace the license-check flow and its effect on serving clients and the web console. Read related issue #894 for context. Done means a valid, previously activated self-hosted license continues operating during a temporary rustdesk.com outage, with the expected behavior and dependency documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.