Skip to content

[Bug] load-balance 连续 fail 触发 healthcheck #2564

@Brbrbr1995

Description

@Brbrbr1995

验证步骤

  • 我已经阅读了 文档,了解所有我编写的配置文件项的含义,而不是大量堆砌看似有用的选项或默认值。
  • 我仔细看过 文档 并未解决问题
  • 我已在 Issue Tracker 中寻找过我要提出的问题,并且没有找到
  • 我是中文用户,而非其他语言用户
  • 我已经使用最新的 Alpha 分支版本测试过,问题依旧存在
  • 我提供了可以在本地重现该问题的服务器、客户端配置文件与流程,而不是一个脱敏的复杂客户端配置文件。
  • 我提供了可用于重现我报告的错误的最简配置,而不是依赖远程服务器或者堆砌大量对于复现无用的配置等。
  • 我提供了完整的日志,而不是出于对自身智力的自信而仅提供了部分认为有用的部分。
  • 我直接使用 Mihomo 命令行程序重现了错误,而不是使用其他工具或脚本。

操作系统

Windows

系统版本

win 10 x64

Mihomo 版本

1.19.20

配置文件

- name: ''
    type: load-balance
    strategy: round-robin
    disable-udp: false
    interval: 0
    timeout: 3000
    lazy: true
    url: "https://www.google.com/"
    proxies:
    use:
      - INT

描述

如题
出现很久了不是新版本的问题

重现方式

.

日志

