Report a current Xray version in the REALITY session id. The REALITY client stamps the first three bytes of the session id with the Xray version it claims to be. Upstream mihomo sends 1.8.2. Xray servers from v26.7.11 on default minClientVer to 26.3.27, silently reject the handshake and answer with the cover site's certificate, which surfaces as "REALITY Authentication: false" and a failed delay test. Upstream declined both fixes (MetaCubeX/mihomo#3070, #3094). 26.3.27 matches the sing-box patch. --- a/component/tls/reality.go +++ b/component/tls/reality.go @@ -71,9 +71,9 @@ binary.BigEndian.PutUint64(hello.SessionId, uint64(ntp.Now().Unix())) copy(hello.SessionId[8:], realityConfig.ShortID[:]) - hello.SessionId[0] = 1 - hello.SessionId[1] = 8 - hello.SessionId[2] = 2 + hello.SessionId[0] = 26 + hello.SessionId[1] = 3 + hello.SessionId[2] = 27 //log.Debugln("REALITY hello.sessionId[:16]: %v", hello.SessionId[:16])