mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #1973] Error “Failed to connect to server: timed out” ; #1443
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#1443
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 @0thigs on GitHub (Sep 7, 2023).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1973
What happened?
When I try to set up Barrier to share my keyboard and mouse between my Windows 10 server and my Ubuntu 22.04 Linux client, I encounter the error "Failed to connect to server: timed out."
This indicates that communication between my client and the Barrier server is not successfully established within a specific time frame.
Additional Information:
-My Windows 10 server is using an Internet connection via USB tethering from my mobile device.
-Both my devices (server and client) are on the same local network.
-My Barrier client is configured to connect to the Barrier server using both the server's name and its IP address.
I have already tried:
-Disabling SSL on both ends
-Attempted to create a separate configuration file
-Allowed Barrier through the Windows firewall, and even tried disabling the firewall altogether.
Unfortunately, none of these steps have resolved the issue.
LOGS:
NOTE: started client
NOTE: connecting to '192.168.XX.XXX': '192.168.XX.XXX:24800
WARNING: failed to connect to server: Timed out
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, Windows
What OS versions are you using?
Ubuntu 22.04 as Client
Windows 10 as Server
Relevant log output
Any other information
No response
@ETLang commented on GitHub (Sep 11, 2023):
+1 to this. Barrier was working fine for me all last week. and for some reason today I'm getting this problem. I am not using SSL. My Ubuntu machine and my Windows machine are on the same LAN. I am using default settings for almost everything. I made sure no duplicate processes were lurking in the background. I pinged each machine from the other successfully. I stopped/started both client and server in every sequence possible. Still, I get this same error.
@0thigs commented on GitHub (Sep 12, 2023):
Bro, I solved my problem. It was because of the USB Tethering.
Probably the problem was IP I was getting from the USB Tethering, but now I am using a LAN cable and it works.
@0thigs commented on GitHub (Sep 12, 2023):
What are you getting in your LOG?
@ETLang commented on GitHub (Sep 12, 2023):
This morning Barrier decided to work again. I haven't even rebooted. XD Anyway, next time it misbehaves I'll capture the log at the moment, but to answer your question as best I can, it looked identical to the OP's log.
@jonathan-analist commented on GitHub (Mar 24, 2024):
Aparentemente esse erro acontece somente na rede Wifi