tls.ech silently ignored when disableChromeParrot is not set (client sends without ECH, no error)
Environment:
Hysteria version: v2.12.3 (BuildDate 2026-09-16, quic-go v0.62.1) OS: Debian (client), Linux Client mode: TUN
Description:
When tls.ech is configured on the client with a valid, well-formed ECH config list (verified below), the client connects successfully but reports "ech": false in the connected to server log line — i.e. it silently falls back to a non-ECH handshake instead of using ECH or failing closed as documented.
Setting quic.disableChromeParrot: true resolves the issue and the client correctly reports "ech": true. This suggests Chrome QUIC fingerprint parroting (enabled by default) does not currently support inserting the ECH extension into the parroted ClientHello, and silently drops it instead of erroring or falling back to a non-parroted-but-ECH-enabled handshake.
Steps to reproduce:
Generate ECH keys on the server: hysteria ech --public-name example.com Server config: yaml ech: keyPath: /etc/hysteria/ech.pem Client config (relevant excerpt, disableChromeParrot omitted / default false): yaml tls: sni: "your.domain.com" ech: insecure: false
quic: disablePathMTUDiscovery: false
disableChromeParrot not set -> defaults to false (enabled)
Start the client, observe log: INFO connected to server {"addr": "...", "udpEnabled": true, "tx": ..., "ech": false, "count": 1}
No error, no warning — connection succeeds normally without ECH.
Add disableChromeParrot: true under quic:, restart the client: INFO connected to server {"addr": "...", "udpEnabled": true, "tx": ..., "ech": true, "count": 1}
Now ECH is correctly negotiated.
Expected behavior:
Per the docs (/docs/advanced/ECH/) and per Go's crypto/tls semantics for EncryptedClientHelloConfigList (handshake either succeeds with ECH or fails with an explicit ECH rejection error — no silent fallback), I expected one of:
ECH to work regardless of Chrome parroting, or An explicit error/warning if the two features are incompatible, rather than silently dropping ECH.
Actual behavior:
ECH is silently dropped with no log message when Chrome parroting is active, and only works once parroting is explicitly disabled.
Evidence the ECH config itself is valid:
Decoded the base64 value used in testing (structure, not the real production key):
00 3a fe 0d 00 36 63 00 20 00 20 <32-byte pubkey> 00 04 00 01 00 02 00 07 61 6d 64 2e 63 6f 6d 00 00 fe0d = correct ECHConfig version Length fields (003a total, 0036 ECHConfig contents) match exactly kem_id=0x0020, one cipher suite kdf=0x0001/aead=0x0002, max_name_length=0, public_name="amd.com" (7 bytes), no extensions — fully RFC 9180/ECH-draft-compliant, no truncation.
So this isn't a case of a malformed/corrupted config list (as in e.g. https://github.com/MHSanaei/3x-ui/issues/4097 with empty public_name) — the config list is well-formed and the server-side key/config match (confirmed working once parroting was disabled with the exact same config list).
Possible root cause:
Chrome QUIC fingerprint parroting (quic.disableChromeParrot: false, default) likely constructs the outgoing ClientHello using a fixed/templated extension set that mimics Chrome's own QUIC stack, and does not currently account for inserting the encrypted_client_hello extension. Since parroting and ECH are unrelated code paths bolted together, ECH is probably just omitted rather than erroring.
Suggestion:
Either make Chrome parroting ECH-aware (include the extension when tls.ech is set), or Log a warning / return a config validation error when both tls.ech and Chrome parroting (default-on) are configured together, so users aren't left debugging a silent fallback.
Source: apernet/hysteria