[GH-ISSUE #3413] [XRay][Reality] Default fingerprint hellochrome_120 is rejected by the app-installed server #3253

Open
opened 2026-11-07 17:58:06 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @TheRusskiy on GitHub (Nov 5, 2026).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/3413

*Disclosure: I used AI to help draft this report and include debug info

Describe the bug
New XRay (VLESS + Reality) setups get fingerprint: "hellochrome_120" by default. With the server the app itself installs (Xray-core v26.10.31), every client using that fingerprint fails Reality authentication. The server treats the client as a normal visitor and proxies it to the decoy site (dest). The client receives the decoy's real certificate and drops the connection.

From the user's side, the app shows Connected but no traffic passes. This reproduced on both macOS and Android. Changing the fingerprint to chrome fixes it immediately, with the same server and the same keys otherwise.

Relevant code (ac175c8):

  • client/core/utils/constants/protocolConstants.h:72: constexpr char defaultFingerprint[] = "hellochrome_120";
  • client/ui/models/protocols/xrayConfigModel.cpp:762: fingerprintOptions() lists hellochrome_120 first, along with ios and edge, which fail the same way (see Additional context).
  • client/server_scripts/xray/Dockerfile:4: ARG XRAY_RELEASE="v26.10.31"

To Reproduce
Steps to reproduce the behavior:

  1. In AmneziaVPN 5.1.0.6, add a fresh Ubuntu server and install the XRay protocol with default settings (Reality, xtls-rprx-vision, port 443, default site www.googletagmanager.com).
  2. Go to Servers → your server → XRay → Security. Fingerprint shows hellochrome_120 (the default).
  3. Share a connection key and import it on any client (tested on macOS and Android), then connect.
  4. The app shows "Connected", but no websites load.
  5. Change Fingerprint to chrome in the same screen, save, and re-share the key. It works.

Expected behavior
The default fingerprint should work with the Xray server version the app installs. A connection whose Reality handshakes all fail shouldn't be reported as "Connected".

Log files
The app log contains no error. It reports a successful connection:

XrayProtocol::start()
[tun2socks]: "[STACK] tun://utun22 <-> socks5://127.0.0.1:62272"
VpnProtocol::setConnectionState "Connected"
… (only empty [tun2socks] lines until manual disconnect)

A standalone Xray-core v26.10.31 client using the same key logs this for every connection:

[Error] transport/internet/reality: REALITY: received real certificate (potential MITM or redirection)

Screenshots

Desktop (please complete the following information):

  • OS: macOS Tahoe 26.5.1 (arm64)
  • Version: 5.1.0.6 (ac175c8)

Smartphone (please complete the following information):

  • Device:
  • OS: Android
  • Version:

Server (please complete the following information):

  • OS: Ubuntu 26.04.1 LTS (Docker 29.1.3), container amnezia-xray installed by the app, Xray-core v26.10.31

Additional context

Fingerprint test matrix. I tested a standalone Xray-core v26.10.31 client (teddysun/xray image) against the app-installed server. Everything except fingerprint was identical, with site www.googletagmanager.com:

Works Fails with received real certificate
chrome, firefox, safari, randomized, hellochrome_131, hellochrome_133 hellochrome_120, hellofirefox_120, hellochrome_102, hellochrome_106_shuffle, ios, edge

The failure is deterministic: 3 out of 3 attempts failed (15 Reality handshakes, all rejected), while chrome succeeded 3 out of 3 back to back. After switching the site to learn.microsoft.com, chrome still works, and an app-generated hellochrome_120 key still fails in the macOS app.

Not a core version mismatch. The macOS app bundles Xray-core v26.7.28 (per the strings in the binary). A standalone v26.7.28 client with chrome works against the v26.10.31 server, so only the fingerprint matters.

ClientHello comparison. I captured the first flight from a v26.10.31 client pointed at a local listener:

chrome (works) hellochrome_120 (fails)
ClientHello size ~1825 B ~571 B
key_share X25519MLKEM768 (1216 B) + X25519 X25519 only
supported_groups X25519MLKEM768, X25519, P-256, P-384 X25519, P-256, P-384
ALPS new codepoint (17613) old codepoint (17513)
session_id 32 B 32 B

Both hellos carry a 32-byte session_id and an X25519 share, so the problem isn't obviously a missing field Reality needs. The pattern is that the failing fingerprints are older browser profiles, and the hellochrome_120 capture has no post-quantum key share. I didn't trace the server-side code path, so treat the root cause as unconfirmed. Either way, the practical effect is that the default doesn't work with the server version the app deploys.

Suggested fix:

  1. Change defaultFingerprint to "chrome" (uTLS auto, tracks current Chrome).
  2. Remove or demote hellochrome_120, ios and edge in fingerprintOptions(), or validate them against the deployed server version.
  3. Consider migrating existing configs that still have hellochrome_120. Keys carry the fingerprint inside them, so every already-shared key is broken until it's re-shared.
  4. Surface Reality handshake failures (received real certificate) instead of reporting "Connected", or run a post-connect reachability check.
Originally created by @TheRusskiy on GitHub (Nov 5, 2026). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/3413 *Disclosure: I used AI to help draft this report and include debug info **Describe the bug** New XRay (VLESS + Reality) setups get `fingerprint: "hellochrome_120"` by default. With the server the app itself installs (Xray-core **v26.10.31**), every client using that fingerprint fails Reality authentication. The server treats the client as a normal visitor and proxies it to the decoy site (`dest`). The client receives the decoy's real certificate and drops the connection. From the user's side, the app shows **Connected** but no traffic passes. This reproduced on both macOS and Android. Changing the fingerprint to `chrome` fixes it immediately, with the same server and the same keys otherwise. Relevant code (`ac175c8`): - `client/core/utils/constants/protocolConstants.h:72`: `constexpr char defaultFingerprint[] = "hellochrome_120";` - `client/ui/models/protocols/xrayConfigModel.cpp:762`: `fingerprintOptions()` lists `hellochrome_120` first, along with `ios` and `edge`, which fail the same way (see Additional context). - `client/server_scripts/xray/Dockerfile:4`: `ARG XRAY_RELEASE="v26.10.31"` **To Reproduce** Steps to reproduce the behavior: 1. In AmneziaVPN 5.1.0.6, add a fresh Ubuntu server and install the XRay protocol with default settings (Reality, `xtls-rprx-vision`, port 443, default site `www.googletagmanager.com`). 2. Go to Servers → your server → XRay → Security. Fingerprint shows `hellochrome_120` (the default). 3. Share a connection key and import it on any client (tested on macOS and Android), then connect. 4. The app shows "Connected", but no websites load. 5. Change Fingerprint to `chrome` in the same screen, save, and re-share the key. It works. **Expected behavior** The default fingerprint should work with the Xray server version the app installs. A connection whose Reality handshakes all fail shouldn't be reported as "Connected". **Log files** The app log contains no error. It reports a successful connection: ``` XrayProtocol::start() [tun2socks]: "[STACK] tun://utun22 <-> socks5://127.0.0.1:62272" VpnProtocol::setConnectionState "Connected" … (only empty [tun2socks] lines until manual disconnect) ``` A standalone Xray-core v26.10.31 client using the same key logs this for every connection: ``` [Error] transport/internet/reality: REALITY: received real certificate (potential MITM or redirection) ``` **Screenshots** <!-- attach: Servers → XRay → Security screen showing Fingerprint = hellochrome_120 --> **Desktop (please complete the following information):** - OS: macOS Tahoe 26.5.1 (arm64) - Version: 5.1.0.6 (ac175c8) **Smartphone (please complete the following information):** - Device: <!-- fill in --> - OS: Android <!-- fill in version --> - Version: <!-- fill in AmneziaVPN version --> **Server (please complete the following information):** - OS: Ubuntu 26.04.1 LTS (Docker 29.1.3), container `amnezia-xray` installed by the app, Xray-core v26.10.31 **Additional context** *Fingerprint test matrix.* I tested a standalone Xray-core **v26.10.31** client (`teddysun/xray` image) against the app-installed server. Everything except `fingerprint` was identical, with site `www.googletagmanager.com`: | Works | Fails with `received real certificate` | |---|---| | `chrome`, `firefox`, `safari`, `randomized`, `hellochrome_131`, `hellochrome_133` | **`hellochrome_120`**, `hellofirefox_120`, `hellochrome_102`, `hellochrome_106_shuffle`, `ios`, `edge` | The failure is deterministic: 3 out of 3 attempts failed (15 Reality handshakes, all rejected), while `chrome` succeeded 3 out of 3 back to back. After switching the site to `learn.microsoft.com`, `chrome` still works, and an app-generated `hellochrome_120` key still fails in the macOS app. *Not a core version mismatch.* The macOS app bundles Xray-core **v26.7.28** (per the strings in the binary). A standalone v26.7.28 client with `chrome` works against the v26.10.31 server, so only the fingerprint matters. *ClientHello comparison.* I captured the first flight from a v26.10.31 client pointed at a local listener: | | `chrome` (works) | `hellochrome_120` (fails) | |---|---|---| | ClientHello size | ~1825 B | ~571 B | | key_share | `X25519MLKEM768` (1216 B) + `X25519` | `X25519` only | | supported_groups | X25519MLKEM768, X25519, P-256, P-384 | X25519, P-256, P-384 | | ALPS | new codepoint (17613) | old codepoint (17513) | | session_id | 32 B | 32 B | Both hellos carry a 32-byte session_id and an X25519 share, so the problem isn't obviously a missing field Reality needs. The pattern is that the failing fingerprints are older browser profiles, and the `hellochrome_120` capture has no post-quantum key share. I didn't trace the server-side code path, so treat the root cause as unconfirmed. Either way, the practical effect is that the default doesn't work with the server version the app deploys. *Suggested fix:* 1. Change `defaultFingerprint` to `"chrome"` (uTLS auto, tracks current Chrome). 2. Remove or demote `hellochrome_120`, `ios` and `edge` in `fingerprintOptions()`, or validate them against the deployed server version. 3. Consider migrating existing configs that still have `hellochrome_120`. Keys carry the fingerprint inside them, so every already-shared key is broken until it's re-shared. 4. Surface Reality handshake failures (`received real certificate`) instead of reporting "Connected", or run a post-connect reachability check.
Sign in to join this conversation.
No labels
pull-request
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
amnezia-vpn/amnezia-client#3253
No description provided.