[GH-ISSUE #1778] xtcp问题 #1406

Closed
opened 2026-05-05 12:53:23 -06:00 by gitea-mirror · 13 comments
Owner

Originally created by @TomLiu-GitHub on GitHub (Apr 25, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/1778

Originally assigned to: @yuyulei on GitHub.

xtcp现在可用性已经很好了
我提两个问题

  1. user参数后无法连接其他user的,比如去掉user参数,因为指定的server_name会被带上user。
  2. 家里的路由和公司的路由都能穿透了,但是不能穿透移动热点,每次在外出差没外网用移动热点就无法穿透。

非常感谢frp作者,给我工作生活带来了很多便利。

Originally created by @TomLiu-GitHub on GitHub (Apr 25, 2020). Original GitHub issue: https://github.com/fatedier/frp/issues/1778 Originally assigned to: @yuyulei on GitHub. xtcp现在可用性已经很好了 我提两个问题 1. user参数后无法连接其他user的,比如去掉user参数,因为指定的server_name会被带上user。 2. 家里的路由和公司的路由都能穿透了,但是不能穿透移动热点,每次在外出差没外网用移动热点就无法穿透。 > 非常感谢frp作者,给我工作生活带来了很多便利。
gitea-mirror 2026-05-05 12:53:23 -06:00
Author
Owner

@TomLiu-GitHub commented on GitHub (Apr 26, 2020):

2020/04/26 14:20:06 [W] [visitor.go:281] [1e2671f079a1ca5d] [p2p_ssh_toMyBook] get sid from client error: read udp 192.168.1.112:54722->xxx.xxx.xxx.xxx:22769: i/o timeout
2020/04/26 14:29:25 [W] [visitor.go:281] [1e2671f079a1ca5d] [p2p_ssh_toMyBook] get sid from client error: read udp 192.168.1.112:63865->xxx.xxx.xxx.xxx:23663: i/o timeout
2020/04/26 14:29:33 [W] [visitor.go:281] [1e2671f079a1ca5d] [p2p_ssh_toMyBook] get sid from client error: read udp 192.168.1.112:57179->xxx.xxx.xxx.xxx:23676: i/o timeout
2020/04/26 17:02:15 [W] [visitor.go:281] [1e2671f079a1ca5d] [p2p_ssh_toMyBook] get sid from client error: read udp 192.168.1.112:62000->xxx.xxx.xxx.xxx:23118: i/o timeout
2020/04/26 17:02:25 [E] [visitor.go:251] [1e2671f079a1ca5d] [p2p_ssh_toMyPc] natHoleRespMsg get error info: xtcp server for [TomLiuPC.p2p_Mstsc] doesn't exist
2020/04/26 17:02:27 [W] [visitor.go:281] [1e2671f079a1ca5d] [p2p_ssh_toMyBook] get sid from client error: read udp 192.168.1.112:57186->xxx.xxx.xxx.xxx:23133: i/o timeout

<!-- gh-comment-id:619513767 --> @TomLiu-GitHub commented on GitHub (Apr 26, 2020): 2020/04/26 14:20:06 [W] [visitor.go:281] [1e2671f079a1ca5d] [p2p_ssh_toMyBook] get sid from client error: read udp 192.168.1.112:54722->xxx.xxx.xxx.xxx:22769: i/o timeout 2020/04/26 14:29:25 [W] [visitor.go:281] [1e2671f079a1ca5d] [p2p_ssh_toMyBook] get sid from client error: read udp 192.168.1.112:63865->xxx.xxx.xxx.xxx:23663: i/o timeout 2020/04/26 14:29:33 [W] [visitor.go:281] [1e2671f079a1ca5d] [p2p_ssh_toMyBook] get sid from client error: read udp 192.168.1.112:57179->xxx.xxx.xxx.xxx:23676: i/o timeout 2020/04/26 17:02:15 [W] [visitor.go:281] [1e2671f079a1ca5d] [p2p_ssh_toMyBook] get sid from client error: read udp 192.168.1.112:62000->xxx.xxx.xxx.xxx:23118: i/o timeout 2020/04/26 17:02:25 [E] [visitor.go:251] [1e2671f079a1ca5d] [p2p_ssh_toMyPc] natHoleRespMsg get error info: xtcp server for [TomLiuPC.p2p_Mstsc] doesn't exist 2020/04/26 17:02:27 [W] [visitor.go:281] [1e2671f079a1ca5d] [p2p_ssh_toMyBook] get sid from client error: read udp 192.168.1.112:57186->xxx.xxx.xxx.xxx:23133: i/o timeout
Author
Owner

@TomLiu-GitHub commented on GitHub (Apr 26, 2020):

昨天一天一直成功
今天一天各种环境一次都不成功

<!-- gh-comment-id:619563702 --> @TomLiu-GitHub commented on GitHub (Apr 26, 2020): 昨天一天一直成功 今天一天各种环境一次都不成功
Author
Owner

@fatedier commented on GitHub (Apr 27, 2020):

  1. 目前的设计是这样,只能连接同一个用户的服务,如果确实有较多这方面的需求,可以考虑开放这个限制。
  2. xtcp 成功率较低和网络环境相关,目前没有太多精力去优化这块。
<!-- gh-comment-id:619699749 --> @fatedier commented on GitHub (Apr 27, 2020): 1. 目前的设计是这样,只能连接同一个用户的服务,如果确实有较多这方面的需求,可以考虑开放这个限制。 2. xtcp 成功率较低和网络环境相关,目前没有太多精力去优化这块。
Author
Owner

@TomLiu-GitHub commented on GitHub (Apr 27, 2020):

我觉得xtcp是趋势,点对点传输带宽最优.

<!-- gh-comment-id:619700526 --> @TomLiu-GitHub commented on GitHub (Apr 27, 2020): 我觉得xtcp是趋势,点对点传输带宽最优.
Author
Owner

@TomLiu-GitHub commented on GitHub (Apr 27, 2020):

昨天下午一直连接不成功,今天突然就连接成功了.
连接成功后,带宽利用率高.远程办公体验非常好.

<!-- gh-comment-id:619701324 --> @TomLiu-GitHub commented on GitHub (Apr 27, 2020): 昨天下午一直连接不成功,今天突然就连接成功了. 连接成功后,带宽利用率高.远程办公体验非常好.
Author
Owner

@fatedier commented on GitHub (Apr 29, 2020):

支持跨用户访问 @yuyulei

<!-- gh-comment-id:620965103 --> @fatedier commented on GitHub (Apr 29, 2020): 支持跨用户访问 @yuyulei
Author
Owner

@TomLiu-GitHub commented on GitHub (May 4, 2020):

xtcp很难成功,偶尔成功一次连接上,但是一段断开,然后就要看运气了.

<!-- gh-comment-id:623269804 --> @TomLiu-GitHub commented on GitHub (May 4, 2020): xtcp很难成功,偶尔成功一次连接上,但是一段断开,然后就要看运气了.
Author
Owner

@lurry71 commented on GitHub (May 7, 2020):

xtcp现在可用性已经很好了
我提两个问题

  1. user参数后无法连接其他user的,比如去掉user参数,因为指定的server_name会被带上user。
  2. 家里的路由和公司的路由都能穿透了,但是不能穿透移动热点,每次在外出差没外网用移动热点就无法穿透。

非常感谢frp作者,给我工作生活带来了很多便利。

我在家就一直不能穿透,我家用的是宽带通,华为拨号器。你的配置是什么样的?

<!-- gh-comment-id:625018421 --> @lurry71 commented on GitHub (May 7, 2020): > xtcp现在可用性已经很好了 > 我提两个问题 > > 1. user参数后无法连接其他user的,比如去掉user参数,因为指定的server_name会被带上user。 > 2. 家里的路由和公司的路由都能穿透了,但是不能穿透移动热点,每次在外出差没外网用移动热点就无法穿透。 > > > 非常感谢frp作者,给我工作生活带来了很多便利。 我在家就一直不能穿透,我家用的是宽带通,华为拨号器。你的配置是什么样的?
Author
Owner

@aoinokodou commented on GitHub (May 10, 2020):

我现在也遇到了和你一样的问题,我服务器端frps搭建在阿里云服务器端,frpc服务端在家里,visitor在公司放着,xtcp从来就没有失败过...然后最近要给朋友搞,怎么设置都是超时的...我拿家里另一台设备做frpc visitor也是超时的,连的都是同一个frpc服务端,但是放公司这台从来没有失败过,太迷了,我现在觉得可能还是路由器的问题

<!-- gh-comment-id:626284582 --> @aoinokodou commented on GitHub (May 10, 2020): 我现在也遇到了和你一样的问题,我服务器端frps搭建在阿里云服务器端,frpc服务端在家里,visitor在公司放着,xtcp从来就没有失败过...然后最近要给朋友搞,怎么设置都是超时的...我拿家里另一台设备做frpc visitor也是超时的,连的都是同一个frpc服务端,但是放公司这台从来没有失败过,太迷了,我现在觉得可能还是路由器的问题
Author
Owner

@lurry71 commented on GitHub (May 11, 2020):

我改用ZeroTier了

广告???

<!-- gh-comment-id:626448043 --> @lurry71 commented on GitHub (May 11, 2020): > 我改用ZeroTier了 广告???
Author
Owner

@TomLiu-GitHub commented on GitHub (May 11, 2020):

我改用ZeroTier了

广告???

工具而已,不存在广告一说.
我用windows,是不是说给微软打广告?

感谢frp,非常好用!同时我也是go语言爱好者,这个项目给我带来很大帮助.

<!-- gh-comment-id:626448638 --> @TomLiu-GitHub commented on GitHub (May 11, 2020): > > 我改用ZeroTier了 > > 广告??? 工具而已,不存在广告一说. 我用windows,是不是说给微软打广告? 感谢frp,非常好用!同时我也是go语言爱好者,这个项目给我带来很大帮助.
Author
Owner

@TomLiu-GitHub commented on GitHub (May 11, 2020):

我现在也遇到了和你一样的问题,我服务器端frps搭建在阿里云服务器端,frpc服务端在家里,visitor在公司放着,xtcp从来就没有失败过...然后最近要给朋友搞,怎么设置都是超时的...我拿家里另一台设备做frpc visitor也是超时的,连的都是同一个frpc服务端,但是放公司这台从来没有失败过,太迷了,我现在觉得可能还是路由器的问题

你和我一样,服务器端frps搭建在阿里云,公司和家里都是电信,公司路由h3c家里华为,这几个月基本上都在家,用远程桌面连接成功的时候一直连着,断开后怎么都连接不上,貌似和公司多wlan有关,看日志貌似是因为没有及时更新ip

<!-- gh-comment-id:626462772 --> @TomLiu-GitHub commented on GitHub (May 11, 2020): > 我现在也遇到了和你一样的问题,我服务器端frps搭建在阿里云服务器端,frpc服务端在家里,visitor在公司放着,xtcp从来就没有失败过...然后最近要给朋友搞,怎么设置都是超时的...我拿家里另一台设备做frpc visitor也是超时的,连的都是同一个frpc服务端,但是放公司这台从来没有失败过,太迷了,我现在觉得可能还是路由器的问题 你和我一样,服务器端frps搭建在阿里云,公司和家里都是电信,公司路由h3c家里华为,这几个月基本上都在家,用远程桌面连接成功的时候一直连着,断开后怎么都连接不上,貌似和公司多wlan有关,看日志貌似是因为没有及时更新ip
Author
Owner

@Alex-Beng commented on GitHub (Aug 4, 2021):

我也遇到这个问题了,改了下frpc服务端的frpc.service 的User=nobody为User=root就解决了。。。还挺玄学的。

<!-- gh-comment-id:892506730 --> @Alex-Beng commented on GitHub (Aug 4, 2021): 我也遇到这个问题了,改了下frpc服务端的frpc.service 的User=nobody为User=root就解决了。。。还挺玄学的。
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/frp#1406
No description provided.