rustdesk / rustdesk-server

RustDesk Server Program
https://rustdesk.com/server
GNU Affero General Public License v3.0
5.96k stars 1.22k forks source link

The "deadline has elapsed" error occurs for the connection after KEY is forcibly specified. #387

Open shuxin8795 opened 3 months ago

shuxin8795 commented 3 months ago

I'm new here and my English isn't very good. I can only describe my deployment process completely

Server system:CentOS7.6-Docker24 RustDesk Version:1.1.10-3 c74f28b255ec4606a3d8c12682af675d

Approach::Docker deployment Reproduce the process: 1、docker installation curl -fsSL https://get.docker.com/ | bash -s docker --mirror Aliyun yum install docker-compose-plugin systemctl start docker systemctl enable docker 2、Create configuration file mkdir -p /root/rustdesk touch /root/rustdesk/docker-compose.yml(Add the official configuration here) 3、Execute the download image and start docker container cd /root/rustdesk docker compose up -d 4, test whether the normal connection: the connection is normal. 5、Configuration file hbbs and hbbr add -k _ parameter behind 6, reload the container: cd /root/rustdesk/ docker compose pull docker compose up -d 7、View the public key 8,、Execute reboot 9、test whether the normal connection: connection error, ["deadline has elapsed"]. There is always a connection in progress, triggering ["deadline has elapsed"] every 15 seconds or so (triggering 0.5 seconds)

shuxin8795 commented 3 months ago

Anyone care to analyse this?

xtronets commented 3 months ago

Sounds like wrong network configuration

GuillaumeHullin commented 3 months ago

@shuxin8795 I encountered this issue when the relay and the server did not use the same key pairs. if you are using the classic 2 containers hbbs/hhbr then you should make sure to mount the same host folder to /root of both. Maybe you can show your docker-compose.yml?