Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Barrier Stuck At "Barrier Is Starting" #480

Closed
Ryan-Te opened this issue Oct 28, 2019 · 53 comments
Closed

Barrier Stuck At "Barrier Is Starting" #480

Ryan-Te opened this issue Oct 28, 2019 · 53 comments

Comments

@Ryan-Te
Copy link

Ryan-Te commented Oct 28, 2019

So i installed it on both my windows 7 and ubuntu machines. i set up a server on the win pc but when i try to connect on my linux pc it gets stuck at "Barrier Is starting". i have ubuntu 18.04.3 LTS

Here Is the log:
Qt: Session management error: None of the authentication protocols specified are supported
("-f", "--no-tray", "--debug", "INFO", "--name", "Ryan-Ubuntu", "--enable-crypto", "[192.168.0.135]:24800")
("-f", "--no-tray", "--debug", "INFO", "--name", "Ryan-Ubuntu", "--enable-crypto", "[192.168.0.135]:24800")
("-f", "--no-tray", "--debug", "INFO", "--name", "Ryan-Ubuntu", "--enable-crypto", "[192.168.0.135]:24800")
("-f", "--no-tray", "--debug", "INFO", "--name", "Ryan-Ubuntu", "--enable-crypto", "[192.168.0.152]:24800")

@kylergibson
Copy link

I had similar issue, but I did not look at the log to see what it said.

How I resolved it, is on the server machine select configure server and delete all machines that are in "Screens and links". Once I did that and reloaded barrier on both machines it was working. Hope this helps.

@minhmoc
Copy link

minhmoc commented Nov 5, 2019

I just recently have the same issue.
I make it work just by adding new computer on the Configure Server, and name that computer with the same name appeared in client machine (for example in your case the name should be set to Ryan-Ubuntu). Then reload and it works perfectly.
Hope this help.

@BrickmanRodrigo
Copy link

I just recently have the same issue.
I make it work just by adding new computer on the Configure Server, and name that computer with the same name appeared in client machine (for example in your case the name should be set to Ryan-Ubuntu). Then reload and it works perfectly.
Hope this help.

Having the same issue and this one worked for me, thanks

@Ryan-Te
Copy link
Author

Ryan-Te commented Nov 8, 2019

I just recently have the same issue.
I make it work just by adding new computer on the Configure Server, and name that computer with the same name appeared in client machine (for example in your case the name should be set to Ryan-Ubuntu). Then reload and it works perfectly.
Hope this help.

I Tried This And It Worked! Thanks

@Ryan-Te Ryan-Te closed this as completed Nov 8, 2019
@Rahul-Yogi
Copy link

I just recently have the same issue.
I make it work just by adding new computer on the Configure Server, and name that computer with the same name appeared in client machine (for example in your case the name should be set to Ryan-Ubuntu). Then reload and it works perfectly.
Hope this help.

Awesome man, it worked for me too. I was stuck from last hour or so. Thanks a ton.... :)

@edegaudenzi
Copy link

I just recently have the same issue.
I make it work just by adding new computer on the Configure Server, and name that computer with the same name appeared in client machine (for example in your case the name should be set to Ryan-Ubuntu). Then reload and it works perfectly.
Hope this help.

Worked here as well, cheers!

@wgmao
Copy link

wgmao commented Mar 25, 2020

I just recently have the same issue.
I make it work just by adding new computer on the Configure Server, and name that computer with the same name appeared in client machine (for example in your case the name should be set to Ryan-Ubuntu). Then reload and it works perfectly.
Hope this help.

Amazing ! (Win10 as server, Ubuntu16 as client)

@zeerd
Copy link

zeerd commented May 6, 2020

I got the same problem. and after I drag the icon to add a new computer, it wouldn't work, too.
But, when I closed the SSL, it works.

@verajosemanuel
Copy link

verajosemanuel commented Jun 9, 2020

[SOLVED ]same here, added a screen on server config with the name of the client computer, reloaded, but client is stuck on "Barrier is starting".
Server is connected to network via RJ45 cable, but Client via WIFI. Both to same router

SOLVED DISABLING FIREWALL

@livejamie
Copy link

I got the same problem. and after I drag the icon to add a new computer, it wouldn't work, too.
But, when I closed the SSL, it works.

Disabling SSL fixed it for me as well.

@Aerglonus
Copy link

Aerglonus commented Aug 14, 2020

[SOLVED ]same here, added a screen on server config with the name of the client computer, reloaded, but client is stuck on "Barrier is starting".
Server is connected to network via RJ45 cable, but Client via WIFI. Both to same router
SOLVED DISABLING FIREWALL

