mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #1154] MacBook stuck on "barrier is starting" and can not connect to windows PC. #926
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#926
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 @chelan-athlanius on GitHub (May 2, 2021).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1154
Describe the bug

When I try to connect my Mac as a client to my Windows 10 PC, it gets stuck on "barrier is starting" and will not connect. It works perfectly fine the other way around when my mac is the server, but that isn't helpful.
Expected behavior
Mac connects to PC.
Desktop (please complete the following information):
@mtuthill commented on GitHub (May 6, 2021):
I also get this issue
@hdwatts commented on GitHub (May 7, 2021):
This just started happening to me, I believe I had an image in my clipboard that was somehow screwing it up (logs below).
I spammed CTRL+C on some random text on my windows machine a few times to fully reset the clipboard, then restarted the server on my mac, and the server then started successfully.
@chelan-athlanius commented on GitHub (May 7, 2021):
Didn't work.
@stipid commented on GitHub (May 23, 2021):
try to restart windows computer.
@dianjiao03 commented on GitHub (Jun 22, 2021):
Same issue here, and none of the solutions seem to work.
@mhutchins commented on GitHub (Jul 12, 2021):
Same issue - however, restarting the windows PC (master) solved the issue for me.
@NuclearMonster commented on GitHub (Sep 1, 2021):
I had this same issue, thanks for the workaround!
My console log was a little different, there was a hint:
[2021-08-31T18:37:59] FATAL: An error occurred: string too long@reikolydia commented on GitHub (Jan 22, 2022):
Have the same issue, clearing clipboard on server sure did help.
The connections were initially successful, but i cannot move the mouse over to another client from the server as it would simply attempt to restart the process from both client and server and give that "string too long" error. i did not restart any client/server after clearing the clipboard however.
@wesgurn commented on GitHub (Feb 22, 2022):
Can confirm the workaround of clearing the clipboard or copying some small text on the server side restores the client connection and fixes issue.
@juanmartin commented on GitHub (Apr 4, 2022):
In my case clearing Barrier on the server (Windows) logs helped 🤷
My client is mac.
@radieon commented on GitHub (Mar 29, 2023):
Copying some short text to my server's clipboard allowed me to connect to my clients after receiving this same error.
@zhangineer2 commented on GitHub (Apr 25, 2023):
copying short text to my server's clipboard solved the problem for me as well
@jandestiny commented on GitHub (Dec 11, 2023):
Same solution for me: Copying a short text to the clipboard got barrier out of the "string too long" error loop. Weird bug.
@pkxpp commented on GitHub (Feb 6, 2024):
It works!Thanks so much.
@smenendez19 commented on GitHub (Apr 16, 2024):
This works, thanks!
@FurmanSK commented on GitHub (Jul 25, 2024):
Yeah just came across this error. Saw it was converting an image and string too long error. Can we get an option to disable images in clipboard to be ignored? It doesn't even work anyways for me going from win10(server) to mac m2(client).