[GH-ISSUE #869] 负载均衡模式下,支持健康检查 #690

Closed
opened 2026-05-05 12:26:42 -06:00 by gitea-mirror · 3 comments
Owner

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)

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)**
gitea-mirror 2026-05-05 12:26:42 -06:00
  • closed this issue
  • added the
    todo
    label
Author
Owner

@fatedier commented on GitHub (Aug 2, 2018):

理论上,frpc 挂了是会将这个 proxy 从 group 中去掉的,如果是要代理的服务挂了,那么目前是会遇到这个问题,所以之后会加入健康检查的功能。

<!-- gh-comment-id:409853775 --> @fatedier commented on GitHub (Aug 2, 2018): 理论上,frpc 挂了是会将这个 proxy 从 group 中去掉的,如果是要代理的服务挂了,那么目前是会遇到这个问题,所以之后会加入健康检查的功能。
Author
Owner

@f111fei commented on GitHub (Aug 2, 2018):

目前 frpc中的一个客户端挂掉之后随机到这个客户端的时候是会有提示的
image
我可以根据这个提示知道哪个服务挂掉了。 希望之后也能保留这个提示信息。
Thanks

<!-- gh-comment-id:409855538 --> @f111fei commented on GitHub (Aug 2, 2018): 目前 frpc中的一个客户端挂掉之后随机到这个客户端的时候是会有提示的 ![image](https://user-images.githubusercontent.com/7069719/43573368-2917908a-9674-11e8-9837-db34c20b9065.png) 我可以根据这个提示知道哪个服务挂掉了。 希望之后也能保留这个提示信息。 Thanks
Author
Owner

@fatedier commented on GitHub (Dec 9, 2018):

v0.22.0 已支持健康检查。

<!-- gh-comment-id:445547141 --> @fatedier commented on GitHub (Dec 9, 2018): v0.22.0 已支持健康检查。
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#690
No description provided.