[GH-ISSUE #1515] Server can't connect a client twice #1146

Open
opened 2026-05-05 07:32:00 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @xiewh001 on GitHub (Jan 10, 2022).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1515

What happened?

client win 10 barrier version 2.4.0
server Mac os barrier version 2.4.0

  1. the first time connection is OK, but after one host shutdown and reboot again...
  2. the 2nd time connection is report the errors like this:
[2022-01-11T07:30:12] INFO: OpenSSL 3.0.0 7 sep 2021
[2022-01-11T07:30:12] INFO: accepted secure socket
[2022-01-11T07:30:12] INFO: ECDHE-RSA-AES256-GCM-SHA384    TLSv1.2 Kx=ECDH     Au=RSA   Enc=AESGCM(256)            Mac=AEAD
[2022-01-11T07:30:12] NOTE: accepted client connection
[2022-01-11T07:30:12] WARNING: a client with name "Winpc" is already connected
[2022-01-11T07:30:12] NOTE: disconnecting client "Winpc"
[2022-01-11T07:30:12] NOTE: client "Winpc" has disconnected
[2022-01-11T07:30:12] INFO: stopping barrier desktop process
  1. if change the screen name, it connected again until one machine shutdown and reboot to reconnect, barrier report the errors as above

Version

v2.4.0

Git commit hash (if applicable)

No response

If applicable, where did you install Barrier from?

github

What OSes are you seeing the problem on? (Check all that apply)

Windows, macOS

What OS versions are you using?

  • client win 10 barrier version 2.4.0
  • server Mac os barrier version 2.4.0

Relevant log output

[2022-01-11T07:30:12] INFO: OpenSSL 3.0.0 7 sep 2021
[2022-01-11T07:30:12] INFO: accepted secure socket
[2022-01-11T07:30:12] INFO: ECDHE-RSA-AES256-GCM-SHA384    TLSv1.2 Kx=ECDH     Au=RSA   Enc=AESGCM(256)            Mac=AEAD
[2022-01-11T07:30:12] NOTE: accepted client connection
[2022-01-11T07:30:12] WARNING: a client with name "Winpc" is already connected
[2022-01-11T07:30:12] NOTE: disconnecting client "Winpc"
[2022-01-11T07:30:12] NOTE: client "Winpc" has disconnected
[2022-01-11T07:30:12] INFO: stopping barrier desktop process

Any other information

No response

Originally created by @xiewh001 on GitHub (Jan 10, 2022). Original GitHub issue: https://github.com/debauchee/barrier/issues/1515 ### What happened? client win 10 barrier version 2.4.0 server Mac os barrier version 2.4.0 1. the first time connection is OK, but after one host shutdown and reboot again... 2. the 2nd time connection is report the errors like this: ``` [2022-01-11T07:30:12] INFO: OpenSSL 3.0.0 7 sep 2021 [2022-01-11T07:30:12] INFO: accepted secure socket [2022-01-11T07:30:12] INFO: ECDHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH Au=RSA Enc=AESGCM(256) Mac=AEAD [2022-01-11T07:30:12] NOTE: accepted client connection [2022-01-11T07:30:12] WARNING: a client with name "Winpc" is already connected [2022-01-11T07:30:12] NOTE: disconnecting client "Winpc" [2022-01-11T07:30:12] NOTE: client "Winpc" has disconnected [2022-01-11T07:30:12] INFO: stopping barrier desktop process ``` 3. if change the screen name, it connected again until one machine shutdown and reboot to reconnect, barrier report the errors as above ### Version v2.4.0 ### Git commit hash (if applicable) _No response_ ### If applicable, where did you install Barrier from? github ### What OSes are you seeing the problem on? (Check all that apply) Windows, macOS ### What OS versions are you using? - client win 10 barrier version 2.4.0 - server Mac os barrier version 2.4.0 ### Relevant log output ```shell [2022-01-11T07:30:12] INFO: OpenSSL 3.0.0 7 sep 2021 [2022-01-11T07:30:12] INFO: accepted secure socket [2022-01-11T07:30:12] INFO: ECDHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH Au=RSA Enc=AESGCM(256) Mac=AEAD [2022-01-11T07:30:12] NOTE: accepted client connection [2022-01-11T07:30:12] WARNING: a client with name "Winpc" is already connected [2022-01-11T07:30:12] NOTE: disconnecting client "Winpc" [2022-01-11T07:30:12] NOTE: client "Winpc" has disconnected [2022-01-11T07:30:12] INFO: stopping barrier desktop process ``` ### Any other information _No response_
Author
Owner

@pkmnmstr98 commented on GitHub (Jan 19, 2022):

try to disable ssl

<!-- gh-comment-id:1016733286 --> @pkmnmstr98 commented on GitHub (Jan 19, 2022): try to disable ssl
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#1146
No description provided.