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

当传输方式为vmess+tls时,切换到vless+xtls会提示错误 #575

Closed
GeorgeRudd opened this issue Mar 29, 2022 · 3 comments
Closed

Comments

@GeorgeRudd
Copy link

错误提示

Traceback (most recent call last):
  File "/usr/local/bin/xray", line 8, in <module>
    sys.exit(menu())
  File "/usr/local/lib/python3.9/dist-packages/v2ray_util/main.py", line 257, in menu
    profile_alter()
  File "/usr/local/lib/python3.9/dist-packages/v2ray_util/main.py", line 198, in profile_alter
    stream.modify()
  File "/usr/local/lib/python3.9/dist-packages/v2ray_util/util_core/v2ray.py", line 20, in wrapper
    result = func(*args, **kw)
  File "/usr/local/lib/python3.9/dist-packages/v2ray_util/config_modify/stream.py", line 162, in modify
    sm.select(sm.stream_type[choice - 1][0])
  File "/usr/local/lib/python3.9/dist-packages/v2ray_util/config_modify/stream.py", line 118, in select
    sw.write(**kw)
  File "/usr/local/lib/python3.9/dist-packages/v2ray_util/util_core/writer.py", line 333, in write
    if "streamSettings" in self.part_json and "alpn" in self.part_json["streamSettings"]["tlsSettings"] and self.stream_type not in apln_list:
KeyError: 'tlsSettings'

其实也不是多大的问题 在脚本里手动重新配置一下tls就解决了

@Jrohy
Copy link
Owner

Jrohy commented Mar 30, 2022

确实有问题

@Jrohy
Copy link
Owner

Jrohy commented Mar 30, 2022

新版已修复

@GeorgeRudd
Copy link
Author

谢谢

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