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] 在最新的 V2ray 版本中,其配置文件里的 AlterID 应被置 0 #262

Open
KerriSommers opened this issue Mar 3, 2022 · 1 comment
Labels
bug Something isn't working pull request wanted no obvious way to fix

Comments

@KerriSommers
Copy link

与 bug 有关的页面 / related page

???.md
https://guide.v2fly.org/basics/vmess.html#%E9%85%8D%E7%BD%AE

bug 描述 / description of the bug

在此描述出现的问题。
在使用了白话文提供的配置文件(其 AlterID 的值为 64 )后,未能成功实现客户端和服务端的连接。
我先后尝试了 V2rayN , V2rayNG 两种在PC和移动设备具有代表性的客户端,但均未能起效。
其中在最新版本的V2rayN客户端出现如下报错信息:

Failed to process outbound traffic > proxy/vmess/outbound: connection ends > proxy/vmess/outbound: failed to read header > proxy/vmess/encoding: failed to read response header > EOF

在经过了Google的搜索后,我在(https://www.v2fly.org/config/protocols/vmess.html#outboundconfigurationobject)搜索到了如下内容 “在 v4.28.1 版本后,客户端 AlterID 设置为 0 代表启用 VMessAEAD ;服务端为自动适配,可同时兼容启用和未开启 VMessAEAD 的客户端。”
所以我将服务器连同客户端的 Config.Json 文件的 AlterID 字段的值改成0,之后服务端和客户端均成功建立了连接。
我不大确定是否只有我一个人遇到了这种问题。但是我认为如果这种现象具有普遍性,那么应将白话文教程中给出配置文件的 alterID 字段改为0

复现步骤 / how we can reproduce

服务端 (V4.44.0) 在一台运行Ubuntu 20LTS的服务器上。采用 https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh 脚本安装
客户端(V2rayN V4.34 包含 V2ray_Core)在下载https://github.com/2dust/v2rayN/releases/download/4.34/v2rayN.zip后直接通过GUI配置。
如果将AlterID改为64后则客户端无法使用。

@KerriSommers KerriSommers added bug Something isn't working unconfirmed Waiting investigation labels Mar 3, 2022
@nicholascw nicholascw added pull request wanted no obvious way to fix and removed unconfirmed Waiting investigation labels Mar 6, 2022
@DolorHunter
Copy link

我也疑似遇到了这个问题,有的设备会受到影响有的设备不会。alterId 都改为 0 确实是好一些。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pull request wanted no obvious way to fix
Projects
None yet
Development

No branches or pull requests

3 participants