Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法订阅 #32849

Closed
suzukua opened this issue Jun 6, 2022 · 3 comments
Closed

无法订阅 #32849

suzukua opened this issue Jun 6, 2022 · 3 comments

Comments

@suzukua
Copy link

suzukua commented Jun 6, 2022

订阅节点全部失败,错误信息:【2022年06月06日 17:53:22】: v2ray订阅:检测到一个错误节点,跳过!

跟踪代码发现这一行经过管道符之后decode_info变量就为空了,jq命令单独执行是OK的

local decrypt_info=$(decode_url_link ${urllink} flag | jq -c .)

@hq450
Copy link
Owner

hq450 commented Jun 6, 2022

可否将订阅地址发给我:qhuang450@gmail.com,我尝试下能否重现并修复问题

@suzukua
Copy link
Author

suzukua commented Jun 7, 2022

可否将订阅地址发给我:qhuang450@gmail.com,我尝试下能否重现并修复问题

发现是decode_url_link ${urllink} flag方法返回❻V2.HKG王者 [游戏] [v6] [8] [NF*] [D+] [Yp]这样的内容执行jq -c .的时候报错了,parse error: Invalid numeric literal at line 1, column 7

urllink值:
eq1: 4p27VjIuVVPml6Dph48gW-S4i-i9veS4k-eUqF0gWzBdIFtORipdIFtEK10gW1lwXSA9IHZtZXNzLHVzd2x3ei56aHMuY29tcGFueSw0NDMsbm9uZSwiNDc5Mjg2ODQtZGRhYi0zYTgxLWI3YzUtNjFmMTdjZDMyZWU4Iixncm91cD3lj6zllprluKtbVjJSYXldLG92ZXItdGxzPXRydWUsY2VydGlmaWNhdGU9MCAsb2Jmcz13cyAsb2Jmcy1wYXRoPSIvZDQwZDM0NWIiICx0bHMtaG9zdD11c3dsd3ouemhzLmNvbXBhbnkgLG9iZnMtaGVhZGVyPSJIb3N0OiB1c3dsd3ouemhzLmNvbXBhbnlbUnJdW05uXVVzZXItQWdlbnQ6IE1vemlsbGEvNS4wIChpUGhvbmU7IENQVSBpUGhvbmUgT1MgMTNfMyBsaWtlIE1hYyBPUyBYKSBBcHBsZVdlYktpdC82MDUuMS4xNSAoS0hUTUwsIGxpa2UgR2Vja28pIFZlcnNpb24vMTMuMC40IE1vYmlsZS8xNUUxNDgi
eq2:4pml5rWB6YePOjEwNTI3LjUzR0Ig562J57qnNuWJqToxODQ5LjTlpKkgPSB2bWVzcyx6aHNoaS5naXRsYWIuaW8sNDA4NDIsbm9uZSw2MTczZWYzOS02ZTliLTQzNjctOTY2ZS1mZDMyMjA1MjM0YjQsZ3JvdXA95Y-s5Zaa5birW1YyUmF5XSxvdmVyLXRscz10cnVlLGNlcnRpZmljYXRlPTA

订阅回来的原始节点信息是:
vmess://4p27VjIuVVPnjovogIUgSUkgW3Y2XSBbMV0gW05GKl0gW0QrXSBbWXBdID0gdm1lc3MsdXNzeG05Lnpocy5jb21wYW55LDg0NDMsbm9uZSwiNDc5Mjg2ODQtZGRhYi0zYTgxLWI3YzUtNjFmMTdjZDMyZWU4Iixncm91cD3lj6zllprluKtbVjJSYXldLG92ZXItdGxzPXRydWUsY2VydGlmaWNhdGU9MCAsb2Jmcz13cyAsb2Jmcy1wYXRoPSIvemhzIiAsdGxzLWhvc3Q9dXNzeG05Lnpocy5jb21wYW55ICxvYmZzLWhlYWRlcj0iSG9zdDogdXNzeG05Lnpocy5jb21wYW55W1JyXVtObl1Vc2VyLUFnZW50OiBNb3ppbGxhLzUuMCAoaVBob25lOyBDUFUgaVBob25lIE9TIDEzXzMgbGlrZSBNYWMgT1MgWCkgQXBwbGVXZWJLaXQvNjA1LjEuMTUgKEtIVE1MLCBsaWtlIEdlY2tvKSBWZXJzaW9uLzEzLjAuNCBNb2JpbGUvMTVFMTQ4Ig

看了下这个机场确实不太符合vmess规范:
v2ray/v2ray-core#1487

据此,有个提议,merlinclash应该采用的是subconvert本地版来解决订阅转换问题,作者有没有考虑也引入它去兼容各种不符合规范的机场订阅格式?我翻了下其他issue,也有同样的情况。

@hq450
Copy link
Owner

hq450 commented Jun 7, 2022

看了你这个节点,简直没法去在现有情况下做兼容啊,哈哈

subconvert 是个好办法,不过我自己得花点时间研究下,等3.0这波搞差不多后来看搞下subconvert

@hq450 hq450 closed this as completed Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants