mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #869] 负载均衡模式下,支持健康检查 #690
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#690
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 @f111fei on GitHub (Aug 2, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/869
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)?
2.0.0
What operating system and processor architecture are you using (
go env)?centos
Configures you used:
Steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
负载均衡模式下,其中一个客户端挂掉了似乎frp依然会访问该客户端,结果是该次请求失败。
比如有10个客户端挂掉了1台之后,可能10分之1的请求是失败的。
Describe the results you expected:
希望客户端挂掉了,会自动选择正常的客户端,最终返回成功的数据
Additional information you deem important (e.g. issue happens only occasionally):
Can you point out what caused this issue (optional)
@fatedier commented on GitHub (Aug 2, 2018):
理论上,frpc 挂了是会将这个 proxy 从 group 中去掉的,如果是要代理的服务挂了,那么目前是会遇到这个问题,所以之后会加入健康检查的功能。
@f111fei commented on GitHub (Aug 2, 2018):
目前 frpc中的一个客户端挂掉之后随机到这个客户端的时候是会有提示的

我可以根据这个提示知道哪个服务挂掉了。 希望之后也能保留这个提示信息。
Thanks
@fatedier commented on GitHub (Dec 9, 2018):
v0.22.0 已支持健康检查。