mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #2658] Failure on tcp connection [ssh/http] periodically around 5 minutes #2120
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#2120
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 @benrich-su on GitHub (Nov 15, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2658
Bug Description
Failure on tcp connection [ssh/http] periodically around 5 minutes as below from frp server logs
2021/11/15 15:04:10 [W] [proxy.go:176] [4e2a89d35d7690b2] [richzealand_ssh] listener is closed: accept tcp [::]:50000: use of closed network connection
2021/11/15 15:09:52 [W] [proxy.go:176] [4e2a89d35d7690b2] [richzealand_ssh] listener is closed: accept tcp [::]:50000: use of closed network connection
2021/11/15 16:34:53 [W] [proxy.go:176] [4e2a89d35d7690b2] [richzealand_ssh] listener is closed: accept tcp [::]:50000: use of closed network connection
2021/11/15 16:39:51 [W] [proxy.go:176] [4e2a89d35d7690b2] [richzealand_ssh] listener is closed: accept tcp [::]:50000: use of closed network connection
2021/11/15 16:44:34 [W] [proxy.go:176] [4e2a89d35d7690b2] [richzealand_ssh] listener is closed: accept tcp [::]:50000: use of closed network connection
2021/11/15 16:49:38 [W] [proxy.go:176] [4e2a89d35d7690b2] [richzealand_ssh] listener is closed: accept tcp [::]:50000: use of closed network connection
2021/11/15 16:54:41 [W] [proxy.go:176] [4e2a89d35d7690b2] [richzealand_ssh] listener is closed: accept tcp [::]:50000: use of closed network connection
2021/11/15 17:00:19 [W] [proxy.go:176] [4e2a89d35d7690b2] [richzealand_ssh] listener is closed: accept tcp [::]:50000: use of closed network connection
2021/11/15 17:05:13 [W] [proxy.go:176] [4e2a89d35d7690b2] [richzealand_ssh] listener is closed: accept tcp [::]:50000: use of closed network connection
2021/11/15 17:10:21 [W] [proxy.go:176] [4e2a89d35d7690b2] [richzealand_ssh] listener is closed: accept tcp [::]:50000: use of closed network connection
2021/11/15 17:15:04 [W] [proxy.go:176] [4e2a89d35d7690b2] [richzealand_ssh] listener is closed: accept tcp [::]:50000: use of closed network connection
2021/11/15 17:30:51 [W] [proxy.go:176] [4e2a89d35d7690b2] [richzealand_ssh] listener is closed: accept tcp [::]:50000: use of closed network connection
2021/11/15 17:35:44 [W] [proxy.go:176] [4e2a89d35d7690b2] [richzealand_ssh] listener is closed: accept tcp [::]:50000: use of closed network connection
2021/11/15 17:40:33 [W] [proxy.go:176] [4e2a89d35d7690b2] [richzealand_ssh] listener is closed: accept tcp [::]:50000: use of closed network connection
2021/11/15 17:45:51 [W] [proxy.go:176] [4e2a89d35d7690b2] [richzealand_ssh] listener is closed: accept tcp [::]:50000: use of closed network connection
2021/11/15 17:51:04 [W] [proxy.go:176] [4e2a89d35d7690b2] [richzealand_ssh] listener is closed: accept tcp [::]:50000: use of closed network connection
2021/11/15 17:56:00 [W] [proxy.go:176] [4e2a89d35d7690b2] [richzealand_ssh] listener is closed: accept tcp [::]:50000: use of closed network connection
2021/11/15 18:01:24 [W] [proxy.go:176] [4e2a89d35d7690b2] [richzealand_ssh] listener is closed: accept tcp [::]:50000: use of closed network connection
frpc Version
0.38.0
frps Version
0.38.0
System Architecture
windows/amd64
Configurations
frps.ini
[common]
bind_port = 7000
#bind_udp_port = 7000
token = token
vhost_http_port = 8080
vhost_https_port = 8081
#dashboard config
dashboard_port = 7001
dashboard_user = frpserver
dashboard_pwd = frplinux
enable_prometheus = true
#log
log_file = /var/log/frps.log
log_level = info
log_max_days = 3
frpc.ini
[common]
server_addr = custom.domain.com
server_port = 7000
token = token
#log
log_level = info
log_file = /var/log/frpc.log
log_max_days = 3
#[p2p_ssh]
#type = xtcp
#sk = token
#local_ip = 192.168.1.20
#local_port = 22
[ssh]
type = tcp
local_ip = 192.168.1.20
local_port = 22
remote_port = 50000
[web_http]
type = http
local_ip = 192.168.1.20
local_port = 80
custom_domains = custom.domain.com
remote_port = 8080
[web_https]
type = https
local_ip = 192.168.1.20
local_port = 443
custom_domains = custom.domain.com
#subdomain = frp
remote_port = 8081
Logs
No response
Steps to reproduce
...
Affected area
@github-actions[bot] commented on GitHub (Dec 16, 2021):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.