Closed MeepoKiki closed 15 hours ago
贴配置文件。
贴配置文件。
[31mFATAL[0m[0000] parse outbound[18]: missing tags 2024-09-19 20:05:20 [DAEMON] Error: wrong client configuration detected. 2024-09-19 20:11:19 [DAEMON] Reloading service... 2024-09-19 20:11:27 [DAEMON] Service stopped. [31mFATAL[0m[0000] parse outbound[18]: missing tags 2024-09-19 20:11:29 [DAEMON] Error: wrong client configuration detected. 我也有这个问题,偶尔在更新订阅之后(可用节点数量小于20个时)服务无法启动
这是我的部分配置文件,不知道是否与这些有关
config homeproxy 'infra' option __warning 'DO NOT EDIT THIS SECTION, OR YOU ARE ON YOUR OWN!' option common_port '22,53,80,143,443,465,853,873,993,995,8080,8443,9418' option mixed_port '5330' option redirect_port '5331' option tproxy_port '5332' option dns_port '5333' option china_dns_port '5334' option tun_name 'singtun0' option tun_addr4 '172.19.0.1/30' option tun_addr6 'fdfe:dcba:9876::1/126' option tun_mtu '9000' option table_mark '100' option self_mark '100' option tproxy_mark '101' option tun_mark '102'
config homeproxy 'config' option routing_mode 'custom' option routing_port 'common' option proxy_mode 'redirect_tproxy' option ipv6_support '0'
config homeproxy 'experimental' option clash_api_port '9090' option clash_api_log_level 'warn' option dashboard_repo 'metacubex/yacd-meta' option clash_api_enabled '1' option set_dash_backend '1' option clash_api_secret 'password'
config homeproxy 'control' option lan_proxy_mode 'except_listed' list wan_proxy_ipv4_ips '91.105.192.0/23' list wan_proxy_ipv4_ips '91.108.4.0/22' list wan_proxy_ipv4_ips '91.108.8.0/22' list wan_proxy_ipv4_ips '91.108.16.0/22' list wan_proxy_ipv4_ips '91.108.12.0/22' list wan_proxy_ipv4_ips '91.108.20.0/22' list wan_proxy_ipv4_ips '91.108.56.0/22' list wan_proxy_ipv4_ips '149.154.160.0/20' list wan_proxy_ipv4_ips '185.76.151.0/24' list lan_direct_ipv4_ips '192.168.31.15-192.168.31.254' list lan_direct_ipv4_ips '192.168.1.1/24'
config homeproxy 'routing' option sniff_override '1' option default_outbound '123' option bypass_cn_traffic '0' option udp_timeout '300'
config homeproxy 'dns' option dns_strategy 'prefer_ipv4' option default_server 'system-dns' option disable_cache '1'
config homeproxy 'subscription' option auto_update '1' option allow_insecure '0' option update_via_proxy '0' option filter_nodes 'whitelist' option auto_update_expr '21 7 *' list subscription_url 'https://**********2' list filter_keywords '@'
config homeproxy 'server' option enabled '1' option auto_firewall '1'
config dns_rule 'nodes_domain' option label 'NodesDomain' option enabled '1' option mode 'default' list outbound 'any-out' option server 'dns_12123'
config routing_node '123' option label '节点选择' option enabled '1' option node 'node_4546'
config routing_node '4546' option label 'YouTube' option enabled '1' option node 'node_12123'
config routing_node '4854984' option label 'OpenAI' option enabled '1' option node 'node_12123123'
config routing_node '456465' option label 'Google' option enabled '1' option node 'node_12131'
config routing_node '1213' option label 'Telegram' option enabled '1' option node 'node_1212'
config routing_node '123213' option label 'TikTok' option enabled '1' option node 'node_11112'
config ruleset 'rule_proxy' option label 'rule_proxy' option enabled '1' option type 'local' option format 'source' option path '/etc/homeproxy/ruleset/proxy.json'
config ruleset '12700b5da54238bb973df447d27e58eb' option label 'geosite-openai' option type 'remote' option format 'binary' option url 'https://mirror.ghproxy.com/https://raw.githubusercontent.com/Toperlock/sing-box-geosite/main/rule/OpenAI.srs' option enabled '1' option outbound 'direct-out'
config ruleset '62978ebb48bc27648355f3be219cfc85' option label 'geosite-youtube' option type 'remote' option format 'binary' option url 'https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/youtube.srs' option enabled '1' option outbound 'direct-out'
config ruleset '113b438c93809258926e477baa017787' option label 'geoip-google' option type 'remote' option format 'binary' option url 'https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/google.srs' option enabled '1' option outbound 'direct-out'
config ruleset 'ec2ddcccdc1ef4bd956b8158367cb292' option label 'geosite-google' option type 'remote' option format 'binary' option url 'https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/google.srs' option enabled '1' option outbound 'direct-out'
config ruleset '7eb37a310e7e64f743d4b22241871db3' option label 'geosite-github' option type 'remote' option format 'binary' option url 'https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/github.srs' option enabled '1' option outbound 'direct-out'
config ruleset 'e685d0be13876fcaf2268c60e023f6c8' option label 'geoip-telegram' option type 'remote' option format 'binary' option url 'https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/telegram.srs' option enabled '1' option outbound 'direct-out'
config ruleset '7227d928c164e194cbe30d859b7773d6' option label 'geosite-telegram' option type 'remote' option format 'binary' option url 'https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/telegram.srs' option enabled '1' option outbound 'direct-out'
config ruleset '02e2061169eab8c142b29aa6c31fa2d1' option label 'geosite-tiktok' option type 'remote' option format 'binary' option url 'https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/tiktok.srs' option enabled '1' option outbound 'direct-out'
config ruleset '2ec8aef00d51379a5fc914350609b867' option label 'geoip-netflix' option type 'remote' option format 'binary' option url 'https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/netflix.srs' option enabled '1' option outbound 'direct-out'
config ruleset 'f353698f21388485767d6c4da098f6e0' option label 'geosite-netflix' option type 'remote' option format 'binary' option url 'https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/netflix.srs' option enabled '1' option outbound 'direct-out'
config ruleset 'f9cf03cabc9c3ba8b2f8b6bfa4d367dd' option label 'geoip-apple' option type 'remote' option format 'binary' option url 'https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo-lite/geoip/apple.srs' option enabled '1' option outbound 'direct-out'
config ruleset '5f1ce6b35724a535f8ffddee4e081f27' option label 'geosite-apple' option type 'remote' option format 'binary' option url 'https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/apple.srs' option enabled '1' option outbound 'direct-out'
config ruleset '600c657091cbd955e89e0115f3f67cd1' option label 'geosite-microsoft' option type 'remote' option format 'binary' option url 'https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/microsoft.srs' option enabled '1' option outbound 'direct-out'
config ruleset '92928ac260c596e17c76796c615d4314' option label 'geosite-geolocation-!cn' option type 'remote' option format 'binary' option url 'https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/geolocation-!cn.srs' option enabled '1' option outbound 'direct-out'
config ruleset 'e647a82da958673c156af1426ebd8fd3' option label 'geoip-cn' option type 'remote' option format 'binary' option url 'https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geoip/cn.srs' option enabled '1' option outbound 'direct-out'
config ruleset 'ae995af8545e02be244fe83ae6a0c385' option label 'geosite-cn' option type 'remote' option format 'binary' option url 'https://mirror.ghproxy.com/https://raw.githubusercontent.com/MetaCubeX/meta-rules-dat/sing/geo/geosite/cn.srs' option enabled '1' option outbound 'direct-out' option update_interval '1d'
config ruleset 'rule_dir' option label 'rule_dir' option enabled '1' option type 'local' option format 'source' option path '/etc/homeproxy/ruleset/dir.json'
config node 'node_4546' option label '🚀 节点选择' option type 'selector' list order 'node_11' list order 'node_121' list order 'node_111' list order 'node_444' list order 'node_44444' list order 'node_1111' list order 'node_1233' option default_selected 'node_121'
config node 'node_1233' option label '🐸 手动切换' option type 'selector' option filter_nodes 'whitelist' list group '9a9c2c8a3e4764fe4be404c707cedda3' list filter_keywords '@'
config node 'node_12123' option label '📹 YouTube' option type 'selector' list order 'node_121' list order 'node_111' list order 'node_444' list order 'node_44444' list order 'node_1111' list order 'node_1233' list order 'node_4546'
config node 'node_12123123' option label '🤖 OpenAI' option type 'selector' list order 'node_121' list order 'node_111' list order 'node_444' list order 'node_44444' list order 'node_1111' list order 'node_1233' list order 'node_4546'
config node 'node_12131' option label '🍀 Google' option type 'selector' list order 'node_121' list order 'node_111' list order 'node_444' list order 'node_44444' list order 'node_1111' list order 'node_1233' list order 'node_4546'
config node 'node_1212' option label '📲 Telegram' option type 'selector' list order 'node_121' list order 'node_111' list order 'node_444' list order 'node_44444' list order 'node_1111' list order 'node_1233' list order 'node_4546'
config node 'node_11112' option label '🎵 TikTok' option type 'selector' list order 'node_121' list order 'node_111' list order 'node_444' list order 'node_44444' list order 'node_1111' list order 'node_1233' list order 'node_4546'
config node 'node_4546546' option label '🎥 Netflix' option type 'selector' list order 'node_121' list order 'node_111' list order 'node_444' list order 'node_44444' list order 'node_1111' list order 'node_1233' list order 'node_4546'
config node 'node_45456465' option label '🪟 Microsoft' option type 'selector' list order 'node_4546' list order 'node_1233' list order 'node_444' list order 'node_44444' list order 'node_1111' list order 'node_111' list order 'node_121' list order 'node_11'
config node 'node_4545646' option label '🍎 Apple' option type 'selector' list order 'node_4546' list order 'node_1233' list order 'node_444' list order 'node_44444' list order 'node_1111' list order 'node_111' list order 'node_121' list order 'node_11'
config node 'node_Github' option label 'Github' option type 'selector' option filter_nodes 'whitelist' list order 'node_4546' list order 'node_1233' list order 'node_121' list order 'node_11' option default_selected 'node_4546'
config node 'node_444' option label '🇭🇰 香港节点' option type 'selector' option filter_nodes 'whitelist' list filter_keywords '🇭🇰|HK|hk|香港|港|HongKong' list group '9a9c2c8a3e4764fe4be404c707cedda3'
config node 'node_44444' option label '🇯🇵 日本节点' option type 'selector' option filter_nodes 'whitelist' list filter_keywords '🇯🇵|JP|jp|日本|日|Japan' list group '9a9c2c8a3e4764fe4be404c707cedda3'
config node 'node_1111' option label '🇺🇲 美国节点' option type 'selector' option filter_nodes 'whitelist' list filter_keywords '🇺🇸|US|us|美国|美|United States' list group '9a9c2c8a3e4764fe4be404c707cedda3'
config node 'node_111' option label '🔯 香港自动' option type 'urltest' option filter_nodes 'whitelist' list filter_keywords '🇭🇰|HK|hk|香港|港|HongKong' option interval '10m' option idle_timeout '30m' list group '9a9c2c8a3e4764fe4be404c707cedda3' option test_url 'http://cp.cloudflare.com/'
config node 'node_121' option label '♻️ 自动选择' option type 'urltest' option interval '10m' option idle_timeout '30m' list group '9a9c2c8a3e4764fe4be404c707cedda3' option test_url 'http://cp.cloudflare.com/'
config node 'node_11' option label '🎯 全球直连' option type 'direct'
config routing_node '12313' option label 'Netflix' option enabled '1' option node 'node_4546546'
config routing_node 'github' option label 'Github' option enabled '1' option node 'node_Github'
config routing_node '12341' option label 'Microsoft' option enabled '1' option node 'node_45456465'
config routing_node '454654' option label 'Apple' option enabled '1' option node 'node_4545646'
config routing_rule '12131_host' option label 'clash_mode:direct' option enabled '1' option mode 'default' option clash_mode 'direct' option outbound 'direct-out'
config routing_node '4854985' option label 'GLOBAL' option enabled '1' option node 'node_121312'
config routing_rule '15465_host' option label 'clash_mode:global' option enabled '1' option mode 'default' option clash_mode 'global' option outbound '4854985'
config routing_rule 'proxy_host' option label 'proxy_host' option enabled '1' option mode 'default' list rule_set 'rule_proxy' option outbound '123'
config routing_rule 'dir_host' option label 'dir_host' option enabled '1' option mode 'default' list rule_set 'rule_dir' option outbound 'direct-out'
config routing_rule '489798879_host' option label 'geosite-openai' option enabled '1' option mode 'default' list rule_set '12700b5da54238bb973df447d27e58eb' option outbound '4854984'
config routing_rule '4545646_host' option label 'geosite-youtube' option enabled '1' option mode 'default' list rule_set '62978ebb48bc27648355f3be219cfc85' option outbound '4546'
config routing_rule '4545_host' option label 'geoip-google, geosite-google' option enabled '1' option mode 'default' list rule_set '113b438c93809258926e477baa017787' list rule_set 'ec2ddcccdc1ef4bd956b8158367cb292' option outbound '456465'
config routing_rule '48549_host' option label 'geoip-telegram,geosite-telegram' option enabled '1' option mode 'default' list rule_set 'e685d0be13876fcaf2268c60e023f6c8' list rule_set '7227d928c164e194cbe30d859b7773d6' option outbound '1213'
config routing_rule '44656_host' option label 'geosite-tiktok' option enabled '1' option mode 'default' list rule_set '02e2061169eab8c142b29aa6c31fa2d1' option outbound '123213'
config routing_rule '45456_host' option label 'geoip-netflix,geosite-netflix' option enabled '1' option mode 'default' list rule_set '2ec8aef00d51379a5fc914350609b867' list rule_set 'f353698f21388485767d6c4da098f6e0' option outbound '12313'
config routing_rule '45_host' option label 'geoip-apple,geosite-apple' option enabled '1' option mode 'default' list rule_set 'f9cf03cabc9c3ba8b2f8b6bfa4d367dd' list rule_set '5f1ce6b35724a535f8ffddee4e081f27' option outbound '454654'
config routing_rule '1111_host' option label 'geosite-github' option enabled '1' option mode 'default' list rule_set '7eb37a310e7e64f743d4b22241871db3' option outbound 'github'
config routing_rule '45464_host' option label 'geosite-microsoft' option enabled '1' option mode 'default' list rule_set '600c657091cbd955e89e0115f3f67cd1' option outbound '12341'
config routing_rule '77777_host' option label 'geosite-geolocation-!cn' option enabled '1' option mode 'default' option outbound '123' list rule_set '92928ac260c596e17c76796c615d4314'
config routing_rule '12123_host' option label 'geoip-cn, geosite-cn' option enabled '1' option mode 'default' option outbound 'direct-out' list rule_set 'e647a82da958673c156af1426ebd8fd3' list rule_set 'ae995af8545e02be244fe83ae6a0c385'
config dns_server 'dns_12123' option label 'localDns' option enabled '1' option address '119.29.29.29' option outbound 'direct-out' option address_resolver 'default-dns' option client_subnet '1.10.32.0'
config dns_server 'dns_45465' option label 'proxyDns' option enabled '1' option address 'tls://8.8.4.4' option address_resolver 'dns_12123' option address_strategy 'ipv4_only' option resolve_strategy 'ipv4_only' option outbound '123' option client_subnet '1.118.33.0'
config dns_rule '454622_domain' option label 'geosite-cn' option enabled '1' option mode 'default' list rule_set 'ae995af8545e02be244fe83ae6a0c385' option server 'dns_12123' option dns_disable_cache '1'
config dns_rule '12165_domain' option label 'clash mode:direct' option enabled '1' option mode 'default' option clash_mode 'direct' option server 'dns_12123' option dns_disable_cache '1'
config dns_rule '456456_domain' option label 'clash_mode:global' option enabled '1' option mode 'default' option clash_mode 'global' option server 'dns_45465' option dns_disable_cache '1'
config dns_rule '123126_domain' option label 'geosite-geolocation-!cn' option enabled '1' option mode 'default' list rule_set '92928ac260c596e17c76796c615d4314' option server 'dns_45465' option dns_disable_cache '1'
config node 'node_121312' option label 'GLOBAL' option type 'selector' list order 'node_1233' list order 'node_444' list order 'node_44444' list order 'node_1111'
parse route options: parse rule[2]: missing conditions:
jsonfilter -qi /var/run/homeproxy/sing-box-c.json -e '@.route.rules[2]'
检查下是不是 rule_proxy 缺少条件
parse outbound[18]: missing tags:
jsonfilter -qi /var/run/homeproxy/sing-box-c.json -e '@.outbounds[18]'
直接把整个 /var/run/homeproxy/sing-box-c.json 脱敏后贴上来吧。
[31mFATAL[0m[0000] parse route options: parse rule[2]: missing conditions 2024-08-06 23:59:53 [DAEMON] Error: wrong client configuration detected.