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

trojan 订阅或导入批量 URL 时读取不到端口 #1047

Closed
tedlz opened this issue Oct 12, 2020 · 4 comments
Closed

trojan 订阅或导入批量 URL 时读取不到端口 #1047

tedlz opened this issue Oct 12, 2020 · 4 comments

Comments

@tedlz
Copy link

tedlz commented Oct 12, 2020

客户端版本

3.26

预期行为

1、从订阅地址更新 trojan 服务器列表
2、从剪贴板导入批量 URL

实际行为

1、列表更新成功,但端口读取不到(预期行为 1)
2、导入 URL 成功,但端口读取不到(预期行为 2)

复现方法

复制以下

trojan://[email protected]:443?allowInsecure=1&tfo=1#香港

打开 V2RayN,Ctrl+V
其它信息都可以读取,唯独端口显示为 0
不管 1 还是 2,解析这种格式的地址时必现

@tedlz tedlz changed the title trojan 订阅读取不到端口 trojan 订阅或导入批量 URL 时读取不到端口 Oct 12, 2020
@h31105
Copy link

h31105 commented Oct 12, 2020

目前v2rayn的Trojan订阅格式识别有问题,等修复吧
#1037

@2dust
Copy link
Owner

2dust commented Oct 13, 2020

v2rayN20201013.zip
测试下这个更新

@h31105
Copy link

h31105 commented Oct 13, 2020

v2rayN20201013.zip
测试下这个更新

测试结果:
基本上一般的trojan订阅识别没问题了(但SNI配置还缺,包括GUI设置)

这个测试版,有个新问题,原来可以通过修改配置文件 自己添加SNI配置,现在不行了,节点一激活,配置就被刷新了(添加的SNI被置空)

@yywudi
Copy link

yywudi commented Oct 16, 2020

这个问题应该是和#1037 一样的问题,3.26还不支持订阅链接里的其他选项,导致端口无法被识别。
期待后续修复

@2dust 2dust closed this as completed May 13, 2021
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

4 participants