mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #928] 服务端异常关闭 #736
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#736
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 @zhanggangbz on GitHub (Sep 20, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/928
What version of frp are you using (./frpc -v or ./frps -v)?
0.20.0
What operating system and processor architecture are you using (
go env)?windows server 2008 X64
从release下载的编译好的服务端二进制文件X86
Configures you used:
服务端配置:
[common]
bind_addr = 0.0.0.0
bind_port = 9990
bind_udp_port = 9991
kcp_bind_port = 9990
vhost_http_port = 9992
vhost_https_port = 9993
dashboard_addr = 0.0.0.0
dashboard_port = 9994
dashboard_user = user
dashboard_pwd = password
log_file = ./frps.log
log_level = info
log_max_days = 3
token = token
allow_ports = 40000-50000
max_pool_count = 5
max_ports_per_client = 0
authentication_timeout = 900
subdomain_host = xxx.xxx.xxx
tcp_mux = true
Steps to reproduce the issue:
未知
Describe the results you received:
服务端部分日志:
2018/09/20 20:36:36 [I] [proxy.go:87] [a80c3510ca1fc5af] [p2p_ssh1] get a new work connection: []
2018/09/20 20:36:37 [I] [proxy.go:87] [a80c3510ca1fc5af] [p2p_ssh1] get a new work connection: []
2018/09/20 21:13:30 [I] [proxy.go:87] [a80c3510ca1fc5af] [p2p_ssh1] get a new work connection: []
2018/09/20 21:13:32 [I] [proxy.go:87] [a80c3510ca1fc5af] [p2p_ssh1] get a new work connection: []
2018/09/20 21:15:14 [I] [control.go:220] [8ef7ff1d4bbb2519] control writer is closing
2018/09/20 21:15:14 [I] [control.go:292] [8ef7ff1d4bbb2519] client exit success
2018/09/20 23:08:48 [I] [service.go:128] frps tcp listen on 0.0.0.0:9990
2018/09/20 23:08:48 [I] [service.go:137] frps kcp listen on udp 0.0.0.0:9990
2018/09/20 23:08:49 [I] [service.go:161] http service listen on 0.0.0.0:9992
远端部分日志:
2018/09/20 22:57:52 [D] [control.go:340] [a80c3510ca1fc5af] send heartbeat to server
2018/09/20 22:57:52 [D] [control.go:361] [a80c3510ca1fc5af] receive heartbeat from server
2018/09/20 22:58:22 [D] [control.go:340] [a80c3510ca1fc5af] send heartbeat to server
2018/09/20 22:58:22 [D] [control.go:361] [a80c3510ca1fc5af] receive heartbeat from server
2018/09/20 22:58:34 [E] [control.go:152] [a80c3510ca1fc5af] work connection closed, EOF
2018/09/20 22:58:34 [D] [control.go:285] [a80c3510ca1fc5af] read from control connection EOF
2018/09/20 22:58:34 [I] [control.go:308] [a80c3510ca1fc5af] control writer is closing
2018/09/20 22:58:34 [I] [control.go:407] [a80c3510ca1fc5af] try to reconnect to server...
2018/09/20 22:58:35 [W] [control.go:410] [a80c3510ca1fc5af] reconnect to server error: dial tcp : connectex: No connection could be made because the target machine actively refused it.
2018/09/20 22:58:36 [I] [control.go:407] [a80c3510ca1fc5af] try to reconnect to server...
2018/09/20 22:58:38 [W] [control.go:410] [a80c3510ca1fc5af] reconnect to server error: dial tcp : connectex: No connection could be made because the target machine actively refused it.
2018/09/20 22:58:40 [I] [control.go:407] [a80c3510ca1fc5af] try to reconnect to server...
2018/09/20 22:58:41 [W] [control.go:410] [a80c3510ca1fc5af] reconnect to server error: dial tcp : connectex: No connection could be made because the target machine actively refused it.
近端部分日志:
2018/09/20 21:13:23 [I] [visitor.go:286] [p2p_ssh_visitor1] nat hole connection make success, sid [15374492106882852b16deffb1]
2018/09/20 21:13:24 [I] [visitor.go:286] [p2p_ssh_visitor1] nat hole connection make success, sid [1537449212f9bee702a4aa1572]
2018/09/20 23:04:15 [I] [proxy_manager.go:300] proxy removed: []
2018/09/20 23:04:15 [I] [proxy_manager.go:310] proxy added: []
2018/09/20 23:04:15 [I] [proxy_manager.go:333] visitor removed: []
2018/09/20 23:04:15 [I] [proxy_manager.go:342] visitor added: [p2p_ssh_visitor1 p2p_http_visitor1]
2018/09/20 23:04:16 [W] [control.go:113] login to server failed: dial tcp : connectex: No connection could be made because the target machine actively refused it.
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
服务端运行于某云服务器之上,晚上9点时候使用还是正常的,通过xtcp方式连接的远端远程桌面
有点事情,连接方(visitor)客户端直接关机
10点再连的时候就连不上了,登陆服务器发现已经没有frps进程了,日志如上
服务之前一直正常运行,从未出现该问题
@shellus commented on GitHub (Oct 9, 2018):
提供的信息不足以定位和重现问题。