[SOLVED] [ EXTRA SOLUTION]
I had the same setup and disabling windows firewall worked but to keep windows firewall running i added an Inbound rule to the 24800 port (the one that barrier is using) in Windows defender firewall with advanced security after that barrier started to work again with firewall enabled again.

@jsantosdias
Copy link

Hello! Tried everything: Disabling SSL, Disabling Firewall and nothing... What can I do?

@toty88
Copy link

toty88 commented Sep 16, 2020

I cant seem to make it work from Windows 10 (server) to arch (client). I Tried doing what @minhmoc says, I tried disabling firewall completely and ssl but still no results. I keep getting 'Barrier is starting' on arch!
I know there's got something to do with Windows cause I tried it from two arch machines and it worked flawlessly!

@chingham
Copy link

Tried everything too and still have this problem with macOS (Server) and Windows 10 (Client)

@ryukinix
Copy link

I just recently have the same issue.
I make it work just by adding new computer on the Configure Server, and name that computer with the same name appeared in client machine (for example in your case the name should be set to Ryan-Ubuntu). Then reload and it works perfectly.
Hope this help.

In my opinion that should be on FAQ.

@thesurajkamble
Copy link

I got the same problem. and after I drag the icon to add a new computer, it wouldn't work, too.
But, when I closed the SSL, it works.

yes this one and one solution by @minhmoc worked for me.

@ccsben
Copy link

ccsben commented Nov 25, 2020

In my case, because I've tried multiple times starting and closing Barrier on the Windows machine as the server, the application doesn't actually exist. So make sure there is not an existing barrier process running in task manager. Then start barrier again which should be able to run.

@iFreilicht
Copy link

When you're installing barrier as a snap, don't install it via a UI! Install it via the terminal like so:

snap install --devmode barrier

This will circumvent all security sandboxing snap normally applies to an install, which prevents barrier from accessing the network socket properly. I'm sure there's a way to fix this when building the snap package, but as a workaround, this was good enough for me.

@maxiberta
Copy link

maxiberta commented Dec 7, 2020

When you're installing barrier as a snap, don't install it via a UI! Install it via the terminal like so:

snap install --devmode barrier

This will circumvent all security sandboxing snap normally applies to an install, which prevents barrier from accessing the network socket properly. I'm sure there's a way to fix this when building the snap package, but as a workaround, this was good enough for me.

Installing the snap with --devmode is dangerous and defeats the whole idea behind snaps security; it should only be done for debugging and diagnosing issues. I use this snap daily with no issues myself, fwiw. Here's a complete guide to debugging issues with snaps. Also, check that the network interface/permission is connected/granted, via snap connections barrier.

@iFreilicht
Copy link

@maxiberta It didn't really matter in my case, this was on a temporary machine with no important data, but you're right, it's not the right way. I tried uninstalling and reinstalling again, and I did check the permissions as you suggested, and this time it worked out of the box without any fiddling. Very strange, not sure what caused it to break the first time around.

@ishridharhegde
Copy link

I just recently have the same issue.
I make it work just by adding new computer on the Configure Server, and name that computer with the same name appeared in client machine (for example in your case the name should be set to Ryan-Ubuntu). Then reload and it works perfectly.
Hope this help.

Tried this and it works like a charm.
Thank You

@abhagsain
Copy link

I had the same issues. After an hour of searching Internet I got it working.

My server is Windows 10 and Client is MacOS Catalina.
Barrier was picking up the wrong IP Address which was my Ethernet IP Address.

image

So make sure you run ipconfig on the server, in my case it's Windows 10
and see the correct IP Address Under Wireless LAN adapter Wi-Fi IPV4 address.

image

Make sure you give the same Screen Name

In my case the name is mac (Windows 10 Screenshot)

image

Mac OS Screenshot

image

I had problems if my Wifi is set to password protected (which is just my mobile hotspot). So to get around that I made it public and limited the connections to it.

That's it. I hope it helps somebody :)

@ravihlb
Copy link

ravihlb commented Jun 6, 2021

Had the same problem, the issue was that both computers had the almost exact same screen name (one being Title Cased, the other not), fixed by using different screen names.

@aboode95
Copy link

aboode95 commented Jun 8, 2021

When you're installing barrier as a snap, don't install it via a UI! Install it via the terminal like so:
snap install --devmode barrier
This will circumvent all security sandboxing snap normally applies to an install, which prevents barrier from accessing the network socket properly. I'm sure there's a way to fix this when building the snap package, but as a workaround, this was good enough for me.

