mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #925] ssl3_get_record:wrong version number (Mac client to Windows server) #738
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#738
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @winnyucui on GitHub (Oct 22, 2020).
Original GitHub issue: https://github.com/debauchee/barrier/issues/925
Bug Description
The Mac client fails to connect to a Windows server.
To Reproduce
Expected behavior
I expected to see a secure connection established to the server. Instead, the connection times out.
Screenshots
Mac Logs:
...
[2020-10-22T00:38:01] DEBUG1: connection timed out
[2020-10-22T00:38:01] DEBUG: retry in 1 seconds
[2020-10-22T00:38:01] WARNING: failed to connect to server: Timed out
[2020-10-22T00:38:02] NOTE: connecting to '192.168.1.211': 192.168.1.211:24800
[2020-10-22T00:38:02] DEBUG: Opening new socket: 2DD472A0
[2020-10-22T00:38:02] INFO: OpenSSL 1.1.1g 21 Apr 2020
[2020-10-22T00:38:02] DEBUG1: openSSL : compiler: clang -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -D_REENTRANT -DNDEBUG
[2020-10-22T00:38:02] DEBUG1: openSSL : built on: Tue Apr 21 13:28:37 2020 UTC
[2020-10-22T00:38:02] DEBUG1: openSSL : platform: darwin64-x86_64-cc
[2020-10-22T00:38:02] DEBUG1: OPENSSLDIR: "/usr/local/etc/openssl@1.1"
[2020-10-22T00:38:02] DEBUG1: connecting to server
[2020-10-22T00:38:02] DEBUG2: connecting secure socket
[2020-10-22T00:38:02] DEBUG2: want to read, error=2, attempt=1
[2020-10-22T00:38:02] DEBUG2: retry connect secure socket
[2020-10-22T00:38:02] DEBUG2: connecting secure socket
[2020-10-22T00:38:02] ERROR: ssl error occurred (generic failure)
[2020-10-22T00:38:02] ERROR: error:1408F10B:SSL routines:ssl3_get_record:wrong version number
[2020-10-22T00:38:02] ERROR: failed to connect secure socket
[2020-10-22T00:38:17] DEBUG: Closing socket: 2DD472A0
[2020-10-22T00:38:17] WARNING: failed to connect to server: Timed out
[2020-10-22T00:38:17] DEBUG1: connection timed out
[2020-10-22T00:38:17] DEBUG: retry in 1 seconds
[2020-10-22T00:38:18] NOTE: connecting to '192.168.1.211': 192.168.1.211:24800
[2020-10-22T00:38:18] DEBUG: Opening new socket: 2DE08260
[2020-10-22T00:38:18] INFO: OpenSSL 1.1.1g 21 Apr 2020
[2020-10-22T00:38:18] DEBUG1: openSSL : compiler: clang -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -D_REENTRANT -DNDEBUG
[2020-10-22T00:38:18] DEBUG1: openSSL : built on: Tue Apr 21 13:28:37 2020 UTC
[2020-10-22T00:38:18] DEBUG1: openSSL : platform: darwin64-x86_64-cc
[2020-10-22T00:38:18] DEBUG1: OPENSSLDIR: "/usr/local/etc/openssl@1.1"
[2020-10-22T00:38:18] DEBUG1: connecting to server
[2020-10-22T00:38:18] DEBUG2: connecting secure socket
[2020-10-22T00:38:18] DEBUG2: want to read, error=2, attempt=1
[2020-10-22T00:38:18] DEBUG2: retry connect secure socket
[2020-10-22T00:38:18] DEBUG2: connecting secure socket
[2020-10-22T00:38:18] ERROR: ssl error occurred (generic failure)
[2020-10-22T00:38:18] ERROR: error:1408F10B:SSL routines:ssl3_get_record:wrong version number
[2020-10-22T00:38:18] ERROR: failed to connect secure socket
...
Desktop and App versions:
Additional context
I have already tried the following:
@schigum commented on GitHub (Oct 26, 2020):
I can confirm this issue on Manjaro. (Host and Client)
It was still working last week. Neither barrier nor openssl have been updated since, don`t know what else to look for.
For me its openssl version: OpenSSL 1.1.1h 22 Sep 2020
Happens at least with these two linux kernels: 5.8.16-2 and 5.9.1-1.
@schigum commented on GitHub (Oct 30, 2020):
As it is so often the case, if the system hasn't changed, the user must be at fault...
I did not start the server with the --enable-crypto option. (Because I changed the way I start the service)
After adding the option again, everything is back to normal.
@subins2000 commented on GitHub (Jul 23, 2021):
Can confirm that starting with
--enable-cryptoworks.