2dust / v2rayN

A GUI client for Windows, support Xray core and v2fly core and others
https://1.2345345.xyz
GNU General Public License v3.0
69.33k stars 11.48k forks source link

[Bug]: 6.53版本自定义配置sing-box异常 #5425

Closed yzq758 closed 3 months ago

yzq758 commented 3 months ago

预期情况

升级后,显示转换配置失败

实际情况

6.51以前的版本都是正常的,升级后,就无法使用

复现方法

6.51就可以正常使用

日志信息

转换配置文件失败 2024/07/28 22:23:15 系统代理设置改变 - ForcedClear 2024/07/28 22:23:17 当前服务的真连接延迟: 786 ms 转换配置文件失败 2024/07/28 22:23:18 系统代理设置改变 - ForcedClear 2024/07/28 22:23:20 当前服务的真连接延迟: 326 ms

额外信息

No response

我确认已更新至最新版本

我确认已查询历史issues

2dust commented 3 months ago

log 和配置呢

yzq758 commented 3 months ago

Mr Yang @.***

 2024-07-29 16:49:06.3263-INFO MyAppExit Begin 2024-07-29 16:49:06.4301-INFO MyAppExit End 2024-07-29 16:49:06.4535-INFO OnExit 2024-07-29 16:49:10.8227-INFO v2rayN start up | v2rayN - V6.53 - 2024/07/26 | C:\Users\Administrator\Desktop\常用软件\v2rayN\v2rayN.exe 2024-07-29 16:49:10.8344-INFO Microsoft Windows NT 10.0.22631.0 - 64 2024-07-29 16:50:11.4498-INFO UpdateTaskRunSubscription 2024-07-29 16:51:11.4394-INFO UpdateTaskRunGeo 2024-07-29 16:56:30.2310-INFO MyAppExit Begin 2024-07-29 16:56:30.3748-INFO MyAppExit End 2024-07-29 16:56:30.4019-INFO OnExit 2024-07-29 16:56:35.5259-INFO v2rayN start up | v2rayN - V6.53 - 2024/07/26 | C:\Users\Administrator\Desktop\常用软件\v2rayN\v2rayN.exe 2024-07-29 16:56:35.5384-INFO Microsoft Windows NT 10.0.22631.0 - 64 这是升级后日志,信息就

转换配置文件失败 2024/07/29 17:28:39 系统代理设置改变 - ForcedClear 2024/07/29 17:28:48 当前服务的真连接延迟: -1 ms 2024/07/29 17:28:50 当前服务的真连接延迟: -1 ms 2024/07/29 17:28:51 当前服务的真连接延迟: -1 ms,

6.51以前所有版本都是正常的,上面配置,节点信息,换成你自己节点应该可以啦,我修改啦

------------------ 原始邮件 ------------------ 发件人: "2dust/v2rayN" @.>; 发送时间: 2024年7月29日(星期一) 下午3:45 @.>; 抄送: "Mr @.**@.>; 主题: Re: [2dust/v2rayN] [Bug]: 6.53版本自定义配置sing-box异常 (Issue #5425)

log 和配置呢

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

ijah4 commented 3 months ago

同样的问题。

2dust commented 3 months ago

把配置文件发出来,脱敏 大概率是rule-set 属性不是数组导致的

yzq758 commented 3 months ago

昨天不是给啦配置嘛,附件里就是完整的配置呀,你说的rule-set 属性问题,我用的官方文档,不带任何图标,一样是无法转换,6.51就是正常的,以前的版本也是正常的,都可以的,我现在用,就只能用6.51的。今天我附是一个单节点,和多节点的负载均衡的节点的。请查看下。

{   "dns": {     "servers": [       {         "tag": "alidns",         "address": "https://223.5.5.5/dns-query",         "address_strategy": "prefer_ipv4",         "strategy": "ipv4_only",         "detour": "direct"       },       {         "tag": "cf",         "address": "https://1.1.1.1/dns-query",         "strategy": "ipv4_only",         "detour": "direct"       },       {         "tag": "block",         "address": "rcode://success"       }     ],     "rules": [       {         "geosite": [           "cn"         ],         "domain_suffix": [           ".cn"         ],         "server": "alidns",         "disable_cache": false       },       {         "geosite": [           "category-ads-all"         ],         "server": "block",         "disable_cache": true       }     ],     "final": "cf",     "strategy": "",     "disable_cache": false,     "disable_expire": false   },   "inbounds": [     {       "type": "mixed",       "tag": "mixed-in",       "listen": "::",       "listen_port": 5353,       "tcp_fast_open": false,       "tcp_multi_path": false,       "udp_fragment": false,       "sniff": true,       "sniff_override_destination": false,       "sniff_timeout": "300ms",       "domain_strategy": "prefer_ipv4",       "udp_timeout": 300,       "proxy_protocol": false,       "proxy_protocol_accept_no_header": false,       "set_system_proxy": true     }   ],   "outbounds": [     { 节点省略》》》》》

    },     {       "type": "direct",       "tag": "direct"     },     {       "type": "block",       "tag": "block"     },     {       "type": "dns",       "tag": "dns-out"     }   ],   "route": {     "geoip": {       "path": "geoip.db",       "download_url": "https://github.com/SagerNet/sing-geoip/releases/latest/download/geoip.db",       "download_detour": "direct"     },     "geosite": {       "path": "geosite.db",       "download_url": "https://github.com/SagerNet/sing-geosite/releases/latest/download/geosite.db",       "download_detour": "direct"     },     "rules": [       {         "protocol": "dns",         "outbound": "dns-out"       },       {         "geosite": [           "cn",           "private"         ],         "geoip": [           "cn",           "private"         ],         "domain_suffix": [           ".cn"         ],         "outbound": "direct"       },       {         "geosite": [           "category-ads-all"         ],         "outbound": "block"       }     ],     "auto_detect_interface": true,     "final": "proxy"   },   "experimental": {} }

