SagerNet / sing-box

The universal proxy platform
https://sing-box.sagernet.org/
Other
20.15k stars 2.4k forks source link

alpha.11无法使用clash api、alpha.12 direct问题 #2267

Closed Lobs1994 closed 1 week ago

Lobs1994 commented 1 week ago

Operating system

Windows

System version

win11

Installation type

Original sing-box Command Line

If you are using a graphical client, please provide the version of the client.

1.11.0-alpha.11、12

Version

No response

Description

alpha.11无法使用clash api,但网络方面正常。 alpha.12无法正常使用direct,但使用本地优选cf可正常访问外网,无法访问命中direct规则的网址。 alpha.10无这两个版本的错误。

Reproduction

"outbounds": [ { "type": "direct", "tag": "direct" }, ] "dns": { { "tag": "local", "address": "223.6.6.6", "detour": "direct" }, }

Logs

[37mDEBUG [0m[0042] [ [38;5;48m4212431095 [0m 1ms] dns: lookup domain www.baidu.com
[37mDEBUG [0m[0042] [ [38;5;48m4212431095 [0m 1ms] router: match[1] outbound=any => route(ali)
[37mDEBUG [0m[0042] [ [38;5;48m4212431095 [0m 1ms] router: match[1] => route(ali)
[37mDEBUG [0m[0042] [ [38;5;48m4212431095 [0m 1ms] outbound/direct[direct]: outbound packet connection to 223.6.6.6:53
[37mDEBUG [0m[0042] [ [38;5;48m4212431095 [0m 5ms] dns: lookup failed for www.baidu.com: dial udp 223.6.6.6:53: no route to internet
[31mERROR [0m[0042] [ [38;5;48m4212431095 [0m 5ms] router: outbound/direct[direct]: dial udp 223.6.6.6:53: no route to internet
[37mDEBUG [0m[0054] [ [38;5;231m1791278336 [0m 50.77s] router: connection closed: outbound/selector[proxy]: context canceled
[37mDEBUG [0m[0054] [ [38;5;227m2172962523 [0m 50.55s] router: connection closed: outbound/selector[proxy]: context canceled

Supporter

Integrity requirements

Lobs1994 commented 1 week ago

alpha.13已修复