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

请问下,新增不了用户,提示如下,该怎么办呢? #664

Open
gboys90 opened this issue Jul 7, 2023 · 8 comments
Open

请问下,新增不了用户,提示如下,该怎么办呢? #664

gboys90 opened this issue Jul 7, 2023 · 8 comments

Comments

@gboys90
Copy link

gboys90 commented Jul 7, 2023

Traceback (most recent call last):
File "/usr/local/bin/xray", line 8, in
sys.exit(menu())
File "/usr/local/lib/python3.6/site-packages/v2ray_util/main.py", line 254, in menu
user_manage()
File "/usr/local/lib/python3.6/site-packages/v2ray_util/main.py", line 171, in user_manage
multiple.new_user()
File "/usr/local/lib/python3.6/site-packages/v2ray_util/util_core/v2ray.py", line 20, in wrapper
result = func(*args, **kw)
File "/usr/local/lib/python3.6/site-packages/v2ray_util/config_modify/multiple.py", line 90, in new_user
nw.create_new_user(**info)
File "/usr/local/lib/python3.6/site-packages/v2ray_util/util_core/writer.py", line 617, in create_new_user
user["flow"] = kw["flow"]

@Jrohy
Copy link
Owner

Jrohy commented Jul 7, 2023

原来是什么协议的,是否已经更新到最新版

@gboys90
Copy link
Author

gboys90 commented Jul 7, 2023

原来是什么协议的,是否已经更新到最新版

已经重装系统了,再重新安装的这个脚本,还是这样提示,我新建其它的端口又无法链接代理

@gboys90
Copy link
Author

gboys90 commented Jul 7, 2023

还有新建或者更改为第25中协议会这样提示,看不懂,请大佬指点下
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.6/site-packages/v2ray_util/main.py", line 254, in menu
user_manage()
File "/usr/local/lib/python3.6/site-packages/v2ray_util/main.py", line 173, in user_manage
multiple.new_port()
File "/usr/local/lib/python3.6/site-packages/v2ray_util/util_core/v2ray.py", line 20, in wrapper
result = func(*args, **kw)
File "/usr/local/lib/python3.6/site-packages/v2ray_util/config_modify/multiple.py", line 43, in new_port
modify(new_group_list[-1], new_stream)
File "/usr/local/lib/python3.6/site-packages/v2ray_util/util_core/v2ray.py", line 20, in wrapper
result = func(*args, **kw)
File "/usr/local/lib/python3.6/site-packages/v2ray_util/config_modify/stream.py", line 163, in modify
sm.select(sm.stream_type[choice - 1][0])
File "/usr/local/lib/python3.6/site-packages/v2ray_util/config_modify/stream.py", line 119, in select
sw.write(**kw)
File "/usr/local/lib/python3.6/site-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 Jul 7, 2023

先运行xray update v1.8.3来安装最新版

@gboys90
Copy link
Author

gboys90 commented Jul 7, 2023

先运行xray update v1.8.3来安装最新版

好的,谢谢,我试试

@gboys90
Copy link
Author

gboys90 commented Jul 7, 2023

先运行xray update v1.8.3来安装最新版

好的,谢谢,我试试

试了一下,还是一样提示,估计是我这的问题吧

@armorUMP45
Copy link

遇到了同样的问题,报错也一样

@jimmyzhou666
Copy link

@Jrohy VLESS好像都不能新增用户,都有报错。TLS开启后面flow空的原因吗?
IP: xxxxxxxxxxx
Port: 443
TLS: 开启 flow:
ID: xxxxxxxxxxxxxxxxxxxxxxx
Encryption: none
Network: WebSocket host: , path: /3Wxxxxxxxxm/
报错:
Traceback (most recent call last):
File "/usr/local/bin/v2ray", line 8, in
sys.exit(menu())
File "/usr/local/lib/python3.6/site-packages/v2ray_util/main.py", line 254, in menu
user_manage()
File "/usr/local/lib/python3.6/site-packages/v2ray_util/main.py", line 171, in user_manage
multiple.new_user()
File "/usr/local/lib/python3.6/site-packages/v2ray_util/util_core/v2ray.py", line 20, in wrapper
result = func(*args, **kw)
File "/usr/local/lib/python3.6/site-packages/v2ray_util/config_modify/multiple.py", line 90, in new_user
nw.create_new_user(**info)
File "/usr/local/lib/python3.6/site-packages/v2ray_util/util_core/writer.py", line 617, in create_new_user
user["flow"] = kw["flow"]
KeyError: 'flow'

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