Installing the snap with --devmode is dangerous and defeats the whole idea behind snaps security; it should only be done for debugging and diagnosing issues. I use this snap daily with no issues myself, fwiw. Here's a complete guide to debugging issues with snaps. Also, check that the network interface/permission is connected/granted, via snap connections barrier.

could you please explain how we can fix this without the devmode?

I cannot understand where to look for this network socket security issue in snap

@aboode95
Copy link

aboode95 commented Jun 21, 2021

okay, I got it working by disabling "auto-config" and using the other ip address from the server barrier in "server ip".

@juanmartin
Copy link

In my case, for some reason Windows disabled Network Discovery. I realized this because I couldn't share files over my LAN.
In Windows I went to the Network folder and I was prompted if I wanted to enable network discovery and file sharing for my (private) network and everything got fixed.

@Shisah
Copy link

Shisah commented Aug 17, 2021

Another cause of this issue is having a registered keystroke that points to a screen that does not exist, in my case i had a switch to screen to one i deleted.

@gnpaone
Copy link

gnpaone commented Aug 28, 2021

I got the same problem. and after I drag the icon to add a new computer, it wouldn't work, too.
But, when I closed the SSL, it works.

How to disable/close SSL?

@Moh-Snoussi
Copy link

Windows Server to Ubuntu Client:
I solved the problem by getting the server IP from windows -> network status -> properties of the currently connected connection -> scroll down and copy the IPv4 address, this is our server address that need to be entered in the Ubuntu client section.
the only problem that I face is windows mouse does not work well on ubuntu. but I can use shortcuts!!!

@sderose
Copy link

sderose commented Dec 10, 2021

I think I've now tried everything above. I can't turn off the firewall on one machine, because company; however, Mac privacy/security panel says barrier is allowed through. Get nowhere with that machine as server; if I make a different Mac the server, and that one a client, it autoconfigs and claimed to be connected and running, but the client still says "barrier is starting", and nothing works. MacOS Big Sur all around.

@ShashaankHari
Copy link

ShashaankHari commented Jan 19, 2022

I'm connecting between 2 arch linux (garuda) devices, on one device barrier is running but on other device its stuck at "barrier is starting", tried all the steps above..
In the server mode it is running but on client mode it's stuck at starting on both devices..
Server mode works, client mode doesn't

@Midnex
Copy link

Midnex commented Feb 21, 2022

Wish there was more info on how to resolve these issues. It should be as simple as adding a hostname or ip, and then showing what side of your computer that computer is on. I came here as this was highly recommended software. But can't even get it to work on a local network out of the box.

@franva
Copy link

franva commented Mar 26, 2022

I got the same problem. and after I drag the icon to add a new computer, it wouldn't work, too. But, when I closed the SSL, it works.

this one works for me~! thanks ~!

@gnpaone
Copy link

gnpaone commented Mar 26, 2022

I got the same problem. and after I drag the icon to add a new computer, it wouldn't work, too. But, when I closed the SSL, it works.

this one works for me~! thanks ~!

How did you do it? Any brief explanation or link please?

@franva
Copy link

franva commented Mar 27, 2022

I got the same problem. and after I drag the icon to add a new computer, it wouldn't work, too. But, when I closed the SSL, it works.

this one works for me~! thanks ~!

How did you do it? Any brief explanation or link please?

From the menu, click "Change Configuration". You are welcome :)

@egemenertugrul
Copy link

Disabling SSL and 'Reload'ing from the server solved the issue for me.

@rafaeltgt
Copy link

It did work after disabling SSL in Barrier config

@martinszeltins
Copy link

martinszeltins commented Jul 16, 2022

I just recently have the same issue.
I make it work just by adding new computer on the Configure Server, and name that computer with the same name appeared in client machine (for example in your case the name should be set to Ryan-Ubuntu). Then reload and it works perfectly.
Hope this help.

Thank you @minhmoc I was having the same issue and adding the client manually to my server config made it work. I was banging my head against the wall why it wasn't working.

@ryancheta
Copy link

I just recently have the same issue. I make it work just by adding new computer on the Configure Server, and name that computer with the same name appeared in client machine (for example in your case the name should be set to Ryan-Ubuntu). Then reload and it works perfectly. Hope this help.

OK.... so after you create the new client in the server config, do you delete the original client that appeared? Do we reload just the server or both client and server?

@minhmoc
Copy link

minhmoc commented Dec 3, 2022 via email

@karass2
Copy link

karass2 commented Jan 9, 2023

