Xray-core 25.8.31,此脚本无法生成PUBLICKEY
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
好像是Xray-core本身的问题,最新的25.8.31版不会算出publickey,旧版可以。用旧版算出publickey后填入v2rayN,可以正常连接
docker logs -f xray_xhttp_reality 里面 PUBLICKEY: 后面是空的
这样算没有生成?
刚刚用懒人模式安装的,也没有。Xray 25.9.5 (Xray, Penetrates Everything.) Custom (go1.25.1 linux/amd64)
新版xray不叫publickey了,叫password。下载xray zip包,在windows命令提示符下执行xray x25519 -i xxxxxxxxx(就是PrivateKey)算出password,填到v2rayN里就行了
代码已更新