Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
shuxin8795 opened this issue Mar 12, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@shuxin8795
Copy link

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 shuxin8795 added the bug Something isn't working label Mar 12, 2024
@shuxin8795
Copy link
Author

Anyone care to analyse this?

@xtronets
Copy link

Sounds like wrong network configuration

@GuillaumeHullin
Copy link

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants