mirror of
https://github.com/debauchee/barrier.git
synced 2026-10-23 08:07:53 -06:00
[GH-ISSUE #2138] 客户端 IP 配置正确但反复超时 — 由 DHCP 导致 IP 变更引起 #1850
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#1850
Loading…
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 @poyobi on GitHub (May 10, 2026).
Original GitHub issue: https://github.com/debauchee/barrier/issues/2138
问题描述
客户端反复连接失败,日志如下:
客户端显示服务端 IP 配置正确,服务端也显示 Barrier Server 已启动(server status: active),防火墙规则检查无误。双方重启后问题依然存在。
根本原因
服务端机器被 DHCP 重新分配了 IP,但机器未重启,所以旧 IP 仍在网络中"存活"。客户端实际连接到了占用旧 IP 的另一台设备,TCP 能建立但 TLS 握手无法完成,从而导致反复超时。
完全重启服务端机器(或为服务端分配固定 IP)后可恢复正常连接。
建议
@nbolton commented on GitHub (May 10, 2026):
Barrier 已停止开发。请查看 Deskflow(上游)或 Input Leap(分支)。
https://github.com/deskflow/deskflow
https://github.com/input-leap/input-leap
如果此问题在这些项目中仍然存在,我们希望您能将此问题转发到这些项目中。
Barrier is no longer in development. Check out Deskflow (upstream) or Input Leap (fork).
https://github.com/deskflow/deskflow
https://github.com/input-leap/input-leap
If this is still an issue in those projects, we would appreciate a cross-post of this issue.