In my case the server side (Windows 10) of Barrier, which was properly setup and working fine, just stopped. Log showed "ERROR: ipc connection error, connection refused" message and none of the above has worked for me.

In Task Manager, under the Services tab, I found Barrier service, which was for some reason stopped. Right click on that service and choose Start. Problem solved.

@Amarel-Taylor-Scott
Copy link

Had a similar problem between Linux Mint and OSX.

Tried all the methods here and it still didn't work, but for some reason, it started working after I opened the "Network Settings" options and disabled then enabled both wireless and Wifi on my client computer (Linux Mint).

@zencore
Copy link

zencore commented Feb 2, 2023

Another potential solution: Just dropping my solution incase anyone else has tried all of the others, without any luck.

It turns out I was running multiple instances of barrier on each computer (server and client). Check any tray icons you have to check that you are only running one. Or just reboot both to make sure 🙂👍

@robywoo
Copy link

robywoo commented Feb 23, 2023

I was running both on 2 Macs - client was stuck on "starting" So I finally stopped Barrier on the server and stopped it also on the client then restarted both and the client started working

@NitroHxC
Copy link

NitroHxC commented Mar 7, 2023

Thank you. Disabling SSL worked for me with Win10 as Server and Ubuntu 22.04 as Client.

@franva
Copy link

franva commented Mar 25, 2023

I got the same issue but my 2 OSs are:
Server: Ubuntu 20.04
Client: RPi BullEye 64Bit OS

Solution:
I disabled SSL + manually typed in my server ip, then restarted the Barrier.

@Michelangelo-Foresta
Copy link

I had similar issue, but I did not look at the log to see what it said.

How I resolved it, is on the server machine select configure server and delete all machines that are in "Screens and links". Once I did that and reloaded barrier on both machines it was working. Hope this helps.

<3 you are the best.

@PJK2011
Copy link

PJK2011 commented Mar 26, 2023

It took me having to apply just about all of the suggestions in this thread and really paying attention to detail. What got it finally working for me was clicking to Save Configuration. I hadn't been doing that, and especially not noticing that closing the GUI wasn't stopping Barrier and several copies of Barrier were running with different configurations, after closing them all out and rechecking all the menus and dialog boxes, I found one of them still had the SSH box checked. Once I cleared that, Barrier started running.

@VioletSnow08
Copy link

I got the same problem. and after I drag the icon to add a new computer, it wouldn't work, too. But, when I closed the SSL, it works.

Thank you!!!

@fbrinker
Copy link

Thank you for all the hints. Input-Leap isn't an alternatîve for me yet without non-debug binaries. Barrier just works with a Win 11 Server and Arch Client after disabling SSL, but it I searched a while for the SSL option... It's behind Barrier -> Change Settings (F4). I always thought it's the SSL "Fingerprint" option at first... The Barrier Log was very helpful in seeing that it is still trying to use SSL :D

@deanrobin333
Copy link

I managed to get great help from all the advises above. I only needed to do one extra thing. which was to disable SSL. So this is now what worked for me.

  • go to settings and disable ssl on both
  • then on the server machine select configure server and delete all machines that are in "Screens and links". Then click reload
  • then adding new computer on the Configure Server, and name that computer with the same name appeared in client machine then reload and it works perfectly.

@JohnWilliston
Copy link

JohnWilliston commented Feb 3, 2024

I had the same problem trying to get my iMac running macOS Monterey 12.7.3 to connect to my Windows PC running Windows 10 Pro x64. It seems like turning off SSL on the PC acting as a server doesn't work. I had to make sure SSL was enabled and then use the following commands to generate an SSL cert on the Windows machine:

cd %USERPROFILE%\AppData\Local\Barrier\SSL
"C:\Program Files\Git\mingw64\bin\openssl" req -x509 -nodes -days 365 -subj /CN=Barrier -newkey rsa:4096 -keyout Barrier.pem -out Barrier.pem

With that new certificate in place, restarting the server and restarting the client finally gave me the anticipated behavior. The client asked me to confirm the fingerprint of the newly generated cert, and all of a sudden it was working. Yay!

@dasboogles
Copy link

Ran into this just now, and I've collected the top issues that could cause this:

  • SSL is enabled, but no proper SSL configuration provided so it errors
  • Hotkeys for machines that don't exist, clear them or update them
  • Improper IP configuration being detected from your network interface

Any of the above errors can, or will, cause the "Barrier Service" to stop which will prevent your Barrier Server from going from "starting" -> "running". Once you've checked the above, go check your Services for the Barrier service and insure it is running.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests