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 ws 订阅转换后丢失 network 参数 #431

Closed
reizhi opened this issue Jan 4, 2022 · 1 comment
Closed

Trojan ws 订阅转换后丢失 network 参数 #431

reizhi opened this issue Jan 4, 2022 · 1 comment

Comments

@reizhi
Copy link
Contributor

reizhi commented Jan 4, 2022

根据 Clash 所提供的 Trojan ws 配置样本:

  - name: trojan-ws
    server: server
    port: 443
    type: trojan
    password: "example"
    network: ws
    udp: true
    ws-opts:
      path: /path
      headers:
        Host: example.com

由上游所给出的订阅,转换类型选择 Clash 后,结果为:
- {name: "trojan-ws", server: server, port: 443, type: trojan, password: example, skip-cert-verify: true, ws-opts: {path: /path}, udp: true}

可见 network 参数丢失,导致无法连接,而源订阅则可以正常连接。

@reizhi reizhi changed the title Trojan ws 订阅转换后丢失 host 参数 Trojan ws 订阅转换后丢失 network 参数 Jan 4, 2022
@tindy2013
Copy link
Owner

最新构建测试并不存在这样的问题

enximi added a commit to enximi/subconverter that referenced this issue Oct 2, 2023
tindy2013 pushed a commit that referenced this issue Oct 3, 2023
支持v2rayN等使用的trojan链接格式
nftbty pushed a commit to nftbty/subconverter that referenced this issue Oct 10, 2023
支持v2rayN等使用的trojan链接格式
kadaliao pushed a commit to kadaliao/subconverter that referenced this issue Oct 16, 2023
支持v2rayN等使用的trojan链接格式
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