YtFlow/Maple

Fallback 连接报错 handler not found

wgjas2 opened this issue · 2 comments

升级到0.5.0,已经无法正常使用VMessWSS,测试过0.4.0也不行,之前一直正常使用0.3.0(现在证书过期也装不上去了)
问题如下:

  • 直连正常
  • 需要通过代理的全部被断开,VS跟踪结果附在最后

配置文件如下:

[General]
# Log are for debug only
loglevel = trace
# Do not remove tun-fd option
tun-fd = 233
dns-server = 223.5.5.5, 114.114.114.114

[Proxy]
Direct = direct
Reject = reject

VMessWSS = vmess, ..., 443, username=..., ws=true, tls=true, ws-path=/...

[Proxy Group]
Fallback = fallback, VMessWSS, interval=600, timeout=5

[Rule]

EXTERNAL, site:category-ads-all, Reject

IP-CIDR, 8.8.8.8/32, Fallback
DOMAIN, www.google.com, Fallback
DOMAIN-SUFFIX, google.com, Fallback
DOMAIN-KEYWORD, google, Fallback

# 等效于 EXTERNAL, mmdb:us, Fallback
GEOIP, us, Fallback

EXTERNAL, site:geolocation-!cn, Fallback

FINAL, Direct

VS调试输出(Fallback部分):

[2021-09-06 15:55:02][DEBUG] www.google.com matches domain [www.google.com]
[2021-09-06 15:55:02][DEBUG] picked route [Fallback] for 192.168.3.1:52243 -> www.google.com:443
[2021-09-06 15:55:02][DEBUG] handler not found
[2021-09-06 15:55:02][TRACE] netstack tcp shutdown 192.168.3.1:52243
[2021-09-06 15:55:02][TRACE] netstack tcp drop 192.168.3.1:52243
[2021-09-06 15:55:02][TRACE] netstack tcp new 192.168.3.1:50704
[2021-09-06 15:55:02][DEBUG] www.google.com matches domain [www.google.com]
[2021-09-06 15:55:02][DEBUG] picked route [Fallback] for 192.168.3.1:50704 -> www.google.com:443
[2021-09-06 15:55:02][DEBUG] handler not found
[2021-09-06 15:55:02][TRACE] netstack tcp shutdown 192.168.3.1:50704
[2021-09-06 15:55:02][TRACE] netstack tcp drop 192.168.3.1:50704
[2021-09-06 15:55:02][TRACE] netstack tcp new 192.168.3.1:60754
[2021-09-06 15:55:02][DEBUG] www.google.com matches domain [www.google.com]
[2021-09-06 15:55:02][DEBUG] picked route [Fallback] for 192.168.3.1:60754 -> www.google.com:443
[2021-09-06 15:55:02][DEBUG] handler not found
[2021-09-06 15:55:02][TRACE] netstack tcp shutdown 192.168.3.1:60754
[2021-09-06 15:55:02][TRACE] netstack tcp drop 192.168.3.1:60754
[2021-09-06 15:55:02][TRACE] netstack tcp new 192.168.3.1:60596
[2021-09-06 15:55:02][TRACE] netstack tcp new 192.168.3.1:58264
[2021-09-06 15:55:02][DEBUG] [www.gstatic.com] matches domain suffix [gstatic.com]
[2021-09-06 15:55:02][DEBUG] picked route [Fallback] for 192.168.3.1:58264 -> www.gstatic.com:443
[2021-09-06 15:55:02][DEBUG] handler not found

看起来是没有找到Fallback,不知道为啥

bdbai commented

很遗憾地通知您,Leaf 核心在插件系统相关更改中移除了 VMess 支持,并且没有继续支持的计划。(见 eycorsican/leaf#219 eycorsican/leaf#201 )这就导致包含 VMess outbound 的 Proxy Group 会被静默忽略。
目前,Maple 所依赖的修改版 Leaf 回滚了插件系统,并且重新启用了 VMess。请更新到 v0.5.1 再试一下。

非常感谢!经测试v0.5.1已经可以正常使用了,没想到VMess竟然被移除了……