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

[BUG] v0.7.1-217891f转换时候ws-opt丢了servername参数? #449

Closed
2 tasks done
vj23456 opened this issue Jan 27, 2022 · 3 comments
Closed
2 tasks done

[BUG] v0.7.1-217891f转换时候ws-opt丢了servername参数? #449

vj23456 opened this issue Jan 27, 2022 · 3 comments

Comments

@vj23456
Copy link

vj23456 commented Jan 27, 2022

确认版本最新

  • 我已经确认在最新Action编译的版本中复现

检索issue

  • 我已经确认之前没有issue涉及此BUG

subconverter版本

0.7.1-217891f

转换过程

Clash转换为clash

转换设置

https://sub.xeton.dev/sub?target=clash&new_name=true&url=https**************&insert=false&config=https%3A%2F%2Fraw.luolix.top%2FACL4SSR%2FACL4SSR%2Fmaster%2FClash%2Fconfig%2FACL4SSR_Online.ini

复现步骤

原配置文件为

- name: 123456
    type: vmess
    server: XXXXX.com
    port: 3331
    uuid: "57e0cb4d-eae5-48ec-8091-1XXXXXXX"
    alterId: 0
    cipher: chacha20-poly1305
    udp: true
    network: ws
    ws-path: "/t"
    ws-headers: { "Host":"tls.apple.com", "Edge": "12a00c4.fm.huawei.com:82897" }
    ws-opts:
      path: "/t"
      headers: { "Host":"tls.apple.com", "Edge": "12a00c4.fm.huawei.com:82897" }
    headers: {"Host":"tls.apple.com", "Edge": "12a00c4.fm.huawei.com:82897" }
    servername: n2.XXXXXX.com
    tls: true

转换后为

- {name: 123456, server: XXXXX.com, port: 3331, type: vmess, uuid: 57e0cb4d-eae5-48ec-8091-1XXXXXXX, alterId: 0, cipher: chacha20-poly1305, tls: true, network: ws, ws-opts: {path: /t, headers: {Host: tls.apple.com, Edge: 12a00c4.fm.huawei.com:82897}}, udp: true}

丢了 servername: n2.XXXXXX.com 导致节点不通

期望结果

详看复现步骤

实际结果

详看复现步骤

错误信息

No response

tindy2013 added a commit that referenced this issue Feb 9, 2022
Fix matching not-range does not work (#428).
Fix parsing and generating of HTTPS nodes (#450).
Add servername field for Clash VMess nodes (#449 #451).
Add VMess AEAD option for Surge and Quantumult X configs.
@NoverNobida
Copy link

请问该版本是由自己编译的吗?我使用release里面的最新版本,通过clash转换为clash,甚至无法转换出ws-opts字段,即使原配置中有。

@vj23456
Copy link
Author

vj23456 commented Feb 18, 2022

@NoverNobida 这里下,大佬应该已经修好了

https://github.com/tindy2013/subconverter/actions/runs/1818983417

@NoverNobida
Copy link

@vj23456 感谢解答,已解决。

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

3 participants