Skip to content

REALITY server >= v26.9.8 rejects client fingerprint edge ("received real certificate"); works on v26.7.28 #7259

Closed as not planned

Description

@Sa1ch

Integrity requirements

  • I have read all the comments in the issue template and ensured that this issue meet the requirements.
  • I confirm that I have read the documentation, understand the meaning of all the configuration items I wrote, and did not pile up seemingly useful options or default values.
  • I provided the complete config and logs, rather than just providing the truncated parts based on my own judgment.
  • I searched issues and did not find any similar issues.
  • The problem can be successfully reproduced in the latest Release

Description

After upgrading the REALITY server (inbound) from v26.7.28 to v26.9.9 / v26.9.30 / v26.10.21, clients with fingerprint: edge can no longer authenticate. The server handles them as a foreign client and proxies to target, so the client gets the real certificate:

REALITY: received real certificate (potential MITM or redirection)

With the server on v26.7.28 and the same client/config it works. Only the server version differs.

Results (VLESS + TCP + REALITY, same config and keys, only fingerprint and server version changed):

client fingerprint server v26.10.21 server v26.7.28
edge FAIL OK
ios, qq, random FAIL OK
chrome, firefox, safari, randomized OK OK
android, 360 FAIL FAIL

The client version does not matter: a v26.10.21 client with edge also fails against a v26.10.21 server, and a v26.7.28 client with chrome passes. Server options minClientVer, spiderX and fingerprint do not change the result. v26.9.9, v26.9.30 and v26.10.21 all fail on the server side.

Our guess (not verified in source): since ~v26.9.8 (xtls/reality update, commit 47cfe99) the server accepts a client only if its ClientHello contains an X25519MLKEM768 key share, which the uTLS edge profile does not send. The v26.9.x releases have no release notes, so the change is not visible when upgrading. In heavily filtered mobile networks chrome is often blocked and edge is used instead.

Reproduction Method

  1. Start the server config below with Xray v26.10.21. It needs a local TLS 1.3 site on 127.0.0.1:443 (any web server with a certificate for example.com) as the REALITY target.
  2. Start the client config below with Xray v26.10.21 (fingerprint: edge).
  3. Run curl -x socks5h://127.0.0.1:10808 https://example.com/: the request fails and the client log shows "received real certificate".
  4. Start the same server config with Xray v26.7.28 instead: the request goes through.
  5. Change the client to "fingerprint": "chrome": it works with both server versions.

Client config

Details
 { "log": { "loglevel": "debug" }, "inbounds": [ { "listen": "127.0.0.1", "port": 10808, "protocol": "socks", "settings": { "udp": false } } ], "outbounds": [ { "protocol": "vless", "settings": { "vnext": [ { "address": "127.0.0.1", "port": 18443, "users": [ { "id": "4510f783-de00-4f17-a78b-9d5ecb720186", "encryption": "none" } ] } ] }, "streamSettings": { "network": "tcp", "security": "reality", "realitySettings": { "serverName": "example.com", "fingerprint": "edge", "publicKey": "AwgI-9jTNNIG-HLC4vUIZZg2mul2xjuC_zs5a_g1ikQ", "shortId": "0123456789abcdef" } } } ] } 

Server config

Details
 { "log": { "loglevel": "debug" }, "inbounds": [ { "listen": "127.0.0.1", "port": 18443, "protocol": "vless", "settings": { "clients": [ { "id": "4510f783-de00-4f17-a78b-9d5ecb720186" } ], "decryption": "none" }, "streamSettings": { "network": "tcp", "security": "reality", "realitySettings": { "target": "127.0.0.1:443", "serverNames": [ "example.com" ], "privateKey": "GHx6hPZLikyWuhwLwZzl6UVROmuJ1_u7KJLCI7bqjWg", "shortIds": [ "0123456789abcdef" ] } } } ], "outbounds": [ { "protocol": "freedom" } ] } 
(The keys and UUID are newly generated for this test.)

Client log

Details
 2026/10/26 08:18:57.754550 [Error] [781631315] transport/internet/reality: REALITY: received real certificate (potential MITM or redirection) 2026/10/26 08:18:57.767771 [Error] [781631315] transport/internet/reality: REALITY: received real certificate (potential MITM or redirection) 2026/10/26 08:18:57.977446 [Error] [781631315] transport/internet/reality: REALITY: received real certificate (potential MITM or redirection) 2026/10/26 08:18:58.388198 [Error] [781631315] transport/internet/reality: REALITY: received real certificate (potential MITM or redirection) 

Server log

Details
 Xray 26.10.21 (Xray, Penetrates Everything.) 1b1647c (go1.27.3 linux/amd64) 2026/10/26 08:18:54.715044 [Warning] infra/conf: REALITY: Listening on non-443 ports will increase the likelihood of your server's IP being blocked by the GFW 2026/10/26 08:18:54.717808 [Warning] core: Xray 26.10.21 started (no 'accepted' line: the connection is never authenticated) 
Pinned by RPRX

Activity

  1. Fangliding commented on Oct 26, 2026

    @Fangliding
    Member

    so use chrome instead(

  2. Sa1ch commented on Oct 26, 2026

    @Sa1ch
    Author
    1. so use chrome instead(

    Thanks. In Russia, TLS fingerprints are heavily filtered right now, and edge is the profile that works best, while chrome is the one most likely to be targeted. So losing server-side support for edge, ios, qq and random is a real regression for users in filtered networks. It's also silent: no release notes for v26.9.x, and the server logs nothing.

    Is this intentional (X25519MLKEM768 requirement since commit 47cfe99)? If so, could it be noted in the release notes or logged? And is there an option to keep accepting the older profiles?

  3. Fangliding commented on Oct 26, 2026

    @Fangliding
    Member

    这是有意为之的 只是release note一直没人写
    这项改动的原意是部分客户端发出属于新版本chrome的指纹却剥离后量子keyshare导致有特征的请求
    也需要还可以选择不使用reality(

  4. hexband commented on Oct 29, 2026

    @hexband
  5. RPRX commented on Nov 4, 2026

    @RPRX
    Member

    看到群里还有人在问 Mihomo 连不上新版 Xray 服务端的 REALITY,需要找个 issue pin 一下,就选这个吧,正好也是针对 Xray 本身开的 issue

    Mihomo 需使用 Chrome 指纹,且“reality-opts:下加入support-x25519mlkem768: true” #6477 (comment) ,其它软件说明:#6714 (comment)

    至少比之前的 REALITY 服务端默认限制客户端版本号结果一堆人改参数只为了“能连上”强得多,封得一点都不冤 https://t.me/projectXtls/3595

  6. pinned this issue on Nov 4, 2026
  7. RPRX commented on Nov 8, 2026

    @RPRX
    Member

    @Sa1ch 还有个原因是 uTLS 官方仓库目前只跟进 Chrome、Firefox、Safari 了,其它浏览器现实指纹也早已是 X25519MLKEM768 了但没跟进

    所以我的看法还是在 REALITY 仓库内自己维护一套吧,只复刻浏览器指纹、不搞 uTLS 那么多其它功能的话其实还是好做的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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