Skip to content

Problem on client side #100

@kolaxy

Description

@kolaxy

Hello. I have my server with setup VLESS-TCP-REALITY.
It was installed with 3xui.
So my key format is something like:

vless://id@443?type=tcp&security=reality&pbk=..........................&fp=chrome&sni=dl.google.com&sid=.....................&spx=%2F&flow=xtls-rprx-vision#VLESS-name

I have a v2rayTun application on my IPhone and it works well. I can generate a config in this application, but obv can not work with xray in my machine.
So on my machine I have Rocky Linux 9.5 and the latest version of xray.
It was installed by this command:

bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install

I've created a config based on my key and this template:

https://github.com/XTLS/Xray-examples/tree/main/VLESS-TCP-REALITY%20(without%20being%20stolen)

my systemctl status xray:

[root@vm-routing xray]# systemctl status xray
● xray.service - Xray Service
     Loaded: loaded (/etc/systemd/system/xray.service; enabled; preset: disabled)
    Drop-In: /etc/systemd/system/xray.service.d
             └─10-donot_touch_single_conf.conf
     Active: active (running) since Tue 2025-07-08 01:19:25 MSK; 5s ago
       Docs: https://github.com/xtls
   Main PID: 1787 (xray)
      Tasks: 6 (limit: 4619)
     Memory: 4.3M
        CPU: 7ms
     CGroup: /system.slice/xray.service
             └─1787 /usr/local/bin/xray run -config /usr/local/etc/xray/config.json

Jul 08 01:19:25 vm-routing systemd[1]: Started Xray Service.
Jul 08 01:19:25 vm-routing xray[1787]: Xray 25.6.8 (Xray, Penetrates Everything.) fbae89d (go1.24.4 linux/amd64)
Jul 08 01:19:25 vm-routing xray[1787]: A unified platform for anti-censorship.
Jul 08 01:19:25 vm-routing xray[1787]: 2025/07/08 01:19:25.505470 [Info] infra/conf/serial: Reading config: &{Name:/usr/local/etc/xray/config.json Format:json}
Jul 08 01:19:25 vm-routing xray[1787]: 2025/07/08 01:19:25.505601 [Debug] app/log: Logger started
Jul 08 01:19:25 vm-routing xray[1787]: 2025/07/08 01:19:25.505631 [Debug] app/proxyman/inbound: creating stream worker on 127.0.0.1:10808
Jul 08 01:19:25 vm-routing xray[1787]: 2025/07/08 01:19:25.505664 [Info] transport/internet/tcp: listening TCP on 127.0.0.1:10808
Jul 08 01:19:25 vm-routing xray[1787]: 2025/07/08 01:19:25.505686 [Info] transport/internet/udp: listening UDP on 127.0.0.1:10808
Jul 08 01:19:25 vm-routing xray[1787]: 2025/07/08 01:19:25.505703 [Warning] core: Xray 25.6.8 started

My ss -tuln output:

[root@vm-routing xray]# ss -tuln
Netid                State                 Recv-Q                 Send-Q                                 Local Address:Port                                  Peer Address:Port                
udp                  UNCONN                0                      0                                          127.0.0.1:10808                                      0.0.0.0:*                   
udp                  UNCONN                0                      0                                          127.0.0.1:323                                        0.0.0.0:*                   
udp                  UNCONN                0                      0                                              [::1]:323                                           [::]:*                   
tcp                  LISTEN                0                      128                                          0.0.0.0:22                                         0.0.0.0:*                   
tcp                  LISTEN                0                      4096                                       127.0.0.1:10808                                      0.0.0.0:*                   
tcp                  LISTEN                0                      128                                             [::]:22                                            [::]:*                   
[root@vm-routing xray]# 

my curl request with proxy:

