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
ghost opened this issue Nov 4, 2021 · 0 comments
Closed

Barrier Stuck At "Barrier Is Starting" #480

ghost opened this issue Nov 4, 2021 · 0 comments

Comments

@ghost
Copy link

ghost commented Nov 4, 2021

This issue has been migrated from old Barrier Github repository debauchee/barrier#480

Issue created on: 2019-10-28 by @Ryan-Te
Issue last updated on: 2021-08-28

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")


Commented on: 2019-11-01 by @kylergibson

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.


Commented on: 2019-11-05 by @minhmoc

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.


Commented on: 2019-11-05 by @BrickmanRodrigo

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


Commented on: 2019-11-08 by @Ryan-Te

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


Commented on: 2019-12-23 by @Rahul-Yogi

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.... :)


Commented on: 2020-03-17 by @edegaudenzi

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!


Commented on: 2020-03-25 by @wgmao

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)


Commented on: 2020-05-06 by @zeerd

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.


Commented on: 2020-06-09 by @verajosemanuel

[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


Commented on: 2020-08-12 by @livejamie

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.


Commented on: 2020-08-14 by @Aerglonus

[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.


Commented on: 2020-09-11 by @jsantosdias

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


Commented on: 2020-09-16 by @toty88

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!


Commented on: 2020-10-19 by @chingham

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


Commented on: 2020-10-21 by @ryukinix

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.


Commented on: 2020-11-05 by @thesurajkamble

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.


Commented on: 2020-11-25 by @ccsben

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.


Commented on: 2020-12-07 by @iFreilicht

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.


Commented on: 2020-12-07 by @maxiberta

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.


Commented on: 2020-12-08 by @iFreilicht

@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.


Commented on: 2021-01-29 by @ishridharhegde

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


Commented on: 2021-03-12 by @abhagsain

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 :)


Commented on: 2021-06-06 by @ravihlb

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.


Commented on: 2021-06-08 by @aboode95

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


Commented on: 2021-06-21 by @aboode95

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


Commented on: 2021-07-13 by @juanmartin

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.


Commented on: 2021-08-17 by @Shisah

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.


Commented on: 2021-08-28 by @gnpaone

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?


Closed on: 2019-11-08 by @Ryan-Te

@ghost ghost closed this as completed Nov 10, 2021
This issue was closed.
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

0 participants