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

添加reality报错 #659

Open
sagitn opened this issue Jun 6, 2023 · 2 comments
Open

添加reality报错 #659

sagitn opened this issue Jun 6, 2023 · 2 comments

Comments

@sagitn
Copy link

sagitn commented Jun 6, 2023

请输入客户端访问的域名(serverName): music.apple.com
xray x25519: unknown command
Run 'xray help' for usage.
Traceback (most recent call last):
File "/usr/local/bin/xray", line 8, in
sys.exit(menu())
File "/usr/local/lib/python3.8/dist-packages/v2ray_util/main.py", line 254, in menu
user_manage()
File "/usr/local/lib/python3.8/dist-packages/v2ray_util/main.py", line 173, in user_manage
multiple.new_port()
File "/usr/local/lib/python3.8/dist-packages/v2ray_util/util_core/v2ray.py", line 20, in wrapper
result = func(*args, **kw)
File "/usr/local/lib/python3.8/dist-packages/v2ray_util/config_modify/multiple.py", line 43, in new_port
modify(new_group_list[-1], new_stream)
File "/usr/local/lib/python3.8/dist-packages/v2ray_util/util_core/v2ray.py", line 20, in wrapper
result = func(*args, **kw)
File "/usr/local/lib/python3.8/dist-packages/v2ray_util/config_modify/stream.py", line 163, in modify
sm.select(sm.stream_type[choice - 1][0])
File "/usr/local/lib/python3.8/dist-packages/v2ray_util/config_modify/stream.py", line 119, in select
sw.write(**kw)
File "/usr/local/lib/python3.8/dist-packages/v2ray_util/util_core/writer.py", line 273, in write
reality_settings["privateKey"] = x25519_key()[0]
IndexError: list index out of range

@Jrohy
Copy link
Owner

Jrohy commented Jun 6, 2023

先运行xray update 1.8.1升级到最新版xray,再来操作,不然旧版xray没有xray x25519命令来生成公私钥的

@sagitn
Copy link
Author

sagitn commented Jun 6, 2023

好的,感谢大佬

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