[GH-ISSUE #423] Accept new mux stream error: broken pipe #317

Closed
opened 2026-05-05 12:07:11 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @chuntsky on GitHub (Aug 11, 2017).
Original GitHub issue: https://github.com/fatedier/frp/issues/423

Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly.
(为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。)

Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST

What version of frp are you using (./frpc -v or ./frps -v)?
版本 0.13
下载的包 frp_0.13.0_linux_arm.tar.gz

What operating system and processor architecture are you using (go env)?
系统 centos7

Configures you used:
frps.ini

[common]
bind_port = 7001
tcp_mux = true
vhost_http_port = 80
vhost_https_port = 443
dashboard_port = 7501
dashboard_user = admin
dashboard_pwd = admin7501
privilege_token = 12345679
privilege_allow_ports = 2000-3000,7001

frpc.ini

[common]
server_addr = 123.249.20.198
server_port = 7001
privilege_token = 12345679
[web]
type = http
local_ip = 127.0.0.1
local_port = 80
use_encryption = false
use_compression = true
custom_domains = frp.jtlvhua.com`

控制台输出:
2017/08/11 06:21:02 [I] [service.go:83] frps tcp listen on 0.0.0.0:7001
2017/08/11 06:21:02 [I] [service.go:108] http service listen on 0.0.0.0:80
2017/08/11 06:21:02 [I] [service.go:124] https service listen on 0.0.0.0:443
2017/08/11 06:21:02 [I] [service.go:134] Dashboard listen on 0.0.0.0:7501
2017/08/11 06:21:02 [I] [main.go:112] Start frps success
2017/08/11 06:21:02 [I] [main.go:114] PrivilegeMode is enabled, you should pay more attention to security issues
2017/08/11 06:21:14 [I] [service.go:230] client login info: ip [14.18.157.98:30948] version [0.13.0] hostname [] os [linux] arch [amd64]
2017/08/11 06:21:14 [I] [proxy.go:209] [880aeb074ade5bfe] [web] http proxy listen for host [frp.jtlvhua.com] location []
2017/08/11 06:21:14 [I] [control.go:318] [880aeb074ade5bfe] new proxy [web] success
2017/08/11 06:21:20 [W] [service.go:214] Accept new mux stream error: broken pipe
2017/08/11 06:21:44 [W] [service.go:214] Accept new mux stream error: broken pipe

访问 http://frp.jtlvhua.com:7001/ 总是 输出 Accept new mux stream error: broken pipe
是我 哪里配置错误?
感谢!

Originally created by @chuntsky on GitHub (Aug 11, 2017). Original GitHub issue: https://github.com/fatedier/frp/issues/423 Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly. (为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。) Use the commands below to provide key information from your environment: You do NOT have to include this information if this is a FEATURE REQUEST **What version of frp are you using (./frpc -v or ./frps -v)?** 版本 0.13 下载的包 frp_0.13.0_linux_arm.tar.gz **What operating system and processor architecture are you using (`go env`)?** 系统 centos7 **Configures you used:** frps.ini > [common] bind_port = 7001 tcp_mux = true vhost_http_port = 80 vhost_https_port = 443 dashboard_port = 7501 dashboard_user = admin dashboard_pwd = admin7501 privilege_token = 12345679 privilege_allow_ports = 2000-3000,7001 frpc.ini > [common] server_addr = 123.249.20.198 server_port = 7001 privilege_token = 12345679 [web] type = http local_ip = 127.0.0.1 local_port = 80 use_encryption = false use_compression = true custom_domains = frp.jtlvhua.com` 控制台输出: 2017/08/11 06:21:02 [I] [service.go:83] frps tcp listen on 0.0.0.0:7001 2017/08/11 06:21:02 [I] [service.go:108] http service listen on 0.0.0.0:80 2017/08/11 06:21:02 [I] [service.go:124] https service listen on 0.0.0.0:443 2017/08/11 06:21:02 [I] [service.go:134] Dashboard listen on 0.0.0.0:7501 2017/08/11 06:21:02 [I] [main.go:112] Start frps success 2017/08/11 06:21:02 [I] [main.go:114] PrivilegeMode is enabled, you should pay more attention to security issues 2017/08/11 06:21:14 [I] [service.go:230] client login info: ip [14.18.157.98:30948] version [0.13.0] hostname [] os [linux] arch [amd64] 2017/08/11 06:21:14 [I] [proxy.go:209] [880aeb074ade5bfe] [web] http proxy listen for host [frp.jtlvhua.com] location [] 2017/08/11 06:21:14 [I] [control.go:318] [880aeb074ade5bfe] new proxy [web] success 2017/08/11 06:21:20 [W] [service.go:214] Accept new mux stream error: broken pipe 2017/08/11 06:21:44 [W] [service.go:214] Accept new mux stream error: broken pipe 访问 http://frp.jtlvhua.com:7001/ 总是 输出 Accept new mux stream error: broken pipe 是我 哪里配置错误? 感谢!
Author
Owner

@thiner commented on GitHub (Aug 12, 2017):

我也碰到了一样的错误。服务器刚启动的时候是正常的,但是运行一段时间后就会发生这种错误,然后退出。

<!-- gh-comment-id:321955364 --> @thiner commented on GitHub (Aug 12, 2017): 我也碰到了一样的错误。服务器刚启动的时候是正常的,但是运行一段时间后就会发生这种错误,然后退出。
Author
Owner

@fatedier commented on GitHub (Aug 12, 2017):

忽略,连接断开正常提示。

如果有其他问题,描述具体信息。

<!-- gh-comment-id:321959638 --> @fatedier commented on GitHub (Aug 12, 2017): 忽略,连接断开正常提示。 如果有其他问题,描述具体信息。
Author
Owner

@chuntsky commented on GitHub (Aug 14, 2017):

frps.ini
修改如下

vhost_http_port = 8080

frp.jtlvhua.com:8080 访问正常

感谢

@thiner 你可以参照下!

<!-- gh-comment-id:322096087 --> @chuntsky commented on GitHub (Aug 14, 2017): frps.ini 修改如下 > vhost_http_port = 8080 frp.jtlvhua.com:8080 访问正常 感谢 @thiner 你可以参照下!
Author
Owner

@zhangs2018 commented on GitHub (Jan 6, 2018):

把客户端和服务端的时间调成一致,即可解决!

<!-- gh-comment-id:355760199 --> @zhangs2018 commented on GitHub (Jan 6, 2018): 把客户端和服务端的时间调成一致,即可解决!
Author
Owner

@shenzheke commented on GitHub (May 12, 2018):

路由器和vps提示都正常,刚登上时还能看dashboard,再等一会用Chrome登指向路由器的域名加端口,提示未发送任何数据,也不是拒绝连接,以后再换个vps试试

<!-- gh-comment-id:388540866 --> @shenzheke commented on GitHub (May 12, 2018): 路由器和vps提示都正常,刚登上时还能看dashboard,再等一会用Chrome登指向路由器的域名加端口,提示未发送任何数据,也不是拒绝连接,以后再换个vps试试
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#317
No description provided.