mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #4713] 请教一个问题:如何监听客户端frpc和frps的通信状态 #3721
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#3721
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 @ebfming on GitHub (Mar 15, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4713
Describe the feature request
使用场景:我通过远程修改frpc.ini配置文件,结果不小心改错了,也没测试直接更新了服务
结果导致客户端和服务端无法握手...
为避免这种情况,我想要写一个sh脚本,用来监听frpc和frps的通信状态,如果发现frpc和frps无法通信,那么
1、通过原来的frpc.ini.bak恢复现在用的frpc.ini
2、通过 systemctl restart frpc 重启程序
我想知道frp有提供类似的接口来监听状态吗?
Describe alternatives you've considered
No response
Affected area
@aila00814 commented on GitHub (Mar 16, 2025):
可以使用客户端管理界面查看客户端的proxy状态 根据状态判断frpc和frps的通信状态
@github-actions[bot] commented on GitHub (Mar 30, 2025):
Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.