[GH-ISSUE #5024] [Bug]: #3537

Closed
opened 2026-10-31 20:33:08 +07:00 by bsakaguchi · 10 comments
Owner

Originally created by @EvgenyMolodykh on GitHub (Jun 6, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5024

Describe the bug

Basic client creation. Only handshake occurs. No traffic flows. Version 3.1.0 works. Server configuration attached.

{
"listen": "0.0.0.0",
"port": 66666,
"protocol": "vless",
"tag": "in-66666-tcp",
"settings": {
"clients": [
{
"id": "49fbbf0d-64a8-44f0-bfe9-9412d72fcc4b",
"email": "jx33int2ds",
"flow": "xtls-rprx-vision",
"limitIp": 0,
"totalGB": 0,
"expiryTime": 0,
"enable": true,
"tgId": 0,
"subId": "02660b18-2d23-4d43-9bc4-39c4757d5df5",
"comment": "",
"reset": 0,
"created_at": 1780765186268,
"updated_at": 1780765186000
}
],
"decryption": "none",
"encryption": "none",
"testseed": [
900,
500,
900,
256
]
},
"sniffing": {
"enabled": false
},
"streamSettings": {
"network": "tcp",
"tcpSettings": {
"acceptProxyProtocol": false,
"header": {
"type": "none"
}
},
"security": "reality",
"realitySettings": {
"show": false,
"xver": 0,
"target": "www.intel.com:443",
"serverNames": [
"www.intel.com"
],
"privateKey": "IAdavWFKSuGOE2g_DDG_WeX-DxpiA44alA8d3wZcAkA",
"minClientVer": "",
"maxClientVer": "",
"maxTimediff": 0,
"shortIds": [
"c75ff59e",
"7a",
"5bd6ae6667",
"e11f",
"619b440951a85089",
"4a7b5e",
"dc88b8868aa5",
"13a73da7d18599"
],
"mldsa65Seed": "",
"settings": {
"publicKey": "1pG7rPMrVKkzLHHpjOeXweInzwIsYH6MkxfywoqisRE",
"fingerprint": "chrome",
"serverName": "",
"spiderX": "/",
"mldsa65Verify": ""
}
}
}
}
IP random and port random

How to reproduce the problem

  1. Create an incoming connection
  2. Create a client
  3. Launch on client

Expected behavior

No response

Actual behavior

No response

Relevant logs


Screenshots

No response

3x-ui version

3.2.8

Xray-core version

No response

How did you install 3x-ui?

install.sh script

Operating system

Ubuntu 20.04

Which parts of the panel are affected?

No response

Browser (only if it is a UI bug)

No response

Is the panel behind a reverse proxy or CDN?

Yes — other

Before submitting

  • I searched existing issues and this bug has not been reported.
  • I am running the latest released version of 3x-ui (or have verified the bug still exists on it).
  • This bug report is written in English.
  • I have redacted any sensitive data (tokens, real domains, client UUIDs).
Originally created by @EvgenyMolodykh on GitHub (Jun 6, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5024 ### Describe the bug Basic client creation. Only handshake occurs. No traffic flows. Version 3.1.0 works. Server configuration attached. { "listen": "0.0.0.0", "port": 66666, "protocol": "vless", "tag": "in-66666-tcp", "settings": { "clients": [ { "id": "49fbbf0d-64a8-44f0-bfe9-9412d72fcc4b", "email": "jx33int2ds", "flow": "xtls-rprx-vision", "limitIp": 0, "totalGB": 0, "expiryTime": 0, "enable": true, "tgId": 0, "subId": "02660b18-2d23-4d43-9bc4-39c4757d5df5", "comment": "", "reset": 0, "created_at": 1780765186268, "updated_at": 1780765186000 } ], "decryption": "none", "encryption": "none", "testseed": [ 900, 500, 900, 256 ] }, "sniffing": { "enabled": false }, "streamSettings": { "network": "tcp", "tcpSettings": { "acceptProxyProtocol": false, "header": { "type": "none" } }, "security": "reality", "realitySettings": { "show": false, "xver": 0, "target": "www.intel.com:443", "serverNames": [ "www.intel.com" ], "privateKey": "IAdavWFKSuGOE2g_DDG_WeX-DxpiA44alA8d3wZcAkA", "minClientVer": "", "maxClientVer": "", "maxTimediff": 0, "shortIds": [ "c75ff59e", "7a", "5bd6ae6667", "e11f", "619b440951a85089", "4a7b5e", "dc88b8868aa5", "13a73da7d18599" ], "mldsa65Seed": "", "settings": { "publicKey": "1pG7rPMrVKkzLHHpjOeXweInzwIsYH6MkxfywoqisRE", "fingerprint": "chrome", "serverName": "", "spiderX": "/", "mldsa65Verify": "" } } } } IP random and port random ### How to reproduce the problem 1. Create an incoming connection 2. Create a client 3. Launch on client ### Expected behavior _No response_ ### Actual behavior _No response_ ### Relevant logs ```shell ``` ### Screenshots _No response_ ### 3x-ui version 3.2.8 ### Xray-core version _No response_ ### How did you install 3x-ui? install.sh script ### Operating system Ubuntu 20.04 ### Which parts of the panel are affected? _No response_ ### Browser (only if it is a UI bug) _No response_ ### Is the panel behind a reverse proxy or CDN? Yes — other ### Before submitting - [x] I searched [existing issues](../issues?q=is%3Aissue) and this bug has not been reported. - [x] I am running the latest released version of 3x-ui (or have verified the bug still exists on it). - [x] This bug report is written in English. - [x] I have redacted any sensitive data (tokens, real domains, client UUIDs).
bsakaguchi 2026-10-31 20:33:08 +07:00
Author
Owner

@github-actions[bot] commented on GitHub (Jun 6, 2026):

Thanks for the detailed config dump.

What changed between 3.1.0 and 3.2.x

The most likely factor is the Vision testseed field introduced in v3.2.0 (commit 486ac9c2). For any VLESS + TCP + TLS/REALITY inbound, the panel now emits a testseed array at the inbound settings level (sibling of clients). Your config shows exactly the default values the panel sets:

"settings": {
  "clients": [...],
  "decryption": "none",
  "testseed": [900, 500, 900, 256]
}

In 3.1.0 that field did not exist, so the inbound settings were simply clients + decryption. If your xray-core is now actively using these seed values to enforce specific XTLS-Vision padding patterns, a client that doesn't present matching values would complete the REALITY handshake (TLS succeeds) but then stall — exactly what you describe.

To confirm / work around

  1. Check Xray logs first — run the panel with debug logging or read /var/log/x-ui/x-ui.log (or journalctl -u x-ui -n 200). After a failed connection attempt, you should see a Vision-related error from xray-core (e.g., something about vision, seed, or xtls).

  2. Try clearing the testseed field — open the inbound form, scroll to "Vision testseed" under the VLESS/TCP settings, and clear/zero all four values, then save. This removes the testseed key from the config sent to xray-core, restoring the pre-3.2.0 behaviour.

  3. Verify the Xray-core version — run x-ui → option 13 (or xray -version) to see the version actually installed on your server. The version shipped with 3.2.8 is different from 3.1.0; if you manually installed or updated xray-core separately, there may be a mismatch.

Information still needed to diagnose further

Item Why it matters
Xray-core version (from xray -version) Vision behaviour changed across xray-core releases
Client application + version Some clients don't support the current Vision+REALITY combination
Xray log output around a failed connection The log will show exactly where the connection drops
How the inbound was created Created fresh in 3.2.x, or migrated from 3.1.0 then re-saved?

Note on reverse proxy

You answered "Yes — other" for the reverse proxy question. If the Xray inbound on port 66666 (not just the panel web UI) is behind any TCP proxy or load balancer, XTLS-Vision will break because it requires a raw, unmediated TLS stream. The REALITY handshake can still complete through a transparent proxy, making it look like "handshake works but no data flows".

Please share the Xray log output and we can pinpoint the cause.

<!-- gh-comment-id:4640054002 --> @github-actions[bot] commented on GitHub (Jun 6, 2026): Thanks for the detailed config dump. **What changed between 3.1.0 and 3.2.x** The most likely factor is the **Vision `testseed` field** introduced in v3.2.0 ([commit 486ac9c2](https://github.com/MHSanaei/3x-ui/commit/486ac9c2)). For any VLESS + TCP + TLS/REALITY inbound, the panel now emits a `testseed` array at the inbound `settings` level (sibling of `clients`). Your config shows exactly the default values the panel sets: ```json "settings": { "clients": [...], "decryption": "none", "testseed": [900, 500, 900, 256] } ``` In 3.1.0 that field did not exist, so the inbound settings were simply `clients + decryption`. If your xray-core is now actively using these seed values to enforce specific XTLS-Vision padding patterns, a client that doesn't present matching values would complete the REALITY handshake (TLS succeeds) but then stall — exactly what you describe. **To confirm / work around** 1. **Check Xray logs first** — run the panel with debug logging or read `/var/log/x-ui/x-ui.log` (or `journalctl -u x-ui -n 200`). After a failed connection attempt, you should see a Vision-related error from xray-core (e.g., something about `vision`, `seed`, or `xtls`). 2. **Try clearing the testseed field** — open the inbound form, scroll to "Vision testseed" under the VLESS/TCP settings, and clear/zero all four values, then save. This removes the `testseed` key from the config sent to xray-core, restoring the pre-3.2.0 behaviour. 3. **Verify the Xray-core version** — run `x-ui` → option 13 (or `xray -version`) to see the version actually installed on your server. The version shipped with 3.2.8 is different from 3.1.0; if you manually installed or updated xray-core separately, there may be a mismatch. **Information still needed to diagnose further** | Item | Why it matters | |---|---| | Xray-core version (from `xray -version`) | Vision behaviour changed across xray-core releases | | Client application + version | Some clients don't support the current Vision+REALITY combination | | Xray log output around a failed connection | The log will show exactly where the connection drops | | How the inbound was created | Created fresh in 3.2.x, or migrated from 3.1.0 then re-saved? | **Note on reverse proxy** You answered "Yes — other" for the reverse proxy question. If the **Xray inbound on port 66666** (not just the panel web UI) is behind any TCP proxy or load balancer, XTLS-Vision will break because it requires a raw, unmediated TLS stream. The REALITY handshake can still complete through a transparent proxy, making it look like "handshake works but no data flows". Please share the Xray log output and we can pinpoint the cause.
Author
Owner

@EvgenyMolodykh commented on GitHub (Jun 6, 2026):

0.0.0.0, and that the bar does not accept testseed as a "normal IP". Message settings.testseed. 0 - Invalid input means that testseed is validated as an array of numbers.

],
"decryption": "none",
"encryption": "none",
"testseed": [
  0,
  0,
  0,
  0
]
<!-- gh-comment-id:4640131607 --> @EvgenyMolodykh commented on GitHub (Jun 6, 2026): 0.0.0.0, and that the bar does not accept testseed as a "normal IP". Message settings.testseed. 0 - Invalid input means that testseed is validated as an array of numbers. ], "decryption": "none", "encryption": "none", "testseed": [ 0, 0, 0, 0 ]
Author
Owner

@EvgenyMolodykh commented on GitHub (Jun 6, 2026):

From the logs you can see the main thing: Xray starts up normally, and the only recurring problem is the warning REALITY: Listening on non-443 ports may get your IP blocked by the GFW. It’s not a connection error, but a warning that I don’t have port 443; there’s no obvious vision, seed, xtls, or handshake error in the logs.

Image
<!-- gh-comment-id:4640188890 --> @EvgenyMolodykh commented on GitHub (Jun 6, 2026): From the logs you can see the main thing: Xray starts up normally, and the only recurring problem is the warning REALITY: Listening on non-443 ports may get your IP blocked by the GFW. It’s not a connection error, but a warning that I don’t have port 443; there’s no obvious vision, seed, xtls, or handshake error in the logs. <img width="1223" height="810" alt="Image" src="https://github.com/user-attachments/assets/005390a8-80e9-4f27-bfb8-63e4e409439a" />
Author
Owner

@Infer604 commented on GitHub (Jun 6, 2026):

I have the same problem. The warning tells you that you're using non-443 inbound ports, exactly one if you're getting one error. If you only use the 443 port for inbound, you wouldn't get any errors.

<!-- gh-comment-id:4640720512 --> @Infer604 commented on GitHub (Jun 6, 2026): I have the same problem. The warning tells you that you're using non-443 inbound ports, exactly one if you're getting one error. If you only use the 443 port for inbound, you wouldn't get any errors.
Author
Owner

@EvgenyMolodykh commented on GitHub (Jun 7, 2026):

It’s no mistake I deliberately made another port.

<!-- gh-comment-id:4642003338 --> @EvgenyMolodykh commented on GitHub (Jun 7, 2026): It’s no mistake I deliberately made another port.
Author
Owner

@EvgenyMolodykh commented on GitHub (Jun 7, 2026):

  1. 3x-ui version: 3.2.8
    Xray-core version: 26.6.1

Service status:
x-ui.service active (running)
Main PID: 1330
Xray process: bin/xray-linux-amd64 -c bin/config.json

Relevant log:
WARNING - XRAY: core: Xray 26.6.1 started
2) IOS Happ Plus v4.10.2
3) Logs sent higher
4) Created again in 3.2.8