time="2026-02-11T14:44:20.829692500+08:00" level=debug msg="Health Checked, proxy: 🇩🇪DE²_4|1.9MB/s  |6%|GPT⁺|YT-US|TK|NF|X|Succeed|[原生|机房], url: https://www.google.com/, alive: false, delay: 65535 ms uid: {9d55e599-8c2e-4039-b151-9446d7262202}"
time="2026-02-11T14:44:20.857334100+08:00" level=debug msg="Health Checked, proxy: 🇫🇮FI²_1|1.0MB/s  |6%|GPT⁺|X|Succeed|[广播|机房], url: https://www.google.com/, alive: false, delay: 65535 ms uid: {9d55e599-8c2e-4039-b151-9446d7262202}"
time="2026-02-11T14:44:21.056066000+08:00" level=debug msg="Health Checked, proxy: 🇮🇩ID²_1|1.3MB/s  |4%|GPT⁺|YT-CN|X|Succeed|[广播|机房], url: https://www.google.com/, alive: false, delay: 65535 ms uid: {9d55e599-8c2e-4039-b151-9446d7262202}"
time="2026-02-11T14:44:21.280527800+08:00" level=debug msg="Health Checked, proxy: 🇻🇳VN²_2|0.9MB/s  |GPT⁺|GM|YT-US|NF|X|Succeed|[原生|机房], url: https://www.google.com/, alive: false, delay: 65535 ms uid: {9d55e599-8c2e-4039-b151-9446d7262202}"
time="2026-02-11T14:44:21.504217700+08:00" level=debug msg="use specified fingerprint:Chrome"
time="2026-02-11T14:44:23.663184600+08:00" level=debug msg="Health Checked, proxy: 🇺🇸US²_2|3.0MB/s  |26%|GPT⁺|YT-CN|TK|NF|X|Succeed|[原生|商宽], url: https://www.google.com/, alive: false, delay: 65535 ms uid: {9d55e599-8c2e-4039-b151-9446d7262202}"
time="2026-02-11T14:44:24.743304100+08:00" level=debug msg="Health Checked, proxy: 🇷🇺RU²_2|2.1MB/s  |0%|GPT|YT-GB|TK|NF|X|Succeed|[广播|住宅拨号], url: https://www.google.com/, alive: false, delay: 65535 ms uid: {9d55e599-8c2e-4039-b151-9446d7262202}"
time="2026-02-11T14:44:25.214523100+08:00" level=debug msg="Health Checked, proxy: 🇷🇺RU²_3|1.6MB/s  |YT|X|Succeed|[原生|机房], url: https://www.google.com/, alive: false, delay: 65535 ms uid: {9d55e599-8c2e-4039-b151-9446d7262202}"
time="2026-02-11T14:44:25.215154900+08:00" level=debug msg="Finish A Health Checking {9d55e599-8c2e-4039-b151-9446d7262202}"
time="2026-02-11T14:44:25.219449200+08:00" level=debug msg="ProxyGroup: ⚖ first failed"
time="2026-02-11T14:44:25.220587100+08:00" level=debug msg="ProxyGroup: ⚖ failed count: 2"
time="2026-02-11T14:44:25.228892400+08:00" level=debug msg="ProxyGroup: ⚖ failed count: 3"
time="2026-02-11T14:44:25.229600000+08:00" level=debug msg="ProxyGroup: ⚖ failed count: 4"
time="2026-02-11T14:44:25.232431000+08:00" level=debug msg="ProxyGroup: ⚖ failed count: 5"
time="2026-02-11T14:44:25.238158700+08:00" level=warning msg="because ⚖ failed multiple times, active health check"
time="2026-02-11T14:44:25.239162700+08:00" level=debug msg="ProxyGroup: ⚖ first failed"
time="2026-02-11T14:44:25.249629200+08:00" level=debug msg="ProxyGroup: ⚖ failed count: 2"
time="2026-02-11T14:44:25.250182400+08:00" level=debug msg="ProxyGroup: ⚖ failed count: 3"
time="2026-02-11T14:44:25.250723300+08:00" level=debug msg="ProxyGroup: ⚖ failed count: 4"
time="2026-02-11T14:44:25.251860300+08:00" level=debug msg="ProxyGroup: ⚖ failed count: 5"
time="2026-02-11T14:44:25.252452600+08:00" level=warning msg="because ⚖ failed multiple times, active health check"
time="2026-02-11T14:44:25.253033300+08:00" level=debug msg="ProxyGroup: ⚖ first failed"
time="2026-02-11T14:44:25.254142100+08:00" level=debug msg="ProxyGroup: ⚖ failed count: 2"
time="2026-02-11T14:45:13.656951000+08:00" level=debug msg="Start New Health Checking {810e9b29-255d-48c0-8e5b-f9ae9d8a0749}"
time="2026-02-11T14:45:13.657963600+08:00" level=debug msg="Health Checking, proxy: 🇮🇳IN²_1|1.5MB/  s|GPT⁺|YT-CN|NF|X|Succeed|[广播|机房], url: https://www.google.com/, id: {810e9b29-255d-48c0-8e5b-f9ae9d8a0749}"
time="2026-02-11T14:45:13.658008000+08:00" level=debug msg="Health Checking, proxy: 🇩🇪DE²_2|2.9MB/  s|6%|GPT⁺|YT-US|TK|NF|X|Succeed|[原生|机房], url: https://www.google.com/, id: {810e9b29-255d-48c0-8e5b-f9ae9d8a0749}"
time="2026-02-11T14:45:13.658008000+08:00" level=debug msg="Health Checking, proxy: 🇺🇸US²_1|1.6MB/  s|GPT⁺|GM|YT|TK|NF|X|Succeed|[原生|机房], url: https://www.google.com/, id: {810e9b29-255d-48c0-8e5b-f9ae9d8a0749}"
time="2026-02-11T14:45:13.658008000+08:00" level=debug msg="Health Checking, proxy: 🇫🇷FR²_1|2.1MB/  s|3%|GPT⁺|GM|YT-MA|TK|NF|X|Succeed|[广播|机房], url: https://www.google.com/, id: {810e9b29-255d-48c0-8e5b-f9ae9d8a0749}"
time="2026-02-11T14:45:13.658008000+08:00" level=debug msg="Health Checking, proxy: 🇩🇪DE²_1|0.5MB/  s|6%|GPT⁺|YT-US|TK|NF|X|Succeed|[原生|机房], url: https://www.google.com/, id: {810e9b29-255d-48c0-8e5b-f9ae9d8a0749}"
time="2026-02-11T14:45:13.658008000+08:00" level=debug msg="Health Checking, proxy: 🇸🇪SE²_1|1.2MB/  s|0%|GPT⁺|YT-LT|TK|NF|D+|X|Succeed|[广播|商宽], url: https://www.google.com/, id: {810e9b29-255d-48c0-8e5b-f9ae9d8a0749}"
time="2026-02-11T14:45:13.658008000+08:00" level=debug msg="Health Checking, proxy: 🇦🇪AE²_1|0.6MB/  s|0%|GPT⁺|GM|YT|TK|NF|X|Succeed|[广播|商宽], url: https://www.google.com/, id: {810e9b29-255d-48c0-8e5b-f9ae9d8a0749}"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions