debauchee / barrier

Open-source KVM software
Other
27.39k stars 1.51k forks source link

Unable to Start MacOS Barrier as Client #2017

Open cynguskorean opened 7 months ago

cynguskorean commented 7 months ago

What happened?

The programs works as it should if I set the server my mac as the server, but it stays stuck at "Barrier is starting" when trying to run it as a client. I have disabled SSL fingerprinting and the client requiring a certificate on both operating systems (MacOS and Win11). The Win11 version of the app works fine as client and server. The issue is only with MacOS.

Version

v2.0.0-RC1

Git commit hash (if applicable)

No response

If applicable, where did you install Barrier from?

No response

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

macOS

What OS versions are you using?

MacOS Sonoma (client) connecting to Win11 (server)

Relevant log output

No response

Any other information

No response

andrienko commented 7 months ago

Same issue. Client is Sonoma (14.3.1) and server is Windows 10 (21H2, 19044.2130). SSL is disabled on both server and client. Also tried to run both server and client with --enable-crypto

Server's log part:

[2024-02-29T10:30:55] WARNING: failed to connect to server: Timed out
[2024-02-29T10:30:56] NOTE: connecting to '192.168.1.142': 192.168.1.142:24800
[2024-02-29T10:30:56] INFO: OpenSSL 3.0.0 7 sep 2021
[2024-02-29T10:30:56] ERROR: ssl certificate doesn't exist: /Users/wp0/Library/Application Support/barrier/SSL/Barrier.pem
[2024-02-29T10:30:56] ERROR: could not load client certificates
[2024-02-29T10:30:56] ERROR: ssl certificate doesn't exist: /Users/wp0/Library/Application Support/barrier/SSL/Barrier.pem
[2024-02-29T10:30:56] ERROR: could not load client certificates
[2024-02-29T10:30:56] ERROR: ssl error occurred (generic failure)
[2024-02-29T10:30:56] ERROR: error:0A00010B:SSL routines::wrong version number
[2024-02-29T10:30:56] ERROR: failed to connect secure socket

Client's log part:

[2024-02-29T10:30:42] NOTE: accepted client connection
[2024-02-29T10:30:42] NOTE: new client disconnected
walticogt commented 7 months ago

Me pasa exactamente lo mismo, aunque si desactivas SSL igual sale... failed.

SIM0N-F commented 6 months ago

Hello, I have same problem, for workaround i have disable ssl on client and server and now its ok (without ssl)

cynguskorean commented 5 months ago

Hello, I have same problem, for workaround i have disable ssl on client and server and now its ok (without ssl)

I've always have my setting to have SSL disabled on both the client (MacOS) and server-side (WIndows 11). My Macbook Pro still gets stuck at "Barrier is starting" when trying to connect as a client, only as a server can it run/connect.