You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PS C:\v2ray> .\v2ray.exe test -c .\config.json -format jsonv5
V2Ray 5.16.1 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.22.2 windows/amd64)
A unified platform for anti-censorship.
Test failed: main/commands: failed to load config: [.\config.json] > infra/conf/v5cfg: unable to build config > infra/conf/v5cfg: unable to load transport config > common/registry: unable to parse json content > unknown field "Host" in v2ray.core.transport.internet.websocket.Header
请附上访问日志
其它相关的配置文件(如 Nginx)和相关日志
如果 V2Ray 无法启动,请附上 --test 命令的输出
PS C:\v2ray> .\v2ray.exe test -c .\config.json -format jsonv5
V2Ray 5.16.1 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.22.2 windows/amd64)
A unified platform for anti-censorship.
Test failed: main/commands: failed to load config: [.\config.json] > infra/conf/v5cfg: unable to build config > infra/conf/v5cfg: unable to load transport config > common/registry: unable to parse json content > unknown field "Host" in v2ray.core.transport.internet.websocket.Header
你正在使用哪个版本的 V2Ray?
V5.16.1
你的使用场景是什么?
websocket stream 中配置 header 自定义头: "Host":"my.domain"
你看到的异常现象是什么?
配置后 test 测试不通过.
你期待看到的正常表现是怎样的?
V4 版本配置文件能够正常配置运行。
请附上你的配置
服务端配置:
客户端配置:
请附上出错时软件输出的错误日志
服务器端错误日志:
客户端错误日志:
请附上访问日志
其它相关的配置文件(如 Nginx)和相关日志
如果 V2Ray 无法启动,请附上
--test
命令的输出配置改为 v4 格式则正常通过测试:
The text was updated successfully, but these errors were encountered: