Skip to content

Key Mismatch since version 1.1.11 #590

@loxK

Description

@loxK

Describe the bug
I run multiple self-hosted RustDesk servers using docker and the sample docker-compose.yaml. On version 1.1.9 they work well. If I upgrade to more recent versions I get key mismatch error. (1.1.11 to 1.1.14, 1.1.10 being buggy and not running at all)

Describe the environment

  • docker compose on Ubuntu 24.04 (both Docker as Snap or docker-ce official package)

Sample docker compose file :

networks:
  rustdesk-net:
    external: false

services:
  hbbs:
    container_name: hbbs
    ports:
      - 21115:21115
      - 21116:21116
      - 21116:21116/udp
      - 21118:21118
    image: rustdesk/rustdesk-server:1.1.9
    command: hbbs -r [redacted domain]:21117
    volumes:
      - /opt/rustdesk:/root
    networks:
      - rustdesk-net
    depends_on:
      - hbbr
    restart: unless-stopped

  hbbr:
    container_name: hbbr
    ports:
      - 21117:21117
      - 21119:21119
    image: rustdesk/rustdesk-server:1.1.9
    command: hbbr
    volumes:
      - /opt/rustdesk:/root
    networks:
      - rustdesk-net
    restart: unless-stopped

How to Reproduce the bug

  1. Install 1.1.9, setup the clients with the public key
  2. Test and notice it working
  3. Upgrade to any version higher than 1.1.9
  4. notice the key mismatch error

Expected behavior
There should be no error.

Additional context
I have searched any migration information in changelog, but found nothing. There is the mention of the "-k" option, but it is undocumented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions