[GH-ISSUE #1281] Cannot establish connection between server and client #1026

Closed
opened 2026-05-05 07:23:33 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @AntonBock on GitHub (Sep 8, 2021).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1281

What happened?

Barrier worked perfectly for me until we switched IT systems at work, and I no longer have administrator rights. I am therefore assuming that this is the issue, however I am hoping that someone has a fix or workaround.

I am connecting a Windows machine with a machine running Ubuntu 18.04.
I am manually inserting the server IP, and have tried to connect both with and without SSL enabled.
The server is not configured in any way, except for placing the two computers on the interactive grid. Again, this worked fine before the IT change.

Version

v2.3.3

Git commit hash (if applicable)

No response

If applicable, where did you install Barrier from?

The Ubuntu version was installed with snap, using the command sudo snap install barrier

The Windows version was installed with the 2.3.3.exe release

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

Linux, Windows

What OS versions are you using?

Windows 10, Ubuntu 18.04

Relevant log output

#Server log
[2021-09-08T08:29:48] INFO: starting server
[2021-09-08T08:29:48] INFO: config file: C:/Users/aba/AppData/Local/Temp/Barrier.gsovJG
[2021-09-08T08:29:48] INFO: log level: INFO
[2021-09-08T08:29:48] INFO: service command updated
[2021-09-08T08:29:48] INFO: service command updated
[2021-09-08T08:29:48] INFO: got ipc shutdown message
[2021-09-08T08:29:48] NOTE: stopped server
[2021-09-08T08:29:49] INFO: process 3756 was shutdown gracefully
[2021-09-08T08:29:49] INFO: starting new process as privileged user
[2021-09-08T08:29:49] INFO: drag and drop enabled
[2021-09-08T08:29:49] ERROR: failed to get desktop path, no drop target available, error=2
started server (IPv4/IPv6), waiting for clients
server status: active

#Client log
#I've redacted/censored the IP address and port, hope it gives enough info without those.
#The following repeats on a loop
[2021-09-08T08:33:55] NOTE: connecting to '*REDACTED*': *REDACTED*:*REDACTED*
[2021-09-08T08:33:55] WARNING: failed to connect to server: No route to host
[2021-09-08T08:33:56] NOTE: connecting to '*REDACTED*': *REDACTED*:*REDACTED*
[2021-09-08T08:33:56] WARNING: failed to connect to server: No route to host

Any other information

No response

Originally created by @AntonBock on GitHub (Sep 8, 2021). Original GitHub issue: https://github.com/debauchee/barrier/issues/1281 ### What happened? Barrier worked perfectly for me until we switched IT systems at work, and I no longer have administrator rights. I am therefore assuming that this is the issue, however I am hoping that someone has a fix or workaround. I am connecting a Windows machine with a machine running Ubuntu 18.04. I am manually inserting the server IP, and have tried to connect both with and without SSL enabled. The server is not configured in any way, except for placing the two computers on the interactive grid. Again, this worked fine before the IT change. ### Version v2.3.3 ### Git commit hash (if applicable) _No response_ ### If applicable, where did you install Barrier from? The Ubuntu version was installed with snap, using the command `sudo snap install barrier` The Windows version was installed with the 2.3.3.exe release ### What OSes are you seeing the problem on? (Check all that apply) Linux, Windows ### What OS versions are you using? Windows 10, Ubuntu 18.04 ### Relevant log output ```shell #Server log [2021-09-08T08:29:48] INFO: starting server [2021-09-08T08:29:48] INFO: config file: C:/Users/aba/AppData/Local/Temp/Barrier.gsovJG [2021-09-08T08:29:48] INFO: log level: INFO [2021-09-08T08:29:48] INFO: service command updated [2021-09-08T08:29:48] INFO: service command updated [2021-09-08T08:29:48] INFO: got ipc shutdown message [2021-09-08T08:29:48] NOTE: stopped server [2021-09-08T08:29:49] INFO: process 3756 was shutdown gracefully [2021-09-08T08:29:49] INFO: starting new process as privileged user [2021-09-08T08:29:49] INFO: drag and drop enabled [2021-09-08T08:29:49] ERROR: failed to get desktop path, no drop target available, error=2 started server (IPv4/IPv6), waiting for clients server status: active #Client log #I've redacted/censored the IP address and port, hope it gives enough info without those. #The following repeats on a loop [2021-09-08T08:33:55] NOTE: connecting to '*REDACTED*': *REDACTED*:*REDACTED* [2021-09-08T08:33:55] WARNING: failed to connect to server: No route to host [2021-09-08T08:33:56] NOTE: connecting to '*REDACTED*': *REDACTED*:*REDACTED* [2021-09-08T08:33:56] WARNING: failed to connect to server: No route to host ``` ### Any other information _No response_
gitea-mirror 2026-05-05 07:23:33 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@PedanXr commented on GitHub (Sep 10, 2021):

Can you please run CMD.exe on your server and do a ping and a traceroute to your client? (tracert ip-of-client)
And also do the same but the other way around from your client? (traceroute ip-of-server) and post results?

I would like to test if both clients can even reach each other.

<!-- gh-comment-id:916659007 --> @PedanXr commented on GitHub (Sep 10, 2021): Can you please run CMD.exe on your server and do a ping and a traceroute to your client? (tracert ip-of-client) And also do the same but the other way around from your client? (traceroute ip-of-server) and post results? I would like to test if both clients can even reach each other.
Author
Owner

@AntonBock commented on GitHub (Sep 14, 2021):

Hello,
Apologies - I was simply an idiot, who didn't notice that during the IT change, the network was also changed for one computer, but not the other. Switching to the same network fixed it for me facepalm

<!-- gh-comment-id:919082891 --> @AntonBock commented on GitHub (Sep 14, 2021): Hello, Apologies - I was simply an idiot, who didn't notice that during the IT change, the network was also changed for one computer, but not the other. Switching to the same network fixed it for me *facepalm*
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#1026
No description provided.