<!-- gh-comment-id:4642151991 --> @EvgenyMolodykh commented on GitHub (Jun 7, 2026): 1) 3x-ui version: 3.2.8 Xray-core version: 26.6.1 Service status: x-ui.service active (running) Main PID: 1330 Xray process: bin/xray-linux-amd64 -c bin/config.json Relevant log: WARNING - XRAY: core: Xray 26.6.1 started 2) IOS Happ Plus v4.10.2 3) Logs sent higher 4) Created again in 3.2.8
Author
Owner

@EvgenyMolodykh commented on GitHub (Jun 7, 2026):

Solution. Checked. Use version 3.1.0, everything will work on version 3.2.8, vless won’t work.

<!-- gh-comment-id:4643313384 --> @EvgenyMolodykh commented on GitHub (Jun 7, 2026): Solution. Checked. Use version 3.1.0, everything will work on version 3.2.8, vless won’t work.
Author
Owner

@EvgenyMolodykh commented on GitHub (Jun 8, 2026):

I am so sorry. I have found the true reason. Princess was in sni. For the decision, you need to take a scanner and find sni. Thank you.

<!-- gh-comment-id:4652485317 --> @EvgenyMolodykh commented on GitHub (Jun 8, 2026): I am so sorry. I have found the true reason. Princess was in sni. For the decision, you need to take a scanner and find sni. Thank you.
Author
Owner

@EvgenyMolodykh commented on GitHub (Jun 8, 2026):

As a solution for improvement. Add sni scanner

<!-- gh-comment-id:4652490251 --> @EvgenyMolodykh commented on GitHub (Jun 8, 2026): As a solution for improvement. Add sni scanner
Author
Owner

@alexanderhuzar commented on GitHub (Jun 25, 2026):

Solution. Checked. Use version 3.1.0, everything will work on version 3.2.8, vless won’t work.

Is this really the only way? If Vision testseed is now required, older VPN clients don't support it yet (v2RayTun). Which VPN clients are free to download that support testseed and are available on iOS, Android, Windows and Mac OS?

<!-- gh-comment-id:4799882749 --> @alexanderhuzar commented on GitHub (Jun 25, 2026): > Solution. Checked. Use version 3.1.0, everything will work on version 3.2.8, vless won’t work. Is this really the only way? If Vision testseed is now required, older VPN clients don't support it yet (v2RayTun). Which VPN clients are free to download that support testseed and are available on iOS, Android, Windows and Mac OS?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#3537
No description provided.