[GH-ISSUE #1622] Barrier stuck booting #1198

Open
opened 2026-05-05 07:35:42 -06:00 by gitea-mirror · 9 comments
Owner

Originally created by @c-benoit on GitHub (Mar 25, 2022).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1622

What happened?

Hi,
I installed barrier on my windows, add the right screen name of my mac and run it as a serveur
Then i manually add my windows ip on my mac, then i run it, but it stuck forever with this sentence : "barrier est en train de demarrer" = barrier is booting

Has someone a fix to this problem ?

Version

v2.4.0

Git commit hash (if applicable)

No response

If applicable, where did you install Barrier from?

windows : https://github.com/debauchee/barrier/releases/download/v2.4.0/BarrierSetup-2.4.0-release.exe
mac : https://github.com/debauchee/barrier/releases/download/v2.4.0/Barrier-2.4.0-release.dmg

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

Windows, macOS

What OS versions are you using?

Windows 11 (up to date) and macos Monterey v12.3

Relevant log output

barrier est en train de demarrer

Any other information

No response

Originally created by @c-benoit on GitHub (Mar 25, 2022). Original GitHub issue: https://github.com/debauchee/barrier/issues/1622 ### What happened? Hi, I installed barrier on my windows, add the right screen name of my mac and run it as a serveur Then i manually add my windows ip on my mac, then i run it, but it stuck forever with this sentence : "barrier est en train de demarrer" = barrier is booting Has someone a fix to this problem ? ### Version v2.4.0 ### Git commit hash (if applicable) _No response_ ### If applicable, where did you install Barrier from? windows : https://github.com/debauchee/barrier/releases/download/v2.4.0/BarrierSetup-2.4.0-release.exe mac : https://github.com/debauchee/barrier/releases/download/v2.4.0/Barrier-2.4.0-release.dmg ### What OSes are you seeing the problem on? (Check all that apply) Windows, macOS ### What OS versions are you using? Windows 11 (up to date) and macos Monterey v12.3 ### Relevant log output ```shell barrier est en train de demarrer ``` ### Any other information _No response_
Author
Owner

@borrrden commented on GitHub (Mar 26, 2022):

I believe this is the result of https://github.com/debauchee/barrier/issues/1609 and so you can either disable SSL in your settings or follow the instructions on the linked issue (note the windows location is %LOCALAPPDATA%\Barrier\SSL\Barrier.pem)

<!-- gh-comment-id:1079539102 --> @borrrden commented on GitHub (Mar 26, 2022): I believe this is the result of https://github.com/debauchee/barrier/issues/1609 and so you can either disable SSL in your settings or follow the instructions on the linked issue (note the windows location is `%LOCALAPPDATA%\Barrier\SSL\Barrier.pem`)
Author
Owner

@c-benoit commented on GitHub (Mar 26, 2022):

I believe this is the result of #1609 and so you can either disable SSL in your settings or follow the instructions on the linked issue (note the windows location is %LOCALAPPDATA%\Barrier\SSL\Barrier.pem)

Thanks for your reply ;
I follow his solution on my mac :
cd /Users/USERNAME/Library/Application Support/barrier/SSL
openssl req -new -x509 -sha256 -days 999 -nodes -out Barrier.pem -keyout Barrier.pem

Now there's a pop-up to add the screen when my mac try to connect
But it's still stuck in the barrier's booting phase

<!-- gh-comment-id:1079763459 --> @c-benoit commented on GitHub (Mar 26, 2022): > I believe this is the result of #1609 and so you can either disable SSL in your settings or follow the instructions on the linked issue (note the windows location is `%LOCALAPPDATA%\Barrier\SSL\Barrier.pem`) Thanks for your reply ; I follow his solution on my mac : cd /Users/USERNAME/Library/Application Support/barrier/SSL openssl req -new -x509 -sha256 -days 999 -nodes -out Barrier.pem -keyout Barrier.pem Now there's a pop-up to add the screen when my mac try to connect But it's still stuck in the barrier's booting phase
Author
Owner

@borrrden commented on GitHub (Mar 26, 2022):

Did you perform this step for both machines? The server side will also need it.

<!-- gh-comment-id:1079790540 --> @borrrden commented on GitHub (Mar 26, 2022): Did you perform this step for both machines? The server side will also need it.
Author
Owner

@c-benoit commented on GitHub (Mar 27, 2022):

yes, it generate the barrier.pem but still the same problem ;

<!-- gh-comment-id:1079933961 --> @c-benoit commented on GitHub (Mar 27, 2022): yes, it generate the barrier.pem but still the same problem ;
Author
Owner

@borrrden commented on GitHub (Mar 27, 2022):

Your reply is unclear to me. I did the steps twice. Once on the Mac side and once on the windows side. Anyway if you open the logs it should show some details about what is happening.

<!-- gh-comment-id:1080029079 --> @borrrden commented on GitHub (Mar 27, 2022): Your reply is unclear to me. I did the steps twice. Once on the Mac side and once on the windows side. Anyway if you open the logs it should show some details about what is happening.
Author
Owner

@c-benoit commented on GitHub (Mar 28, 2022):

Hi, this is logs for the one who's stuck (the client, host logs doesnt have error or warning) :
2022-03-28T17:45:17] INFO: SSL fingerprint generated.
[2022-03-28T17:45:32] INFO: starting client
[2022-03-28T17:45:32] INFO: config file: /private/var/folders/j5/shqvrlf90n7dyknn9dfpslcc0000gn/T/Barrier.WlEeuC
[2022-03-28T17:45:32] INFO: log level: INFO
[2022-03-28T17:45:32] INFO: drag and drop enabled
[2022-03-28T17:45:32] NOTE: started client
[2022-03-28T17:45:32] NOTE: connecting to '--': --:24800
[2022-03-28T17:45:32] INFO: OpenSSL 3.0.0 7 sep 2021
2022-03-28 17:45:32.822 barrierc[12590:125411] starting cocoa loop
[2022-03-28T17:45:47] WARNING: failed to connect to server: Timed out
[2022-03-28T17:45:48] NOTE: connecting to '--': --:24800
[2022-03-28T17:45:48] INFO: OpenSSL 3.0.0 7 sep 2021

<!-- gh-comment-id:1080821681 --> @c-benoit commented on GitHub (Mar 28, 2022): Hi, this is logs for the one who's stuck (the client, host logs doesnt have error or warning) : 2022-03-28T17:45:17] INFO: SSL fingerprint generated. [2022-03-28T17:45:32] INFO: starting client [2022-03-28T17:45:32] INFO: config file: /private/var/folders/j5/shqvrlf90n7dyknn9dfpslcc0000gn/T/Barrier.WlEeuC [2022-03-28T17:45:32] INFO: log level: INFO [2022-03-28T17:45:32] INFO: drag and drop enabled [2022-03-28T17:45:32] NOTE: started client [2022-03-28T17:45:32] NOTE: connecting to '--': --:24800 [2022-03-28T17:45:32] INFO: OpenSSL 3.0.0 7 sep 2021 2022-03-28 17:45:32.822 barrierc[12590:125411] starting cocoa loop [2022-03-28T17:45:47] WARNING: failed to connect to server: Timed out [2022-03-28T17:45:48] NOTE: connecting to '--': --:24800 [2022-03-28T17:45:48] INFO: OpenSSL 3.0.0 7 sep 2021
Author
Owner

@borrrden commented on GitHub (Mar 28, 2022):

The error would probably be on the server side in this case.

<!-- gh-comment-id:1081168820 --> @borrrden commented on GitHub (Mar 28, 2022): The error would probably be on the server side in this case.
Author
Owner

@RamboRogers commented on GitHub (Apr 7, 2022):

For a MAC OS run this command:

openssl req -x509 -nodes -days 365 -subj /CN=Barrier -newkey rsa:4096 -keyout ~/Library/Application\ Support/barrier/SSL/Barrier.pem -out ~/Library/Application\ Support/barrier/SSL/Barrier.pem; 
<!-- gh-comment-id:1090954281 --> @RamboRogers commented on GitHub (Apr 7, 2022): For a MAC OS run this command: ``` openssl req -x509 -nodes -days 365 -subj /CN=Barrier -newkey rsa:4096 -keyout ~/Library/Application\ Support/barrier/SSL/Barrier.pem -out ~/Library/Application\ Support/barrier/SSL/Barrier.pem; ```
Author
Owner

@savager commented on GitHub (Apr 11, 2022):

If anyone else is suddenly having these issues on a mac, apple had an update with something that breaks barrier.

In order to fix it, I had to go to the server mac, system prefs, security and privacy, and oddly enough click the "ALLOW APPLE" button that was new. Then it rebuilt the kext cache and rebooted and it works again. Must have been something with security or ssl or something. I did also re-generate new PEMs so if this doesn't work maybe try that as well.

<!-- gh-comment-id:1095261088 --> @savager commented on GitHub (Apr 11, 2022): If anyone else is suddenly having these issues on a mac, apple had an update with something that breaks barrier. In order to fix it, I had to go to the server mac, system prefs, security and privacy, and oddly enough click the "ALLOW APPLE" button that was new. Then it rebuilt the kext cache and rebooted and it works again. Must have been something with security or ssl or something. I did also re-generate new PEMs so if this doesn't work maybe try that as well.
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#1198
No description provided.