mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3424] frps control writer is closing #2742
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#2742
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 @GUMEIK on GitHub (Apr 24, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3424
Bug Description
frps每隔一段时间(大概70s左右)就会断开连接,无法使用,日志打印control writer is closing。断开链接后,大概4mins左右会重新连接
frpc Version
0.38
frps Version
0.38
System Architecture
linux
Configurations
version 0.38.0
BindPort 7000
BindUdpPort disable
Http Port 7080
Https Port 7081
Subdomain Host
Max PoolCount 5
Max Ports Per Client no limit
HeartBeat Timeout 90
Logs
2023/04/24 07:02:10 [W] [proxy.go:101] [899fcde41cf14fca] [nextcloud] failed to get work connection: control is closed
2023/04/24 07:02:21 [I] [dashboard_api.go:185] Http request: [/api/proxy/tcp]
2023/04/24 07:02:21 [I] [dashboard_api.go:179] Http response [/api/proxy/tcp]: code [200]
2023/04/24 07:06:33 [I] [service.go:447] [899fcde41cf14fca] client login info: ip [120.244.42.44:12236] version [0.38.0] hostname [] os [linux] arch [amd64]
2023/04/24 07:06:33 [I] [tcp.go:63] [899fcde41cf14fca] [nextcloud] tcp proxy listen port [9100]
2023/04/24 07:06:33 [I] [control.go:444] [899fcde41cf14fca] new proxy [nextcloud] success
2023/04/24 07:07:09 [I] [proxy.go:179] [899fcde41cf14fca] [nextcloud] get a user connection [120.244.42.44:11808]
2023/04/24 07:07:43 [I] [control.go:307] [899fcde41cf14fca] control writer is closing
2023/04/24 07:07:43 [I] [proxy.go:88] [899fcde41cf14fca] [nextcloud] proxy closing
2023/04/24 07:07:43 [W] [proxy.go:176] [899fcde41cf14fca] [nextcloud] listener is closed: accept tcp [::]:9100: use of closed network connection
2023/04/24 07:07:43 [I] [control.go:382] [899fcde41cf14fca] client exit success
2023/04/24 07:08:17 [I] [dashboard_api.go:70] Http request: [/api/serverinfo]
2023/04/24 07:08:17 [I] [dashboard_api.go:63] Http response [/api/serverinfo]: code [200]
Steps to reproduce
1.查看日志:2023/04/24 07:07:09 [I] [proxy.go:179] [899fcde41cf14fca] [nextcloud] get a user connection [120.244.42.44:11808]
2.查看日志: 2023/04/24 07:07:43 [I] [control.go:307] [899fcde41cf14fca] control writer is closing
Affected area
@Becods commented on GitHub (Apr 26, 2023):
更新你的版本
用其他工具排查是否因为客服网络情况导致
@github-actions[bot] commented on GitHub (May 27, 2023):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
@Crazyokd commented on GitHub (Nov 9, 2023):
没想到我52.3版本又考古到这里来了。
有解决该问题吗?@GUMEIK