大佬们帮忙看下 openclash 的 urltest 为什么没生效 - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
OpenWrt 是一个专门面向嵌入式设备的 Linux 发行版。你可以将 OpenWrt 支持的型号的嵌入式设备,比如各种路由器上的系统,换成一个有更多可能性可以折腾的 Linux 系统。
OpenWrt 官方网站
Vesc

大佬们帮忙看下 openclash 的 urltest 为什么没生效

  •  
  •   Vesc 21 天前 804 次点击
    custom_proxy_group= 自动选择`url-test`.*`https://cp.cloudflare.com/generate_204`60,,10
    custom_proxy_group= 香港节点`url-test`(港|HK|hk|Hong Kong|HongKong|hongkong|深港)`https://cp.cloudflare.com/generate_204`60,,10

    按照我的理解,自动选择这个分组匹配所有的节点,每分钟测速,检测到延迟低于当前节点 10ms 直接切换
    香港节点这个分组是根据正则香港的节点,然后一样测速选择节点,但是根据我在面板的观察,自动选择这个分组是自动测速择优节点了,但是香港这个节点一直都是同一个节点,有测速低延迟的也没有自动切换是为什么?写法有问题吗?
    Vesc
        1
    Vesc  
    OP
       21 天前
    看到 openclash 实际生成的解析后的配置应该是没问题的
    - name: "\U0001F1ED\U0001F1F0 香港节点"
    type: url-test
    url: https://cp.cloudflare.com/generate_204
    interval: 60
    tolerance: 10
    proxies:
    - 香港 W01
    - 香港 W02 | IEPL
    - 香港 W03 | IEPL
    - 香港 W04 | IEPL
    - 香港 W05 | IEPL
    - 香港 W06 | x0.8
    - 香港 W07 | x0.8
    - 香港 W08 | x0.8
    - 香港 W09 | IEPL
    - 香港 W10 | IEPL
    - 香港 W11 | IEPL
    Vesc
        2
    Vesc  
    OP
       21 天前
    2026-04-03 23:15:28 [调试] Finish A Health Checking {ec58793c-715c-40d0-aae8-f56c78b81715}
    2026-04-03 23:15:28 [调试] Health Checked, proxy: 香港 W01, url: https://cp.cloudflare.com/generate_204, alive: true, delay: 3737 ms uid: {ec58793c-715c-40d0-aae8-f56c78b81715}
    2026-04-03 23:15:26 [调试] Health Checked, proxy: 香港 W06 | x0.8, url: https://cp.cloudflare.com/generate_204, alive: true, delay: 1834 ms uid: {ec58793c-715c-40d0-aae8-f56c78b81715}
    2026-04-03 23:15:26 [调试] Health Checked, proxy: 香港 W07 | x0.8, url: https://cp.cloudflare.com/generate_204, alive: true, delay: 1617 ms uid: {ec58793c-715c-40d0-aae8-f56c78b81715}
    2026-04-03 23:15:26 [调试] Health Checked, proxy: 香港 W03 | IEPL, url: https://cp.cloudflare.com/generate_204, alive: true, delay: 1371 ms uid: {ec58793c-715c-40d0-aae8-f56c78b81715}
    2026-04-03 23:15:25 [调试] Health Checked, proxy: 香港 W08 | x0.8, url: https://cp.cloudflare.com/generate_204, alive: true, delay: 931 ms uid: {ec58793c-715c-40d0-aae8-f56c78b81715}
    2026-04-03 23:15:25 [信息] [TCP] 192.168.1.100:1044 --> www.youtube.com:443 match DomainSuffix(youtube.com) using YouTube[香港 W03 | IEPL]
    2026-04-03 23:15:25 [调试] [DNS] cache hit v.5.5.6.5.e.1.3.b.hk03-ae5.entry.v51124-1.qpon --> [] AAAA, expire at 2026-04-03 15:15:26
    2026-04-03 23:15:25 [调试] [DNS] cache hit v.5.5.6.5.e.1.3.b.hk03-ae5.entry.v51124-1.qpon --> [206.206.105.145] A, expire at 2026-04-03 15:15:26
    2026-04-03 23:15:25 [调试] [Process] find process error for www.youtube.com: process not found
    2026-04-03 23:15:25 [调试] [Rule] use default rules
    2026-04-03 23:15:25 [调试] Health Checked, proxy: 香港 W04 | IEPL, url: https://cp.cloudflare.com/generate_204, alive: true, delay: 470 ms uid: {ec58793c-715c-40d0-aae8-f56c78b81715}
    2026-04-03 23:15:25 [调试] Health Checked, proxy: 香港 W02 | IEPL, url: https://cp.cloudflare.com/generate_204, alive: true, delay: 461 ms uid: {ec58793c-715c-40d0-aae8-f56c78b81715}
    2026-04-03 23:15:25 [调试] Health Checked, proxy: 香港 W05 | IEPL, url: https://cp.cloudflare.com/generate_204, alive: true, delay: 452 ms uid: {ec58793c-715c-40d0-aae8-f56c78b81715}
    2026-04-03 23:15:25 [信息] [TCP] 192.168.1.100:10098 --> westus-0.in.applicationinsights.azure.com:443 match DomainSuffix(azure.com) using 微软服务[DIRECT]
    2026-04-03 23:15:25 [信息] [TCP] 192.168.1.100:10099 --> westus-0.in.applicationinsights.azure.com:443 match DomainSuffix(azure.com) using 微软服务[DIRECT]
    2026-04-03 23:15:25 [调试] Health Checked, proxy: 香港 W11 | IEPL, url: https://cp.cloudflare.com/generate_204, alive: true, delay: 242 ms uid: {ec58793c-715c-40d0-aae8-f56c78b81715}
    2026-04-03 23:15:25 [调试] Health Checked, proxy: 香港 W10 | IEPL, url: https://cp.cloudflare.com/generate_204, alive: true, delay: 396 ms uid: {ec58793c-715c-40d0-aae8-f56c78b81715}日志中也有测速日志,但是没有切换节点
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     994 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 45ms UTC 22:51 PVG 06:51 LAX 15:51 JFK 18:51
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86