mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #2094] Will not start on macOS Sequoia. #1514
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#1514
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 @WiktorOlf on GitHub (Sep 17, 2024).
Original GitHub issue: https://github.com/debauchee/barrier/issues/2094
What happened?
I have my mac setup as a client and the Barrier UI will load but if I press start it will indefinitely say "Barrier is starting." and if I try to reload it just hangs.
![Uploading Screenshot 2024-09-17 at 19.50.16.png…]()
Version
v2.4.0
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)
Linux, macOS
What OS versions are you using?
The server is on Debian 12 and the client with the error is on macOS Sequoia 15.0.
Relevant log output
No response
Any other information
There's a second client on Windows 11 but that's running fine.
@afif-rafiqin commented on GitHub (Sep 18, 2024):
Hey, were you able to get it fixed? I'm facing a similar issue running with Windows 11 Client and macOS Sequoia as the host.
@mishmishb commented on GitHub (Sep 18, 2024):
Not sure why this was closed. Should definitely be re-opened.
The reason for this problem is that MacOS Sequoia requires explicit permission requests for Local Network access, which Barrier does not do. For more please read here: https://community.sophos.com/intercept-x-endpoint/b/blog/posts/apple-macos-15-sequoia-release-and-endpoint-readiness#:~:text=The%20Sequoia%20release%20adds%20a,will%20occur%20for%20all%20endpoints.
(Feel free someone else to provide a better link if you find one.)
So to resolve the issue Barrier would need to be updated to request this permission, however, considering that Barrier has not received an update in 3 years I'm not so optimistic unless someone can step in.
@WiktorOlf please re-open this issue, otherwise I or someone else will need to create a new one.
@p12tic can you please consider making this update?
As an alternative for people not willing to wait, there is the more actively developed Deskflow,. However, this is also not without issue as it seems right now you need to build it yourself for some reason.
@WiktorOlf commented on GitHub (Sep 18, 2024):
I closed this because it started working after a couple of hours and a couple of reboots. If you want I can still re-open it.
@mishmishb commented on GitHub (Sep 18, 2024):
Okay thanks for this info, I just did a manual post-update reboot (so after the required reboot of the update) of my laptop and I got the required permission prompt. Now it works :)
So a workaround is to manually reboot your device after the update is installed and it should prompt.
Thanks for that bit of info!
@WiktorOlf commented on GitHub (Sep 18, 2024):
@afrapiqin
@keithtommy commented on GitHub (Sep 18, 2024):
I am also having similar issues with permission after updating, however after several reboots as well as re-installing barrier it doesn't seem to resolve the problems.
@mishmishb commented on GitHub (Sep 18, 2024):
@keithtommy can you share the logs? You can find that by right clicking
Barrierin the tray or status bar and selectingShow Log, then just copy and paste the last chunk of log@keithtommy commented on GitHub (Sep 18, 2024):
Hi @mishmishb , please see the log below:
[2024-09-18T15:19:06] INFO: starting server
[2024-09-18T15:19:06] INFO: config file: /private/var/folders/p4/7v98dsfj3834tcxn6kq7_x180000gn/T/Barrier.KrbnSC
[2024-09-18T15:19:06] INFO: log level: INFO
2024-09-18 15:19:06.271087-0400 barriers[30032:126234] SecTaskLoadEntitlements failed error=22 cs_flags=20, pid=30032
2024-09-18 15:19:06.271600-0400 barriers[30032:126234] SecTaskCopyDebugDescription: barriers[30032]/0#-1 LF=0
[2024-09-18T15:19:06] INFO: drag and drop enabled
started server (IPv4/IPv6), waiting for clients
2024-09-18 15:19:06.335383-0400 barriers[30032:126234] [Window] Warning: -[NSWindow makeKeyWindow] called on NSWindow 0x7f800b90dad0 which returned NO from -[NSWindow canBecomeKeyWindow].
2024-09-18 15:19:06.337070-0400 barriers[30032:126234] starting cocoa loop
[2024-09-18T15:19:06] ERROR: exception on thread 0x00000004:
libc++abi: terminating due to uncaught exception of type std::exception: std::exception
[2024-09-18T15:19:06] ERROR: process exited with error code: 6
[2024-09-18T15:19:06] INFO: detected process not running, auto restarting
@jeremysaise commented on GitHub (Sep 25, 2024):
I found that on the mac disabling System Settings>Privacy & Secuirty> Local Network> Barrier allows Barrier to start. and had to do this on every reboot. this was with the firewall disabled and enabled with barrier added to the allow list. https://youtu.be/gDDzqCPM0UY
This is my log at the end i disable and re-enable Barriers access to local network
[2024-09-25T13:28:11] INFO: starting client
[2024-09-25T13:28:11] INFO: config file: /private/var/folders/fp/g75tr0_x3vxb1hcfgz69xdw80000gn/T/Barrier.NRzMhH
[2024-09-25T13:28:11] INFO: log level: INFO
[2024-09-25T13:28:11] INFO: drag and drop enabled
[2024-09-25T13:28:11] NOTE: started client
[2024-09-25T13:28:11] NOTE: connecting to '192.168.0.177': 192.168.0.177:24800
[2024-09-25T13:28:11] INFO: OpenSSL 3.0.0 7 sep 2021
[2024-09-25T13:28:11] WARNING: failed to connect to server: cannot connect socket: No route to host
2024-09-25 13:28:11.712 barrierc[635:6419] starting cocoa loop
[2024-09-25T13:28:11] INFO: zeroconf server detected: 192.168.0.177
[2024-09-25T13:28:11] INFO: stopping barrier desktop process
[2024-09-25T13:28:12] NOTE: connecting to '192.168.0.177': 192.168.0.177:24800
[2024-09-25T13:28:12] INFO: OpenSSL 3.0.0 7 sep 2021
[2024-09-25T13:28:16] ERROR: process exited with error code: 9
[2024-09-25T13:28:16] INFO: starting client
[2024-09-25T13:28:16] INFO: config file: /private/var/folders/fp/g75tr0_x3vxb1hcfgz69xdw80000gn/T/Barrier.dMMScr
[2024-09-25T13:28:16] INFO: log level: INFO
[2024-09-25T13:28:16] INFO: drag and drop enabled
[2024-09-25T13:28:16] NOTE: started client
[2024-09-25T13:28:16] NOTE: connecting to '192.168.0.177': 192.168.0.177:24800
[2024-09-25T13:28:16] INFO: OpenSSL 3.0.0 7 sep 2021
[2024-09-25T13:28:16] WARNING: failed to connect to server: cannot connect socket: No route to host
2024-09-25 13:28:16.872 barrierc[668:6814] starting cocoa loop
[2024-09-25T13:28:17] NOTE: connecting to '192.168.0.177': 192.168.0.177:24800
[2024-09-25T13:28:17] INFO: OpenSSL 3.0.0 7 sep 2021
[2024-09-25T13:28:17] WARNING: failed to connect to server: cannot connect socket: No route to host
[2024-09-25T13:28:18] NOTE: connecting to '192.168.0.177': 192.168.0.177:24800
[2024-09-25T13:28:18] INFO: OpenSSL 3.0.0 7 sep 2021
[2024-09-25T13:28:18] WARNING: failed to connect to server: cannot connect socket: No route to host
[2024-09-25T13:28:19] NOTE: connecting to '192.168.0.177': 192.168.0.177:24800
[2024-09-25T13:28:19] INFO: OpenSSL 3.0.0 7 sep 2021
[2024-09-25T13:28:19] WARNING: failed to connect to server: cannot connect socket: No route to host
[2024-09-25T13:28:20] NOTE: connecting to '192.168.0.177': 192.168.0.177:24800
[2024-09-25T13:28:20] INFO: OpenSSL 3.0.0 7 sep 2021
[2024-09-25T13:28:20] WARNING: failed to connect to server: cannot connect socket: No route to host
[2024-09-25T13:28:21] NOTE: connecting to '192.168.0.177': 192.168.0.177:24800
[2024-09-25T13:28:21] INFO: OpenSSL 3.0.0 7 sep 2021
[2024-09-25T13:28:21] WARNING: failed to connect to server: cannot connect socket: No route to host
[2024-09-25T13:28:22] NOTE: connecting to '192.168.0.177': 192.168.0.177:24800
[2024-09-25T13:28:22] INFO: OpenSSL 3.0.0 7 sep 2021
[2024-09-25T13:28:22] WARNING: failed to connect to server: cannot connect socket: No route to host
[2024-09-25T13:28:23] NOTE: connecting to '192.168.0.177': 192.168.0.177:24800
[2024-09-25T13:28:23] INFO: OpenSSL 3.0.0 7 sep 2021
[2024-09-25T13:28:23] WARNING: failed to connect to server: cannot connect socket: No route to host
[2024-09-25T13:28:24] NOTE: connecting to '192.168.0.177': 192.168.0.177:24800
[2024-09-25T13:28:24] INFO: OpenSSL 3.0.0 7 sep 2021
[2024-09-25T13:28:24] WARNING: failed to connect to server: cannot connect socket: No route to host
[2024-09-25T13:28:25] NOTE: connecting to '192.168.0.177': 192.168.0.177:24800
[2024-09-25T13:28:25] INFO: OpenSSL 3.0.0 7 sep 2021
[2024-09-25T13:28:25] WARNING: failed to connect to server: cannot connect socket: No route to host
[2024-09-25T13:28:26] NOTE: connecting to '192.168.0.177': 192.168.0.177:24800
[2024-09-25T13:28:26] INFO: OpenSSL 3.0.0 7 sep 2021
[2024-09-25T13:28:26] WARNING: failed to connect to server: cannot connect socket: No route to host
[2024-09-25T13:28:27] NOTE: connecting to '192.168.0.177': 192.168.0.177:24800
[2024-09-25T13:28:27] INFO: OpenSSL 3.0.0 7 sep 2021
[2024-09-25T13:28:27] WARNING: failed to connect to server: cannot connect socket: No route to host
[2024-09-25T13:28:28] NOTE: connecting to '192.168.0.177': 192.168.0.177:24800
[2024-09-25T13:28:28] INFO: OpenSSL 3.0.0 7 sep 2021
[2024-09-25T13:28:28] WARNING: failed to connect to server: cannot connect socket: No route to host
[2024-09-25T13:28:29] NOTE: connecting to '192.168.0.177': 192.168.0.177:24800
[2024-09-25T13:28:29] INFO: OpenSSL 3.0.0 7 sep 2021
[2024-09-25T13:28:29] WARNING: failed to connect to server: cannot connect socket: No route to host
[2024-09-25T13:28:30] NOTE: connecting to '192.168.0.177': 192.168.0.177:24800
[2024-09-25T13:28:30] INFO: OpenSSL 3.0.0 7 sep 2021
[2024-09-25T13:28:30] WARNING: failed to connect to server: cannot connect socket: No route to host
[2024-09-25T13:28:31] NOTE: connecting to '192.168.0.177': 192.168.0.177:24800
[2024-09-25T13:28:31] INFO: OpenSSL 3.0.0 7 sep 2021
[2024-09-25T13:28:31] WARNING: failed to connect to server: cannot connect socket: No route to host
[2024-09-25T13:28:32] NOTE: connecting to '192.168.0.177': 192.168.0.177:24800
[2024-09-25T13:28:32] INFO: OpenSSL 3.0.0 7 sep 2021
[2024-09-25T13:28:32] WARNING: failed to connect to server: cannot connect socket: No route to host
[2024-09-25T13:28:33] NOTE: connecting to '192.168.0.177': 192.168.0.177:24800
[2024-09-25T13:28:33] INFO: OpenSSL 3.0.0 7 sep 2021
[2024-09-25T13:28:33] WARNING: failed to connect to server: cannot connect socket: No route to host
[2024-09-25T13:28:34] NOTE: connecting to '192.168.0.177': 192.168.0.177:24800
[2024-09-25T13:28:34] INFO: OpenSSL 3.0.0 7 sep 2021
[2024-09-25T13:28:34] WARNING: failed to connect to server: cannot connect socket: No route to host
[2024-09-25T13:28:35] NOTE: connecting to '192.168.0.177': 192.168.0.177:24800
[2024-09-25T13:28:35] INFO: OpenSSL 3.0.0 7 sep 2021
[2024-09-25T13:28:35] WARNING: failed to connect to server: cannot connect socket: No route to host
[2024-09-25T13:28:36] NOTE: connecting to '192.168.0.177': 192.168.0.177:24800
[2024-09-25T13:28:36] INFO: OpenSSL 3.0.0 7 sep 2021
[2024-09-25T13:28:36] WARNING: failed to connect to server: cannot connect socket: No route to host
[2024-09-25T13:28:37] NOTE: connecting to '192.168.0.177': 192.168.0.177:24800
[2024-09-25T13:28:37] INFO: OpenSSL 3.0.0 7 sep 2021
[2024-09-25T13:28:38] NOTE: server fingerprint: 04:28:BF:65:B5:AA:3C:BA:2C:D5:26:4D:C3:53:B0:92:53:AF:E1:46
[2024-09-25T13:28:38] NOTE: trustedServersFilename: /Users/22x/Library/Application Support/barrier/SSL/Fingerprints/TrustedServers.txt
[2024-09-25T13:28:38] NOTE: Opened trustedServersFilename: /Users/22x/Library/Application Support/barrier/SSL/Fingerprints/TrustedServers.txt
[2024-09-25T13:28:38] NOTE: Fingerprint matches trusted fingerprint
[2024-09-25T13:28:38] INFO: connected to secure socket
[2024-09-25T13:28:38] INFO: server ssl certificate info: /CN=Barrier
[2024-09-25T13:28:38] INFO: AES256-GCM-SHA384 TLSv1.2 Kx=RSA Au=RSA Enc=AESGCM(256) Mac=AEAD
[2024-09-25T13:28:38] WARNING: cursor may not be visible
@jeremysaise commented on GitHub (Sep 25, 2024):
After adding Barrier to System Settings>Privacy and security> Developer Tools it now starts normally.