-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
problems with the last update V1.1.10-2 "HBBS Container" #358
Comments
Agreed. New update is broken. Same issue on every version. |
Today's build added a check for correct size of the secret key, which is causing the error in this case. The secret key file should NOT have a trailing newline; if there's a newline, with previous release the key is ignored and hbbs is accepting unencrypted connections also. Now you know that you have to remove such newline at the end of the file. (I think you can use the text editor you have in synology dsm); then restart the container. |
With love, this should have been in the Changelog, if it's intended behavior!! |
you have to look at Please do it using a more advanced editor, capable of distinguish the different kind of newlines (LF or CR+LF). Something like Notepad++ in windows. |
The docker image seems to be bugged since I can replicate the issue on a fresh installation. |
wrong file.
(because the public key can be derived from the secret key) expected file size should be: |
The issue is the latest Rustdesk docker image it's bugged from the beginning. No key file is saved in any folder on a fresh installation because of the malformed key error message. using version :1.1.9 will solve your issue @Joselito1980 Change: image: rustdesk/rustdesk-server with image: rustdesk/rustdesk-server:1.1.9 in both images then redeploy the stack Until the dev solve the issue |
thanks a lot!!! now it's working with the last version, i'm whait to new version! best regards!!! |
with version 1.1.9 it works but not with version 1.1.10 so the latest version is the 1.1.10 version but currently bugged. |
This was meant to be a quick and dirty fix for a problem affecting a small number of users.
This can lead to difficult debug: imagine having an extra space at the beginning of the file, the program will have to complain because of a wrong key that looks perfectly normal to anyone looking at the contents. |
@paspo You can't even write to the folder from the beginning with a fresh RustDesk server installation. No issue with version 1.1.9 the issue appear almost instantly on version 1.1.10 - The affected user are both (old installation and new installation). |
Agreed. The key that rustdesk generates on 1.1.10 even after you blow it away, doesnt appear to pass this check. So clearly the key generation code needs to match this check Edit: Rolling back works, using the local windows version run locally also doesnt work on latest. |
Can also confirm that rolling back to 1.1.9 fixes the issue. · The |
same problem here (ubuntu server with precompiled packages .deb), I don't have any space/return on my file but the resulting size is 89B vi id_ed25519 -> IO+n+dV2L????????????????????????????????????????????????????????????????????????KP46g== so i made a new clean installation and there is the same problem, the service hbbs does not start (EXIT / FAILED) with malformed private key but there is no key generated inside /var/lib/rustdesk-server |
So even a |
it's working in the last update! thanks!!!! |
confirmed. Latest release is working. Thank you @paspo |
HI, the docker images does not seem to have been updated: https://hub.docker.com/r/rustdesk/rustdesk-server/tags Could you please push the update? @rustdesk |
Describe the bug
in the latest update of today, "V.1.1.10-2". "HBBS" container does not start and the following error appears in the log
Describe the environment
its installed in docker in a Synology DS 720+ with DSM 7.2.1-69057 Update 4.
i am using this docker compose:
version: '3.9'
services:
hbbs:
container_name: Rustdesk_HBBS
ports:
- 21115:21115
- 21116:21116
- 21116:21116/udp
- 21118:21118
image: rustdesk/rustdesk-server:latest
command: hbbs -r *.:21117
volumes:
- /volume1/docker/rustdesk/rustdeskhbbs:/root:rw
network_mode: "bridge"
depends_on:
- hbbr
restart: always
hbbr:
container_name: Rustdesk_HBBR
ports:
- 21117:21117
- 21119:21119
image: rustdesk/rustdesk-server:latest
command: hbbr
volumes:
- /volume1/docker/rustdesk/rustdeskhbbr:/root:rw
network_mode: "bridge"
restart: always
How to Reproduce the bug



when i start the proyect appears this error:
thanks!!!!!!!
The text was updated successfully, but these errors were encountered: