rnetx / sing-box

https://sing-box.sagernet.org
Other
68 stars 8 forks source link

proxyproviders获取的SSR订阅无法正常连接 #6

Closed LinaChong closed 1 year ago

LinaChong commented 1 year ago

我通过订阅转换获取得到clashr的yaml文件,填入proxyproviders之后可以获取节点但是无法正常连接。 手动将yaml文件内的节点信息填入json配置文件连接正常。 使用StariSpeedTest测试订阅转换的链接连接正常,可以排除订阅转换导致的问题

$ sing-box version
sing-box version 1.3-beta12-yaott-521eeac

Environment: go1.20.5 linux/arm64
Tags: with_gvisor,with_quic,with_wireguard,with_utls,with_reality_server,with_clash_api,with_proxyprovider,with_shadowsocksr
Revision: 521eeac063f120f4d226ae0fbc8d8a7ee7de0e94
CGO: enabled

订阅配置:


        {
            "tag": "jc", 
            "url": "https://sub.xeton.dev/sub?target=clashr&new_name=true&url=myurl&insert=false",
            "cache_file": "subscriptions/jc"
        },

日志:

TRACE[0002] initializing outbound/selector[jc]

日志和其他订阅无异

0xffffharry commented 1 year ago

请执行sing-box show-proxyprovider,并去除敏感信息,将json贴上来

LinaChong commented 1 year ago

我对比了show-proxyprovider输出的信息和我手动填写的出站,发现show-proxyprovider里的节点缺失protocol_param字段