[Bug]
Verify Steps
- [x] Tracker 我已经在 Issue Tracker 中找过我要提出的问题
- [x] Branch 我知道 OpenClash 的 Dev 分支切换开关位于插件设置-版本更新中,或者我会手动下载并安装 Dev 分支的 OpenClash
- [x] Latest 我已经使用最新 Dev 版本测试过,问题依旧存在
- [x] Relevant 我知道 OpenClash 与 内核(Core)、控制面板(Dashboard)、在线订阅转换(Subconverter)等项目之间无直接关系,仅相互调用
- [x] Definite 这确实是 OpenClash 出现的问题
- [ ] Contributors 我有能力协助 OpenClash 开发并解决此问题
- [ ] Meaningless 我提交的是无意义的催促更新或修复请求
OpenClash Version
0.46.081
Bug on Environment
Immortalwrt
OpenWrt Version
24.1
Bug on Platform
Linux-amd64(x86-64)
Describe the Bug
启动成功后会出错关闭
To Reproduce
插件运行成功后会报错level=fatal msg="Parse config error: path is not subpath of home directory: /usr/share/openclash/ui"。 在插件设置更新里面更新一下核心会成功启动。启动后又这样。 看核心版本,插件更新是openclash的核心 名称前面带g的。启动后核心变成mihomo名称不带g的版本。 运行后的配置文件又这一条external-ui: "/usr/share/openclash/ui" 我记得以前是没这一条的。
OpenClash Log
OpenClash 调试日志
生成时间: 2025-05-01 17:45:12
插件版本: 0.46.081
隐私提示: 上传此日志前请注意检查、屏蔽公网IP、节点、密码等相关敏感信息
#===================== 系统信息 =====================#
主机型号: Default string Default string
固件版本: ImmortalWrt 24.10.1 r33048-cc720ea55a71
LuCI版本: 25.105.42506~401c185
内核版本: 6.6.86
处理器架构: x86_64
#此项有值时,如不使用IPv6,建议到网络-接口-lan的设置中禁用IPV6的DHCP
IPV6-DHCP: disabled
DNS劫持: Dnsmasq 转发
#DNS劫持为Dnsmasq时,此项结果应仅有配置文件的DNS监听地址
Dnsmasq转发设置:
#===================== 依赖检查 =====================#
dnsmasq-full: 已安装
dnsmasq-full(ipset): 未安装
dnsmasq-full(nftset): 已安装
bash: 已安装
curl: 已安装
ca-bundle: 已安装
ipset: 未安装
ip-full: 已安装
ruby: 已安装
ruby-yaml: 已安装
ruby-psych: 已安装
ruby-pstore: 已安装
kmod-tun(TUN模式): 已安装
luci-compat(Luci >= 19.07): 已安装
kmod-inet-diag(PROCESS-NAME): 已安装
unzip: 已安装
kmod-nft-tproxy: 已安装
#===================== 内核检查 =====================#
运行状态: 未运行
已选择的架构: linux-amd64
#下方无法显示内核版本号时请确认您的内核版本是否正确或者有无权限
Meta内核版本: alpha-791ea5e
Meta内核文件: 存在
Meta内核运行权限: 正常
#===================== 插件设置 =====================#
当前配置文件: /etc/openclash/config/config.yaml
启动配置文件: /etc/openclash/config.yaml
运行模式: fake-ip
默认代理模式: rule
UDP流量转发(tproxy): 启用
自定义DNS: 停用
IPV6代理: 停用
IPV6-DNS解析: 停用
禁用Dnsmasq缓存: 启用
自定义规则: 停用
仅允许内网: 启用
仅代理命中规则流量: 停用
仅允许常用端口流量: 停用
绕过中国大陆IP: 停用
路由本机代理: 启用
#启动异常时建议关闭此项后重试
混合节点: 停用
保留配置: 停用
#启动异常时建议关闭此项后重试
第三方规则: 停用
#===================== 配置文件 =====================#
ip:
type: http
interval: 86400
behavior: ipcidr
format: mrs
ym:
type: http
interval: 86400
behavior: domain
format: mrs
profile:
store-selected: true
store-fake-ip: true
tcp-concurrent: true
unified-delay: true
dns:
ipv6: false
enable: true
cache-algorithm: arc
cache-size: 10000
nameserver:
- https://223.5.*.*/dns-query
nameserver-policy:
rule-set:category-ads-all: rcode://success
fake-ip-filter-mode: blacklist
fake-ip-filter:
- "+.lan"
- "+.local"
- rule-set:cn
enhanced-mode: fake-ip
fake-ip-range: 198.18.*.*/16
listen: 0.0.*.*:7874
proxy-groups:
- name: "♻️自动选择"
type: select
proxies:
- "♻️月付"
- "♻️不限时"
- name: "\U0001F4FAYouTube"
type: select
proxies:
- "♻️月付"
- "♻️不限时"
- name: "♻️不限时"
type: url-test
use:
- 不限时
url: https://www.google.com/generate_204
interval: 180
tolerance: 10
exclude-filter: 到期|官网|更新|超时|返利|收藏|剩余|socks
- name: "♻️月付"
type: url-test
use:
- 月付
url: https://www.google.com/generate_204
interval: 180
tolerance: 10
exclude-filter: 到期|官网|更新|超时|返利|收藏|剩余|socks
- name: "\U0001F4BBAI"
type: url-test
include-all: true
url: https://www.google.com/generate_204
interval: 180
tolerance: 10
exclude-filter: 到期|官网|更新|超时|返利|收藏|剩余|香港|socks|限制|套餐|回家
rules:
- "rule-set,tiktok,\U0001F4BBAI"
- "rule-set,telegram,\U0001F4FAYouTube"
- "rule-set,twitter,\U0001F4FAYouTube"
- "rule-set,youtube,\U0001F4FAYouTube"
- "rule-set,ai,\U0001F4BBAI"
- rule-set,nocn,♻️自动选择
- rule-set,cn,DIRECT
- "rule-set,twitterip,\U0001F4FAYouTube"
- "rule-set,telegramip,\U0001F4FAYouTube"
- "rule-set,aiip,\U0001F4BBAI"
- rule-set,lanip,DIRECT
- rule-set,cnip,DIRECT
- MATCH,♻️自动选择
rule-providers:
category-ads-all:
type: http
interval: 86400
behavior: domain
format: mrs
path: "./rule_provider/category-ads-all.mrs"
url: https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/category-ads-all.mrs
tiktok:
type: http
interval: 86400
behavior: domain
format: mrs
path: "./rule_provider/tiktok.mrs"
url: https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/tiktok.mrs
telegram:
type: http
interval: 86400
behavior: domain
format: mrs
path: "./rule_provider/telegram.mrs"
url: https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/telegram.mrs
twitter:
type: http
interval: 86400
behavior: domain
format: mrs
path: "./rule_provider/twitter.mrs"
url: https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/twitter.mrs
youtube:
type: http
interval: 86400
behavior: domain
format: mrs
path: "./rule_provider/youtube.mrs"
url: https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/youtube.mrs
ai:
type: http
interval: 86400
behavior: domain
format: mrs
path: "./rule_provider/ai.mrs"
url: https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/category-ai-!cn.mrs
nocn:
type: http
interval: 86400
behavior: domain
format: mrs
path: "./rule_provider/nocn.mrs"
url: https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/geolocation-!cn.mrs
cn:
type: http
interval: 86400
behavior: domain
format: mrs
path: "./rule_provider/cn.mrs"
url: https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geosite/cn.mrs
twitterip:
type: http
interval: 86400
behavior: ipcidr
format: mrs
path: "./rule_provider/twitterip.mrs"
url: https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/twitter.mrs
telegramip:
type: http
interval: 86400
behavior: ipcidr
format: mrs
path: "./rule_provider/telegramip.mrs"
url: https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/telegram.mrs
aiip:
type: http
interval: 86400
behavior: ipcidr
format: mrs
path: "./rule_provider/aiip.mrs"
url: https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/ai.mrs
lanip:
type: http
interval: 86400
behavior: ipcidr
format: mrs
path: "./rule_provider/lanip.mrs"
url: https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/private.mrs
cnip:
type: http
interval: 86400
behavior: ipcidr
format: mrs
path: "./rule_provider/cnip.mrs"
url: https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/meta/geo/geoip/cn.mrs
redir-port: 7892
tproxy-port: 7895
port: 7890
socks-port: 7891
mixed-port: 7893
mode: rule
allow-lan: true
external-controller: 0.0.*.*:9090
bind-address: "*"
external-ui: "/usr/share/openclash/ui"
keep-alive-interval: 15
keep-alive-idle: 600
ipv6: false
authentication:
- Clash:PZeVRxbi
#===================== 自定义覆写设置 =====================#
#!/bin/sh
. /usr/share/openclash/ruby.sh
. /usr/share/openclash/log.sh
. /lib/functions.sh
# This script is called by /etc/init.d/openclash
# Add your custom overwrite scripts here, they will be take effict after the OpenClash own srcipts
LOG_OUT "Tip: Start Running Custom Overwrite Scripts..."
LOGTIME=$(echo $(date "+%Y-%m-%d %H:%M:%S"))
LOG_FILE="/tmp/openclash.log"
#Config Path
CONFIG_FILE="$1"
#Simple Demo:
#Key Overwrite Demo
#1--config path
#2--key name
#3--value
#ruby_edit "$CONFIG_FILE" "['redir-port']" "7892"
#ruby_edit "$CONFIG_FILE" "['secret']" "123456"
#ruby_edit "$CONFIG_FILE" "['dns']['enable']" "true"
#ruby_edit "$CONFIG_FILE" "['dns']['proxy-server-nameserver']" "['https://doh.pub/dns-query','https://223.5.*.*:443/dns-query']"
#Hash Overwrite Demo
#1--config path
#2--key name
#3--hash type value
#ruby_edit "$CONFIG_FILE" "['dns']['nameserver-policy']" "{'+.msftconnecttest.com'=>'114.114.*.*', '+.msftncsi.com'=>'114.114.*.*', 'geosite:gfw'=>['https://dns.cloudflare.com/dns-query', 'https://dns.google/dns-query#ecs=1.1.*.*/24&ecs-override=true'], 'geosite:cn'=>['114.114.*.*'], 'geosite:geolocation-!cn'=>['https://dns.cloudflare.com/dns-query', 'https://dns.google/dns-query#ecs=1.1.*.*/24&ecs-override=true']}"
#ruby_edit "$CONFIG_FILE" "['sniffer']" "{'enable'=>true, 'parse-pure-ip'=>true, 'force-domain'=>['+.netflix.com', '+.nflxvideo.net', '+.amazonaws.com', '+.media.dssott.com'], 'skip-domain'=>['+.apple.com', 'Mijia Cloud', 'dlg.io.mi.com', '+.oray.com', '+.sunlogin.net'], 'sniff'=>{'TLS'=>nil, 'HTTP'=>{'ports'=>[80, '8080-8880'], 'override-destination'=>true}}}"
#Hash Merge Demo
#1--config path
#2--key name
#3--hash
#ruby_merge_hash "$CONFIG_FILE" "['proxy-providers']" "'TW'=>{'type'=>'http', 'path'=>'./proxy_provider/TW.yaml', 'url'=>'https://gist.githubusercontent.com/raw/tw_clash', 'interval'=>3600, 'health-check'=>{'enable'=>true, 'url'=>'http://cp.cloudflare.com/generate_204', 'interval'=>300}}"
#ruby_merge_hash "$CONFIG_FILE" "['rule-providers']" "'Reject'=>{'type'=>'http', 'behavior'=>'classical', 'url'=>'https://testingcf.jsdelivr.net/gh/dler-io/Rules@main/Clash/Provider/Reject.yaml', 'path'=>'./rule_provider/Reject', 'interval'=>86400}"
#Array Insert Value Demo:
#1--config path
#2--key name
#3--position(start from 0, end with -1)
#4--value
#ruby_arr_insert "$CONFIG_FILE" "['dns']['nameserver']" "0" "114.114.*.*"
#Array Insert Hash Demo:
#1--config path
#2--key name
#3--position(start from 0, end with -1)
#4--hash
#ruby_arr_insert_hash "$CONFIG_FILE" "['proxy-groups']" "0" "{'name'=>'Disney', 'type'=>'select', 'disable-udp'=>false, 'use'=>['TW', 'SG', 'HK']}"
#ruby_arr_insert_hash "$CONFIG_FILE" "['proxies']" "0" "{'name'=>'HKG 01', 'type'=>'ss', 'server'=>'cc.hd.abc', 'port'=>'12345', 'cipher'=>'aes-128-gcm', 'password'=>'123456', 'udp'=>true, 'plugin'=>'obfs', 'plugin-opts'=>{'mode'=>'http', 'host'=>'microsoft.com'}}"
#ruby_arr_insert_hash "$CONFIG_FILE" "['listeners']" "0" "{'name'=>'name', 'type'=>'shadowsocks', 'port'=>'12345', 'listen'=>'0.0.*.*', 'rule'=>'sub-rule-1', 'proxy'=>'proxy'}"
#Array Insert Other Array Demo:
#1--config path
#2--key name
#3--position(start from 0, end with -1)
#4--array
#ruby_arr_insert_arr "$CONFIG_FILE" "['dns']['proxy-server-nameserver']" "0" "['https://doh.pub/dns-query','https://223.5.*.*:443/dns-query']"
#Array Insert From Yaml File Demo:
#1--config path
#2--key name
#3--position(start from 0, end with -1)
#4--value file path
#5--value key name in #4 file
#ruby_arr_add_file "$CONFIG_FILE" "['dns']['fallback-filter']['ipcidr']" "0" "/etc/openclash/custom/openclash_custom_fallback_filter.yaml" "['fallback-filter']['ipcidr']"
#Delete Array Value Demo:
#1--config path
#2--key name
#3--value
#ruby_delete "$CONFIG_FILE" "['dns']['nameserver']" "114.114.*.*"
#Delete Key Demo:
#1--config path
#2--key name
#3--key name
#ruby_delete "$CONFIG_FILE" "['dns']" "nameserver"
#ruby_delete "$CONFIG_FILE" "" "dns"
#Ruby Script Demo:
#ruby -ryaml -rYAML -I "/usr/share/openclash" -E UTF-8 -e "
# begin
# Value = YAML.load_file('$CONFIG_FILE');
# rescue Exception => e
# puts '${LOGTIME} Error: Load File Failed,【' + e.message + '】';
# end;
#General
# begin
# Thread.new{
# Value['redir-port']=7892;
# Value['tproxy-port']=7895;
# Value['port']=7890;
# Value['socks-port']=7891;
# Value['mixed-port']=7893;
# }.join;
# rescue Exception => e
# puts '${LOGTIME} Error: Set General Failed,【' + e.message + '】';
# ensure
# File.open('$CONFIG_FILE','w') {|f| YAML.dump(Value, f)};
# end" 2>/dev/null >> $LOG_FILE
exit 0
#===================== 自定义防火墙设置 =====================#
#!/bin/sh
. /usr/share/openclash/log.sh
. /lib/functions.sh
# This script is called by /etc/init.d/openclash
# Add your custom firewall rules here, they will be added after the end of the OpenClash iptables rules
LOG_OUT "Tip: Start Add Custom Firewall Rules..."
exit 0
#===================== IPTABLES 防火墙设置 =====================#
#IPv4 NAT chain
#IPv4 Mangle chain
#IPv4 Filter chain
#IPv6 NAT chain
#IPv6 Mangle chain
#IPv6 Filter chain
#===================== NFTABLES 防火墙设置 =====================#
table inet fw4 {
chain input {
type filter hook input priority filter; policy drop;
iif "lo" accept comment "!fw4: Accept traffic from loopback"
ct state vmap { established : accept, related : accept } comment "!fw4: Handle inbound flows"
tcp flags & (fin | syn | rst | ack) == syn jump syn_flood comment "!fw4: Rate limit TCP syn packets"
iifname "br-lan" jump input_lan comment "!fw4: Handle lan IPv4/IPv6 input traffic"
iifname { "eth1", "pppoe-wan" } jump input_wan comment "!fw4: Handle wan IPv4/IPv6 input traffic"
jump handle_reject
}
}
table inet fw4 {
chain forward {
type filter hook forward priority filter; policy drop;
meta l4proto { tcp, udp } flow add @ft
ct state vmap { established : accept, related : accept } comment "!fw4: Handle forwarded flows"
iifname "br-lan" jump forward_lan comment "!fw4: Handle lan IPv4/IPv6 forward traffic"
iifname { "eth1", "pppoe-wan" } jump forward_wan comment "!fw4: Handle wan IPv4/IPv6 forward traffic"
jump handle_reject
}
}
table inet fw4 {
chain dstnat {
type nat hook prerouting priority dstnat; policy accept;
iifname { "eth1", "pppoe-wan" } jump dstnat_wan comment "!fw4: Handle wan IPv4/IPv6 dstnat traffic"
}
}
table inet fw4 {
chain srcnat {
type nat hook postrouting priority srcnat; policy accept;
oifname { "eth1", "pppoe-wan" } jump srcnat_wan comment "!fw4: Handle wan IPv4/IPv6 srcnat traffic"
}
}
table inet fw4 {
chain nat_output {
type nat hook output priority filter - 1; policy accept;
}
}
table inet fw4 {
chain mangle_prerouting {
type filter hook prerouting priority mangle; policy accept;
}
}
table inet fw4 {
chain mangle_output {
type route hook output priority mangle; policy accept;
}
}
#===================== IPSET状态 =====================#
#===================== 路由表状态 =====================#
#IPv4
#route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.*.* 183.142.*.* 0.0.*.* UG 0 0 0 pppoe-wan
183.142.*.* 0.0.*.* 255.255.*.* UH 0 0 0 pppoe-wan
192.168.*.* 0.0.*.* 255.255.*.* U 0 0 0 br-lan
#ip route list
default via 183.142.*.* dev pppoe-wan proto static
183.142.*.* dev pppoe-wan proto kernel scope link src 183.142.*.*
192.168.*.*/24 dev br-lan proto kernel scope link src 192.168.*.*
#ip rule show
0: from all lookup local
32766: from all lookup main
32767: from all lookup default
#IPv6
#route -A inet6
Kernel IPv6 routing table
Destination Next Hop Flags Metric Ref Use Iface
::/0 fe80::*:*:*:100 UG 512 8 0 pppoe-wan
::/0 fe80::*:*:*:100 UG 512 2 0 pppoe-wan
240e:*:*:*::/64 :: U 1024 3 0 br-lan
240e:*:*:*::/60 :: !n 2147483647 1 0 lo
240e:*:*:*::/64 :: !n 2147483647 2 0 lo
fdd5:642c:63d4::/64 :: U 1024 9 0 br-lan
fdd5:642c:63d4::/48 :: !n 2147483647 2 0 lo
fe80::*:*:*:c07d/128 :: U 256 1 0 pppoe-wan
fe80::*:*:*:5e90/128 :: U 256 1 0 pppoe-wan
fe80::/64 :: U 256 1 0 eth1
fe80::/64 :: U 256 9 0 br-lan
::/0 :: !n -1 2 0 lo
::1/128 :: Un 0 10 0 lo
240e:*:*:*::/128 :: Un 0 3 0 br-lan
240e:*:*:*::1/128 :: Un 0 9 0 br-lan
240e:*:*:*::/128 :: Un 0 3 0 pppoe-wan
240e:*:*:*:d34:e3b6:e19b:c07d/128 :: Un 0 4 0 pppoe-wan
fdd5:642c:63d4::/128 :: Un 0 3 0 br-lan
fdd5:642c:63d4::1/128 :: Un 0 5 0 br-lan
fe80::/128 :: Un 0 4 0 eth1
fe80::/128 :: Un 0 3 0 br-lan
fe80::*:*:*:c07d/128 :: Un 0 3 0 pppoe-wan
fe80::*:*:*:5c58/128 :: Un 0 3 0 br-lan
fe80::*:*:*:5c59/128 :: Un 0 4 0 eth1
ff00::/8 :: U 256 9 0 br-lan
ff00::/8 :: U 256 6 0 eth1
ff00::/8 :: U 256 3 0 pppoe-wan
::/0 :: !n -1 2 0 lo
#ip -6 route list
default from 240e:*:*:*::/60 via fe80::200:5eff:fe00:100 dev pppoe-wan proto static metric 512 pref medium
default from 240e:*:*:*::/64 via fe80::200:5eff:fe00:100 dev pppoe-wan proto static metric 512 pref medium
240e:*:*:*::/64 dev br-lan proto static metric 1024 pref medium
unreachable 240e:*:*:*::/60 dev lo proto static metric 2147483647 pref medium
unreachable 240e:*:*:*::/64 dev lo proto static metric 2147483647 pref medium
fdd5:642c:63d4::/64 dev br-lan proto static metric 1024 pref medium
unreachable fdd5:642c:63d4::/48 dev lo proto static metric 2147483647 pref medium
fe80::*:*:*:c07d dev pppoe-wan proto kernel metric 256 pref medium
fe80::*:*:*:5e90 dev pppoe-wan proto kernel metric 256 pref medium
fe80::/64 dev eth1 proto kernel metric 256 pref medium
fe80::/64 dev br-lan proto kernel metric 256 pref medium
#ip -6 rule show
0: from all lookup local
32766: from all lookup main
4200000000: from 240e:*:*:*::1/60 iif br-lan unreachable
#===================== 端口占用状态 =====================#
#===================== 测试本机DNS查询(www.baidu.com) =====================#
Server: 127.0.*.*
Address: 127.0.*.*:53
Non-authoritative answer:
www.baidu.com canonical name = www.a.shifen.com
Name: www.a.shifen.com
Address: 180.101.*.*
Name: www.a.shifen.com
Address: 180.101.*.*
Non-authoritative answer:
www.baidu.com canonical name = www.a.shifen.com
Name: www.a.shifen.com
Address: 240e:*:*:*:0:ff:b0e1:fe69
Name: www.a.shifen.com
Address: 240e:*:*:*:0:ff:b07e:36c5
#===================== 测试内核DNS查询(www.instagram.com) =====================#
Dnsmasq 当前默认 resolv 文件:/tmp/resolv.conf.d/resolv.conf.auto
#===================== /tmp/resolv.conf.auto =====================#
# Interface wan
nameserver 61.130.*.*
nameserver 61.130.*.*
# Interface wan_6
nameserver 240e:1c:200::1
nameserver 240e:1c:200::2
#===================== /tmp/resolv.conf.d/resolv.conf.auto =====================#
# Interface wan
nameserver 61.130.*.*
nameserver 61.130.*.*
# Interface wan_6
nameserver 240e:1c:200::1
nameserver 240e:1c:200::2
#===================== 测试本机网络连接(www.baidu.com) =====================#
HTTP/1.1 200 OK
Bdpagetype: 1
Bdqid: 0xd12b7c70003b9715
Connection: keep-alive
Content-Length: 518026
Content-Type: text/html; charset=utf-8
Date: Thu, 01 May 2025 09:45:12 GMT
Server: BWS/1.1
Set-Cookie: BIDUPSID=896F880A55B78640B1C6F16F95068073; expires=Thu, 31-Dec-37 23:55:55 GMT; max-age=2147483647; path=/; domain=.baidu.com
Set-Cookie: PSTM=1746092712; expires=Thu, 31-Dec-37 23:55:55 GMT; max-age=2147483647; path=/; domain=.baidu.com
Set-Cookie: BDSVRTM=0; path=/
Set-Cookie: BD_HOME=1; path=/
Set-Cookie: BAIDUID=896F880A55B78640B1C6F16F95068073:FG=1; Path=/; Domain=baidu.com; Max-Age=31536000
Set-Cookie: BAIDUID_BFESS=896F880A55B78640B1C6F16F95068073:FG=1; Path=/; Domain=baidu.com; Max-Age=31536000; Secure; SameSite=None
Traceid: 1746092712057335399415072277398407583509
Vary: Accept-Encoding
X-Ua-Compatible: IE=Edge,chrome=1
X-Xss-Protection: 1;mode=block
#===================== 测试本机网络下载(raw.githubusercontent.com) =====================#
HTTP/2 200
cache-control: max-age=300
content-security-policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
content-type: text/plain; charset=utf-8
etag: "f6037a93c68519d7041a3b4df325b61c424ec255b45dfeb063371319e39b0d96"
strict-transport-security: max-age=31536000
x-content-type-options: nosniff
x-frame-options: deny
x-xss-protection: 1; mode=block
x-github-request-id: DDCB:319C2C:145213:3140C0:681342A8
accept-ranges: bytes
date: Thu, 01 May 2025 09:45:13 GMT
via: 1.1 varnish
x-served-by: cache-tyo11979-TYO
x-cache: MISS
x-cache-hits: 0
x-timer: S1746092713.864978,VS0,VE255
vary: Authorization,Accept-Encoding,Origin
access-control-allow-origin: *
cross-origin-resource-policy: cross-origin
x-fastly-request-id: 5b3b10e4a02a3d2f862bbbedd4b261d15b2079a3
expires: Thu, 01 May 2025 09:50:13 GMT
source-age: 0
content-length: 1071
#===================== 最近运行日志(自动切换为Debug模式) =====================#
time="2025-05-01T09:33:01.966356938Z" level=info msg="[TCP] 192.168.*.*:10649 --> optimizationguide-pa.googleapis.com:443 match RuleSet(nocn) using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:02.503934464Z" level=info msg="[TCP] 192.168.*.*:10650 --> imap.qq.com:993 match RuleSet(cn) using DIRECT"
time="2025-05-01T09:33:02.517645822Z" level=info msg="[TCP] 192.168.*.*:10651 --> smtp.qq.com:465 match RuleSet(cn) using DIRECT"
time="2025-05-01T09:33:02.929325059Z" level=info msg="[TCP] 192.168.*.*:10652 --> smtp.qq.com:465 match RuleSet(cn) using DIRECT"
time="2025-05-01T09:33:03.079698323Z" level=info msg="[TCP] 192.168.*.*:10653 --> smtp.qq.com:993 match RuleSet(cn) using DIRECT"
time="2025-05-01T09:33:03.278896763Z" level=info msg="[TCP] 192.168.*.*:10654 --> smtp.qq.com:465 match RuleSet(cn) using DIRECT"
time="2025-05-01T09:33:03.441137904Z" level=info msg="[TCP] 192.168.*.*:10655 --> imap.qq.com:993 match RuleSet(cn) using DIRECT"
time="2025-05-01T09:33:03.509758131Z" level=info msg="[TCP] 192.168.*.*:10656 --> imap.qq.com:993 match RuleSet(cn) using DIRECT"
time="2025-05-01T09:33:05.306631866Z" level=info msg="[TCP] 192.168.*.*:35670 --> android.googleapis.com:443 match RuleSet(nocn) using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:05.800584993Z" level=info msg="[TCP] 192.168.*.*:52450 --> chromesyncpasswords-pa.googleapis.com:443 match RuleSet(nocn) using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:06.751160972Z" level=info msg="[TCP] 192.168.*.*:10657 --> safebrowsing.google.com:443 match RuleSet(nocn) using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:07.724408133Z" level=info msg="[TCP] 192.168.*.*:38948 --> 106.38.*.*:443 match RuleSet(cnip) using DIRECT"
time="2025-05-01T09:33:12.395963206Z" level=info msg="[UDP] 192.168.*.*:52720 --> cn.pool.ntp.org:123 match RuleSet(nocn) using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:12.635755409Z" level=info msg="[TCP] 192.168.*.*:10658 --> ctldl.windowsupdate.com:80 match RuleSet(nocn) using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:12.900157050Z" level=info msg="[TCP] 192.168.*.*:10659 --> http-intake.logs.datadoghq.com:443 match Match using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:13.858569459Z" level=info msg="[TCP] 192.168.*.*:59237 --> 121.228.*.*:443 match RuleSet(cnip) using DIRECT"
time="2025-05-01T09:33:14.810810869Z" level=info msg="[TCP] 192.168.*.*:10660 --> update.googleapis.com:443 match RuleSet(nocn) using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:17.171852329Z" level=info msg="[TCP] 192.168.*.*:26871 --> business.smartcamera.api.io.mi.com:443 match RuleSet(cn) using DIRECT"
time="2025-05-01T09:33:17.391328029Z" level=info msg="[TCP] 192.168.*.*:24928 --> processor.smartcamera.api.io.mi.com:443 match RuleSet(cn) using DIRECT"
time="2025-05-01T09:33:17.810905723Z" level=info msg="[TCP] 192.168.*.*:10661 --> client.wns.windows.com:443 match RuleSet(nocn) using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:19.575681596Z" level=info msg="[TCP] 192.168.*.*:10662 --> android.clients.google.com:443 match RuleSet(nocn) using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:21.564799023Z" level=info msg="[TCP] 192.168.*.*:10663 --> www.googleapis.com:443 match RuleSet(nocn) using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:26.481988878Z" level=info msg="[TCP] 192.168.*.*:10668 --> pubstatic.b0.upaiyun.com:443 match RuleSet(cn) using DIRECT"
time="2025-05-01T09:33:26.489126024Z" level=info msg="[TCP] 192.168.*.*:10669 --> whois.pconline.com.cn:443 match RuleSet(cn) using DIRECT"
time="2025-05-01T09:33:26.495548215Z" level=info msg="[TCP] 192.168.*.*:10677 --> pubstatic.b0.upaiyun.com:443 match RuleSet(cn) using DIRECT"
time="2025-05-01T09:33:26.508666780Z" level=info msg="[TCP] 192.168.*.*:10682 --> www.baidu.com:443 match RuleSet(cn) using DIRECT"
time="2025-05-01T09:33:26.553536683Z" level=info msg="[TCP] 192.168.*.*:10683 --> s1.music.126.net:443 match RuleSet(cn) using DIRECT"
time="2025-05-01T09:33:26.584636466Z" level=info msg="[TCP] 192.168.*.*:10673 --> api.ttt.sh:443 match Match using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:26.612703983Z" level=info msg="[TCP] 192.168.*.*:10681 --> www.youtube.com:443 match RuleSet(youtube) using 📺YouTube[JP-1-Reality]"
time="2025-05-01T09:33:26.617622627Z" level=info msg="[TCP] 192.168.*.*:10675 --> d.skk.moe:443 match Match using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:26.637831661Z" level=info msg="[TCP] 192.168.*.*:10678 --> api.ipify.org:443 match Match using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:26.640004515Z" level=info msg="[TCP] 192.168.*.*:10666 --> api-ipv4.ip.sb:443 match RuleSet(nocn) using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:26.640924528Z" level=info msg="[TCP] 192.168.*.*:10667 --> www.google-analytics.com:443 match RuleSet(nocn) using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:26.643821104Z" level=info msg="[TCP] 192.168.*.*:10676 --> qqwry.api.skk.moe:443 match Match using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:26.648704069Z" level=info msg="[TCP] 192.168.*.*:10680 --> github.com:443 match RuleSet(nocn) using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:26.654543662Z" level=info msg="[TCP] 192.168.*.*:10674 --> translations.matetranslate.com:443 match Match using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:26.662808398Z" level=info msg="[TCP] 192.168.*.*:10679 --> api.ipify.org:443 match Match using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:26.663870489Z" level=info msg="[TCP] 192.168.*.*:10684 --> avatars2.githubusercontent.com:443 match RuleSet(nocn) using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:26.675062655Z" level=info msg="[TCP] 192.168.*.*:10685 --> avatars3.githubusercontent.com:443 match RuleSet(nocn) using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:26.683174315Z" level=info msg="[TCP] 192.168.*.*:10689 --> raw.githubusercontent.com:443 match RuleSet(nocn) using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:26.703159320Z" level=info msg="[TCP] 192.168.*.*:10687 --> avatars0.githubusercontent.com:443 match RuleSet(nocn) using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:26.706370020Z" level=info msg="[TCP] 192.168.*.*:10686 --> avatars1.githubusercontent.com:443 match RuleSet(nocn) using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:26.710695113Z" level=info msg="[TCP] 192.168.*.*:10688 --> avatars.githubusercontent.com:443 match RuleSet(nocn) using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:26.711927179Z" level=info msg="[TCP] 183.142.*.*:37338 --> raw.githubusercontent.com:443 match RuleSet(nocn) using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:26.773027493Z" level=info msg="[TCP] 192.168.*.*:23225 --> business.smartcamera.api.io.mi.com:443 match RuleSet(cn) using DIRECT"
time="2025-05-01T09:33:26.991281567Z" level=info msg="[TCP] 192.168.*.*:24896 --> processor.smartcamera.api.io.mi.com:443 match RuleSet(cn) using DIRECT"
time="2025-05-01T09:33:27.129559638Z" level=info msg="[TCP] 192.168.*.*:10690 --> api.ip.sb:443 match RuleSet(nocn) using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:27.743251462Z" level=info msg="[TCP] 192.168.*.*:10691 --> content-autofill.googleapis.com:443 match RuleSet(nocn) using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:27.758462822Z" level=info msg="[TCP] 183.142.*.*:37348 --> raw.githubusercontent.com:443 match RuleSet(nocn) using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:30.123053148Z" level=info msg="[TCP] 192.168.*.*:10703 --> api.github.com:443 match RuleSet(nocn) using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:30.155483367Z" level=info msg="[TCP] 192.168.*.*:10704 --> api.github.com:443 match RuleSet(nocn) using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:30.628425680Z" level=info msg="start update"
time="2025-05-01T09:33:30.748960964Z" level=info msg="[TCP] mihomo --> github.com:443 match RuleSet(nocn) using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:31.231289548Z" level=info msg="[TCP] mihomo --> objects.githubusercontent.com:443 match RuleSet(nocn) using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:32.043283308Z" level=info msg="current version alpha-g8bc6f77, latest version alpha-791ea5e"
time="2025-05-01T09:33:32.043303957Z" level=info msg="updateExeName: mihomo-linux-amd64 "
time="2025-05-01T09:33:32.043309403Z" level=info msg="updater: updating using url: https://github.com/MetaCubeX/mihomo/releases/download/Prerelease-Alpha/mihomo-linux-amd64-alpha-791ea5e.gz"
time="2025-05-01T09:33:32.198267221Z" level=info msg="[TCP] mihomo --> github.com:443 match RuleSet(nocn) using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:32.750021500Z" level=info msg="[TCP] mihomo --> objects.githubusercontent.com:443 match RuleSet(nocn) using ♻️自动选择[JP-1-Reality]"
time="2025-05-01T09:33:33.351675948Z" level=info msg="[TCP] 192.168.*.*:10707 --> imap.qq.com:465 match RuleSet(cn) using DIRECT"
time="2025-05-01T09:33:34.329115517Z" level=info msg="updater: unpacking package"
time="2025-05-01T09:33:34.498340781Z" level=info msg="updater: backing up current ExecFile:/etc/openclash/core/clash_meta to /etc/openclash/core/meta-backup/clash_meta"
time="2025-05-01T09:33:34.498397631Z" level=info msg="replacing: /etc/openclash/core/meta-update/mihomo-linux-amd64 to /etc/openclash/core/clash_meta"
time="2025-05-01T09:33:34.498406491Z" level=info msg="updater: renamed: /etc/openclash/core/meta-update/mihomo-linux-amd64 to /etc/openclash/core/clash_meta"
time="2025-05-01T09:33:34.499250859Z" level=info msg="updater: finished"
time="2025-05-01T09:33:34.509865300Z" level=warning msg="Mihomo shutting down"
time="2025-05-01T09:33:34.509882894Z" level=info msg="restarting: \"/etc/openclash/core/clash_meta\" [\"-d\" \"/etc/openclash\" \"-f\" \"/etc/openclash/config.yaml\"]"
time="2025-05-01T09:33:34.521961782Z" level=info msg="Start initial configuration in progress"
time="2025-05-01T09:33:34.522003412Z" level=fatal msg="Parse config error: path is not subpath of home directory: /usr/share/openclash/ui"
time="2025-05-01T09:33:37.570405656Z" level=info msg="Start initial configuration in progress"
time="2025-05-01T09:33:37.570434985Z" level=fatal msg="Parse config error: path is not subpath of home directory: /usr/share/openclash/ui"
time="2025-05-01T09:33:40.621049231Z" level=info msg="Start initial configuration in progress"
time="2025-05-01T09:33:40.621075020Z" level=fatal msg="Parse config error: path is not subpath of home directory: /usr/share/openclash/ui"
time="2025-05-01T09:33:43.670863146Z" level=info msg="Start initial configuration in progress"
time="2025-05-01T09:33:43.670905113Z" level=fatal msg="Parse config error: path is not subpath of home directory: /usr/share/openclash/ui"
time="2025-05-01T09:33:46.727499754Z" level=info msg="Start initial configuration in progress"
time="2025-05-01T09:33:46.727535231Z" level=fatal msg="Parse config error: path is not subpath of home directory: /usr/share/openclash/ui"
time="2025-05-01T09:33:49.770776483Z" level=info msg="Start initial configuration in progress"
time="2025-05-01T09:33:49.770805184Z" level=fatal msg="Parse config error: path is not subpath of home directory: /usr/share/openclash/ui"
time="2025-05-01T09:33:52.835387800Z" level=info msg="Start initial configuration in progress"
time="2025-05-01T09:33:52.835437669Z" level=fatal msg="Parse config error: path is not subpath of home directory: /usr/share/openclash/ui"
time="2025-05-01T09:33:55.881093058Z" level=info msg="Start initial configuration in progress"
time="2025-05-01T09:33:55.881136808Z" level=fatal msg="Parse config error: path is not subpath of home directory: /usr/share/openclash/ui"
time="2025-05-01T09:33:58.926303750Z" level=info msg="Start initial configuration in progress"
time="2025-05-01T09:33:58.926351557Z" level=fatal msg="Parse config error: path is not subpath of home directory: /usr/share/openclash/ui"
time="2025-05-01T09:34:01.970597545Z" level=info msg="Start initial configuration in progress"
time="2025-05-01T09:34:01.970627420Z" level=fatal msg="Parse config error: path is not subpath of home directory: /usr/share/openclash/ui"
time="2025-05-01T09:34:05.011173078Z" level=info msg="Start initial configuration in progress"
time="2025-05-01T09:34:05.011212505Z" level=fatal msg="Parse config error: path is not subpath of home directory: /usr/share/openclash/ui"
time="2025-05-01T09:34:08.049932273Z" level=info msg="Start initial configuration in progress"
time="2025-05-01T09:34:08.049973908Z" level=fatal msg="Parse config error: path is not subpath of home directory: /usr/share/openclash/ui"
2025-05-01 17:34:20 OpenClash Stoping...
2025-05-01 17:34:20 Step 1: Backup The Current Groups State...
2025-05-01 17:34:20 Step 2: Delete OpenClash Firewall Rules...
2025-05-01 17:34:21 Step 3: Close The OpenClash Daemons...
2025-05-01 17:34:21 Step 4: Close The Clash Core Process...
2025-05-01 17:34:21 Step 5: Restart Dnsmasq...
2025-05-01 17:34:27 Step 6: Delete OpenClash Residue File...
2025-05-01 17:34:27 OpenClash Already Stop!
2025-05-01 17:40:53 【/tmp/openclash_last_version】Download Failed:【curl: (28) Operation too slow. Less than 1 bytes/sec transferred the last 30 seconds curl: (28) Operation too slow. Less than 1 bytes/sec transferred the last 30 seconds curl: (28) Operation too slow. Less than 1 bytes/sec transferred the last 30 seconds】
#===================== 最近运行日志获取完成(自动切换为silent模式) =====================#
#===================== 活动连接信息 =====================#
OpenClash Config
Expected Behavior
正常启动mihomo,正常更新核心
Additional Context
No response
#4444
把核心切换回Master后正常,下一个版本应该会修复。感谢作者们!
俺也一样
俺也一样
- 更新 OpenClash 至最新 dev v0.46.084 版本
- 更新内核至 alpha-g791ea5e 或更新的版本
- 插件设置 > 模式设置中,启用“跳过安全路径检查”功能 按照以上步骤操作即可正常启动
我也遇到这个问题。但是我是一打开zashboard就会出现这个问题。 但是我出现这个问题的原因是因为,我打开了小闪存模式,我关掉就没事了
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days