[root@vm-routing xray]# curl --socks5 127.0.0.1:10808 ifconfig.me
curl: (52) Empty reply from server
Jul 08 01:20:47 vm-routing xray[1787]: 2025/07/08 01:20:47.485453 [Info] [1160780024] transport/internet/tcp: dialing TCP to tcp:xxx:443
Jul 08 01:20:47 vm-routing xray[1787]: 2025/07/08 01:20:47.485671 [Debug] [1160780024] transport/internet: dialing to tcp:xxx:443
Jul 08 01:20:47 vm-routing xray[1787]: 2025/07/08 01:20:47.591226 [Info] transport/internet/reality: REALITY localAddr: 192.168.1.222:53626        DialTLSContext
Jul 08 01:20:47 vm-routing xray[1787]: 2025/07/08 01:20:47.648380 [Info] transport/internet/reality: REALITY localAddr: 192.168.1.222:53626        DialTLSContext
Jul 08 01:20:48 vm-routing xray[1787]: 2025/07/08 01:20:48.192442 [Info] [1160780024] transport/internet/tcp: dialing TCP to tcp:xxx:443
Jul 08 01:20:48 vm-routing xray[1787]: 2025/07/08 01:20:48.192701 [Debug] [1160780024] transport/internet: dialing to tcp:xxx:443
Jul 08 01:20:48 vm-routing xray[1787]: 2025/07/08 01:20:48.299231 [Info] transport/internet/reality: REALITY localAddr: 192.168.1.222:53628        DialTLSContext
Jul 08 01:20:48 vm-routing xray[1787]: 2025/07/08 01:20:48.357780 [Info] transport/internet/reality: REALITY localAddr: 192.168.1.222:53628        DialTLSContext
Jul 08 01:20:49 vm-routing xray[1787]: 2025/07/08 01:20:49.100938 [Info] [1160780024] app/proxyman/outbound: app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound>
Jul 08 01:20:49 vm-routing xray[1787]: 2025/07/08 01:20:49.101203 [Info] [1160780024] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport>
lines 1-23/23 (END)
Jul 08 01:20:46 vm-routing xray[1787]: 2025/07/08 01:20:46.529417 [Info] [1160780024] proxy/socks: TCP Connect request to tcp:34.160.111.145:80
Jul 08 01:20:46 vm-routing xray[1787]: 2025/07/08 01:20:46.529974 [Info] [1160780024] app/dispatcher: sniffed domain: ifconfig.me
Jul 08 01:20:46 vm-routing xray[1787]: 2025/07/08 01:20:46.529981 [Info] [1160780024] app/dispatcher: default route for tcp:ifconfig.me:80
Jul 08 01:20:46 vm-routing xray[1787]: 2025/07/08 01:20:46.529985 [Info] [1160780024] transport/internet/tcp: dialing TCP to tcp:xxx:443
Jul 08 01:20:46 vm-routing xray[1787]: 2025/07/08 01:20:46.529988 [Debug] [1160780024] transport/internet: dialing to tcp:xxx:443
Jul 08 01:20:46 vm-routing xray[1787]: 2025/07/08 01:20:46.530009 from tcp:127.0.0.1:40124 accepted tcp:34.160.111.145:80 [proxy]
Jul 08 01:20:46 vm-routing xray[1787]: 2025/07/08 01:20:46.660717 [Info] [1160780024] transport/internet/tcp: dialing TCP to tcp:xxx:443
Jul 08 01:20:46 vm-routing xray[1787]: 2025/07/08 01:20:46.660853 [Debug] [1160780024] transport/internet: dialing to tcp:xxx:443
Jul 08 01:20:46 vm-routing xray[1787]: 2025/07/08 01:20:46.660878 [Info] transport/internet/reality: REALITY localAddr: 192.168.1.222:53592        DialTLSContext
Jul 08 01:20:46 vm-routing xray[1787]: 2025/07/08 01:20:46.723978 [Info] transport/internet/reality: REALITY localAddr: 192.168.1.222:53592        DialTLSContext
Jul 08 01:20:46 vm-routing xray[1787]: 2025/07/08 01:20:46.767649 [Info] transport/internet/reality: REALITY localAddr: 192.168.1.222:53604        DialTLSContext
Jul 08 01:20:46 vm-routing xray[1787]: 2025/07/08 01:20:46.826330 [Info] transport/internet/reality: REALITY localAddr: 192.168.1.222:53604        DialTLSContext
Jul 08 01:20:46 vm-routing xray[1787]: 2025/07/08 01:20:46.968218 [Info] [1160780024] transport/internet/tcp: dialing TCP to tcp:xxx:443
Jul 08 01:20:46 vm-routing xray[1787]: 2025/07/08 01:20:46.968634 [Debug] [1160780024] transport/internet: dialing to tcp:xxx:443
Jul 08 01:20:47 vm-routing xray[1787]: 2025/07/08 01:20:47.085188 [Info] transport/internet/reality: REALITY localAddr: 192.168.1.222:53614        DialTLSContext
Jul 08 01:20:47 vm-routing xray[1787]: 2025/07/08 01:20:47.145972 [Info] transport/internet/reality: REALITY localAddr: 192.168.1.222:53614        DialTLSContext
Jul 08 01:20:47 vm-routing xray[1787]: 2025/07/08 01:20:47.485453 [Info] [1160780024] transport/internet/tcp: dialing TCP to tcp:xxx:443
Jul 08 01:20:47 vm-routing xray[1787]: 2025/07/08 01:20:47.485671 [Debug] [1160780024] transport/internet: dialing to tcp:xxx:443
Jul 08 01:20:47 vm-routing xray[1787]: 2025/07/08 01:20:47.591226 [Info] transport/internet/reality: REALITY localAddr: 192.168.1.222:53626        DialTLSContext
Jul 08 01:20:47 vm-routing xray[1787]: 2025/07/08 01:20:47.648380 [Info] transport/internet/reality: REALITY localAddr: 192.168.1.222:53626        DialTLSContext
Jul 08 01:20:48 vm-routing xray[1787]: 2025/07/08 01:20:48.192442 [Info] [1160780024] transport/internet/tcp: dialing TCP to tcp:xxx:443
Jul 08 01:20:48 vm-routing xray[1787]: 2025/07/08 01:20:48.192701 [Debug] [1160780024] transport/internet: dialing to tcp:xxx:443
Jul 08 01:20:48 vm-routing xray[1787]: 2025/07/08 01:20:48.299231 [Info] transport/internet/reality: REALITY localAddr: 192.168.1.222:53628        DialTLSContext
Jul 08 01:20:48 vm-routing xray[1787]: 2025/07/08 01:20:48.357780 [Info] transport/internet/reality: REALITY localAddr: 192.168.1.222:53628        DialTLSContext
Jul 08 01:20:49 vm-routing xray[1787]: 2025/07/08 01:20:49.100938 [Info] [1160780024] app/proxyman/outbound: app/proxyman/outbound: failed to process outbound traffic > proxy/vless/outbound: failed to find an available destination > common/retry: [transport/internet/reality: REALITY: processed invalid connection] > common/retry: all retry attempts failed
Jul 08 01:20:49 vm-routing xray[1787]: 2025/07/08 01:20:49.101203 [Info] [1160780024] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP response > io: read/write on closed pipe

So I have a question
What can I fix? My server is 100% ok cause I can connect from v2RayTun and my friends can connect with other applications on Android.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions