XTLS / Xray-core

Xray, Penetrates Everything. Also the best v2ray-core, with XTLS support. Fully compatible configuration.
https://t.me/projectXray
Mozilla Public License 2.0
23.21k stars 3.72k forks source link

运行./xray x25519失败 #1676

Closed mhnhh123 closed 1 year ago

mhnhh123 commented 1 year ago

我按照https://github.com/XTLS/REALITY运行 ./xray x25519报错 root@racknerd-b07d66:/usr/local/bin# ./xray x25519 xray x25519: unknown command Run 'xray help' for usage. 已配置xray环境版本号是v1.7.5 root@racknerd-b07d66:/usr/local/bin# xray version Xray 1.7.5 (Xray, Penetrates Everything.) Custom (go1.20 linux/amd64) A unified platform for anti-censorship. 服务器是racknerd 安装的系统是Debian11 root@racknerd-b07d66:/usr/local/bin# cat /etc/debian_version 11.6

SQLimit commented 1 year ago

这个版本还不支持REALITY,需要在action里下载最新编译的版本才能用REALITY

FranzKafkaYu commented 1 year ago

@mhnhh123 你需要运行最新的xray core,请从action中下载最新版本或者自行编译最新版本进行测试使用。

Edwin-Kevin commented 1 year ago

reality目前还没进版,可以等发版或者去action里面下载编译好的版本

limetw commented 1 year ago

wget https://go.dev/dl/go1.20.1.linux-amd64.tar.gz && tar -C /usr/local -xzf go1.20.1.linux-amd64.tar.gz && export PATH=$PATH:/usr/local/go/bin && go version && git clone https://github.com/XTLS/Xray-core.git && cd Xray-core && go mod download && CGO_ENABLED=0 go build -o xray -trimpath -ldflags "-s -w -buildid=" ./main && systemctl stop xray && mv xray /usr/local/bin/xray && systemctl start xray && cd /root && rm -rf /root/Xray-core

Nirvanatin commented 1 year ago

How do we fix this?

error obtaining VCS status: exit status 128
        Use -buildvcs=false to disable VCS stamping.
cross-hello commented 1 year ago

Literal mean, append -buildvcs=false to which command you fail.

Feb 19, 2023 23:02:31 Nirvanatin @.***>:

How do we fix this?

error obtaining VCS status: exit status 128 Use -buildvcs=false to disable VCS stamping. — Reply to this email directly, view it on GitHub[https://github.com/XTLS/Xray-core/issues/1676#issuecomment-1436011714], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AKGBAYCWAFNP3OQZ4KJY4XDWYIYYPANCNFSM6AAAAAAVA7SPLE]. You are receiving this because you are subscribed to this thread.[Tracking image][https://github.com/notifications/beacon/AKGBAYFELVZ5AOKM42T2VSDWYIYYPA5CNFSM6AAAAAAVA7SPLGWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSVS7GME.gif]

Nirvanatin commented 1 year ago

完成了,谢谢你。可以请你给我一点客户那端的提示吗?

cross-hello commented 1 year ago

How could you hold a mirror and ask where to look face?

Feb 20, 2023 01:29:31 Nirvanatin @.***>:

完成了,谢谢你。可以请你给我一点客户那端的提示吗?

— Reply to this email directly, view it on GitHub[https://github.com/XTLS/Xray-core/issues/1676#issuecomment-1436046213], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AKGBAYBUJFD3EOPFYX4NPCDWYJJ7VANCNFSM6AAAAAAVA7SPLE]. You are receiving this because you commented.[Tracking image][https://github.com/notifications/beacon/AKGBAYEYNR2WUTAOCTOTJD3WYJJ7VA5CNFSM6AAAAAAVA7SPLGWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSVTBJYK.gif]

chika0801 commented 1 year ago

wget https://go.dev/dl/go1.20.1.linux-amd64.tar.gz && tar -C /usr/local -xzf go1.20.1.linux-amd64.tar.gz && export PATH=$PATH:/usr/local/go/bin && go version && git clone https://github.com/XTLS/Xray-core.git && cd Xray-core && go mod download && CGO_ENABLED=0 go build -o xray -trimpath -ldflags "-s -w -buildid=" ./main && systemctl stop xray && mv xray /usr/local/bin/xray && systemctl start xray && cd /root && rm -rf /root/Xray-core

thank you.

chika0801 commented 1 year ago

完成了,谢谢你。可以请你给我一点客户那端的提示吗?

https://github.com/chika0801/Xray-examples/blob/main/VLESS-XTLS-uTLS-REALITY/config_client.json

服务端配置有2个,一个自己偷自己,nginx来加载tls证书。另一个就是偷别人网站的形式。