{   "log": {     "level": "info",     "timestamp": true   },   "experimental": {     "clash_api": {       "external_controller": "127.0.0.1:8080",       "external_ui": "ui",       "secret": "6doqe1klp9s",       "external_ui_download_url": "https://github.com/MetaCubeX/metacubexd/archive/refs/heads/gh-pages.zip",       "default_mode": "rule"     },     "cache_file": {       "enabled": true,       "path": "cache.db",       "cache_id": "my_profile2",       "store_fakeip": false,       "store_rdrc": false,       "rdrc_timeout": "7d"     }   },   "inbounds": [     {       "type": "mixed",       "listen": "127.0.0.1",       "listen_port": 9090,       "sniff": true,       "sniff_override_destination": false,       "domain_strategy": "ipv4_only",       "tcp_fast_open": false,       "tcp_multi_path": false,       "udp_fragment": false     }   ],   "outbounds": [     {       "tag": "🚀 节点选择",       "type": "selector",       "outbounds": [         "🎈 自动选择",         " 0_1"

      ]     },     {       "tag": "🎈 自动选择",       "type": "urltest",       "outbounds": [         " 0_1"

      ],       "url": "https://www.gstatic.com/generate_204",       "interval": "300s",       "tolerance": 150     },     {       "tag": "🎯 全球直连",       "type": "selector",       "outbounds": [         "direct",         "block"       ]     },     {       "tag": "🛑 全球拦截",       "type": "selector",       "outbounds": [         "block",         "direct"       ]     },     {       "tag": "🐟 漏网之鱼",       "type": "selector",       "outbounds": [         "🚀 节点选择",         "🎯 全球直连"       ]     },     {       "tag": "GLOBAL",       "type": "selector",       "outbounds": [         "direct",         "block",         "🚀 节点选择",         "🎈 自动选择",         "🎯 全球直连",         "🛑 全球拦截",         "🐟 漏网之鱼"       ]     },     {节点省略《《《《《《

        }

    {       "type": "direct",       "tag": "direct"     },     {       "type": "dns",       "tag": "dns-out"     },     {       "type": "block",       "tag": "block"     }   ],   "route": {     "rule_set": [       {         "tag": "CATEGORY-ADS",         "type": "remote",         "format": "binary",         "url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-category-ads-all.srs",         "download_detour": "🎯 全球直连"       },       {         "tag": "GEOIP-CN",         "type": "remote",         "format": "binary",         "url": "https://raw.githubusercontent.com/SagerNet/sing-geoip/rule-set/geoip-cn.srs",         "download_detour": "🎯 全球直连"       },       {         "tag": "GEOSITE-CN",         "type": "remote",         "format": "binary",         "url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-cn.srs",         "download_detour": "🎯 全球直连"       },       {         "tag": "GEOLOCATION-!CN",         "type": "remote",         "format": "binary",         "url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-geolocation-!cn.srs",         "download_detour": "🎯 全球直连"       }     ],     "rules": [       {         "protocol": "dns",         "port": 53,         "outbound": "dns-out"       },       {         "network": "udp",         "port": 443,         "outbound": "🛑 全球拦截"       },       {         "clash_mode": "direct",         "outbound": "🎯 全球直连"       },       {         "clash_mode": "global",         "outbound": "🚀 节点选择"       },       {         "rule_set": "CATEGORY-ADS",         "outbound": "🛑 全球拦截"       },       {         "ip_is_private": true,         "outbound": "🎯 全球直连"       },       {         "rule_set": "GEOIP-CN",         "outbound": "🎯 全球直连"       },       {         "rule_set": "GEOSITE-CN",         "outbound": "🎯 全球直连"       },       {         "rule_set": "GEOLOCATION-!CN",         "outbound": "🚀 节点选择"       }     ],     "final": "🐟 漏网之鱼",     "auto_detect_interface": true   },   "dns": {     "servers": [       {         "tag": "remote-dns",         "address": "https://1.1.1.1/dns-query",         "address_resolver": "remote-resolver-dns",         "detour": "🚀 节点选择"       },       {         "tag": "local-dns",         "address": "https://223.5.5.5/dns-query",         "address_resolver": "resolver-dns",         "detour": "direct"       },       {         "tag": "resolver-dns",         "address": "223.5.5.5",         "detour": "direct"       },       {         "tag": "remote-resolver-dns",         "address": "1.1.1.1",         "detour": "🚀 节点选择"       },       {         "tag": "block",         "address": "rcode://success"       }     ],     "disable_cache": false,     "disable_expire": false,     "independent_cache": true,     "rules": [       {         "outbound": "any",         "disable_cache": true,         "server": "local-dns"       },       {         "clash_mode": "direct",         "server": "local-dns"       },       {         "clash_mode": "global",         "server": "remote-dns"       },       {         "rule_set": "GEOSITE-CN",         "server": "local-dns"       },       {         "rule_set": "GEOLOCATION-!CN",         "server": "remote-dns"       }     ],     "fakeip": {       "enabled": false,       "inet4_range": "198.18.0.1/16",       "inet6_range": "fc00::/18"     },     "final": "remote-dns",     "strategy": "ipv4_only"   } }

Mr Yang @.***

 

------------------ 原始邮件 ------------------ 发件人: "2dust/v2rayN" @.>; 发送时间: 2024年7月30日(星期二) 下午3:52 @.>; 抄送: "Mr @.**@.>; 主题: Re: [2dust/v2rayN] [Bug]: 6.53版本自定义配置sing-box异常 (Issue #5425)

把配置文件发出来,脱敏 大概率是rule-set 属性不是数组导致的

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

2dust commented 3 months ago

下载这个版本 https://github.com/2dust/v2rayN/actions/runs/10158799866

yzq758 commented 3 months ago

  这两个地方没动态,但不影响使用,只是说下这个BUG

Mr Yang @.***

 

------------------ 原始邮件 ------------------ 发件人: "2dust/v2rayN" @.>; 发送时间: 2024年7月30日(星期二) 晚上7:25 @.>; 抄送: "Mr @.**@.>; 主题: Re: [2dust/v2rayN] [Bug]: 6.53版本自定义配置sing-box异常 (Issue #5425)

下载这个版本 https://github.com/2dust/v2rayN/actions/runs/10158799866

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>