xray_docker icon indicating copy to clipboard operation
xray_docker copied to clipboard

Xray-core 25.8.31,此脚本无法生成PUBLICKEY

Open 18kw opened this issue 5 months ago • 4 comments

Xray-core更新到25.8.31后,此脚本搭建服务端,v2rayN无法连接vps,提示:Failed to start: main: failed to load config files: [config.json] > infra/conf: failed to build outbound config with tag proxy > infra/conf: failed to build stream settings for outbound detour > infra/conf: Failed to build REALITY config. > infra/conf: empty "password"。查看配置发现没生成PUBLICKEY

18kw avatar Sep 01 '25 05:09 18kw

好像是Xray-core本身的问题,最新的25.8.31版不会算出publickey,旧版可以。用旧版算出publickey后填入v2rayN,可以正常连接

18kw avatar Sep 04 '25 04:09 18kw

docker logs -f xray_xhttp_reality 里面 PUBLICKEY: 后面是空的

这样算没有生成?

刚刚用懒人模式安装的,也没有。Xray 25.9.5 (Xray, Penetrates Everything.) Custom (go1.25.1 linux/amd64)

billpeace avatar Sep 08 '25 16:09 billpeace

新版xray不叫publickey了,叫password。下载xray zip包,在windows命令提示符下执行xray x25519 -i xxxxxxxxx(就是PrivateKey)算出password,填到v2rayN里就行了

18kw avatar Sep 09 '25 10:09 18kw

代码已更新

wulabing avatar Sep 10 '25 14:09 wulabing