The short version
- A QUIC connection carries a pool of endpoint-issued routing handles, not one permanent session name.
- Migration needs spare inventory, a negotiated ceiling and finished retirement — an open connection is not enough.
- Operators need a two-way CID lifecycle receipt to tell a routing failure from an empty drawer from deliberate privacy rotation.
A phone slips off Wi-Fi onto cellular. TLS is intact, application streams are open, the connection is very much alive — and yet it cannot take a single step onto the new path. Nothing cryptographic has broken. It has simply run out of spare keys.
That is the quiet failure mode of QUIC connection IDs (CIDs): a connection can stay perfectly healthy while its migration inventory hits zero. RFC 9000 §5.1 defines CIDs not as a session name but as a pool of routing handles — each endpoint issues the ones its peer uses to reach it, so packets keep finding the right connection state even when the underlying addresses change.
Direction matters: who issues, who consumes
An endpoint issues identifiers for packets sent toward itself; it consumes identifiers issued by its peer when sending toward that peer. A packet capture showing one destination CID therefore records one current routing handle in one direction — not a universal connection name, not an authenticated subscriber, and certainly not the full inventory sitting at both ends.
Sequence numbers reconcile a lifecycle, not a clock
§5.1.1 stamps issued identifiers with sequence numbers. Fresh values arrive in NEW_CONNECTION_ID frames with increasing sequence numbers, and an identifier stays active from issuance until its peer retires it. The sequence is a bookkeeping aid for reconciling lifecycle messages — it is not a clock, not a global counter, and not proof that two values seen elsewhere belong to the same person or session.
The ceiling is capacity, not stock
Inventory is negotiated. active_connection_id_limit says how many active IDs a peer will maintain; overshoot it after adding and retiring, and you earn a CONNECTION_ID_LIMIT_ERROR. But a limit is a ceiling, not a stock. A peer can sit comfortably below the limit while holding zero unused IDs fit for a new path, because the available values were already spent or are awaiting replacement.
Why migration fails while the connection lives
That gap turns operational the moment a path changes. RFC 9000 says an endpoint needing non-zero-length IDs should make sure its peer has enough available values to use a new one on migration. §9.5 is blunt about the failure: an endpoint that exhausts its available IDs cannot probe new paths, cannot initiate migration, and cannot answer its peer's probes or migration attempts until supply is restored.
Privacy rotation spends the same drawer
Privacy creates the identical demand. A stable CID reused across paths would let a passive observer stitch activity together, so the protocol forbids reusing a CID when sending from more than one local address or to more than one destination address. Rotation blunts one obvious correlation signal — but it does not guarantee unlinkability, because timing and packet size remain on the table for any observer.
Retirement is a handshake of its own
Retirement is not a footnote; it is a negotiation. §5.1.2 has RETIRE_CONNECTION_ID declare that an issued value will not be used again and request a replacement. A NEW_CONNECTION_ID frame can push Retire Prior To forward, forcing older sequence numbers out of the active set. Until the lifecycle messages and their acknowledgements settle, the two ends can disagree: one has asked for retirement while the other is still tracking transmission and replacement work.
Why counting CIDs in a trace proves little
Which is why a raw count of IDs in a trace is weak evidence. NEW_CONNECTION_ID and RETIRE_CONNECTION_ID frames are encrypted. Passive measurement may watch destination values change without ever seeing why, while endpoint telemetry knows the sequence, the retirement threshold, the unused pool and the acknowledgement state. RFC 9312 makes the point plainly: CIDs may change mid-connection, and the new values arrive in encrypted frames.
Zero-length CIDs: migration switched off at birth
Zero-length CIDs sharpen the boundary. An endpoint that picks a zero-length ID during the handshake can never issue a new one later. That configuration is perfectly valid — and it deliberately trades away CID-supported migration. A clean handshake under that policy is not evidence that an address change will keep the connection.
The bidirectional CID lifecycle receipt
So diagnose path continuity with a two-way inventory ledger, not a single observed value. For each endpoint, record how many active IDs the peer permits, how many have been issued, how many remain unused, how many were consumed on a path, how many await retirement or replacement, and how many finished retiring. Join every state to the local/remote address tuple and to the first and last packet that used each handle.
The complete receipt should preserve: connection observation ID and time; endpoint role; local and peer address tuple; issuer direction; CID sequence and fingerprint; explicit active, unused, consumed, retirement-requested and retired states; active_connection_id_limit; the largest Retire Prior To; NEW_CONNECTION_ID receipt time; RETIRE_CONNECTION_ID send and acknowledgement times; the associated stateless-reset-token fingerprint; first and last path tuple; zero-length negotiation; unused-pool count in each direction; migration or probing demand; routing-backend outcome; and privacy caveats. Fingerprints keep raw secret-adjacent values out of broad view. Together they separate a wrong-backend delivery from a validation failure, an empty pool from divergent retirement state.
A CID on its own proves very little. Its presence shows only that a sender placed a routing handle in a packet. The surrounding cryptographic processing and endpoint state are what tie that packet to the connection. Lifecycle and path evidence are what show whether the inventory can carry another path. And nothing in the value authenticates the human or application identity an operations dashboard is so tempted to hang on it.
The connection never died. The spare-key drawer just went empty — and no dashboard that watches only the connection will ever tell you so.
Member Briefing
Read the full trend briefing
Members read the full briefing with the source notes behind every finding.
Strategic Circle
A daily briefing in your language, built from changes we have verified.
Join for USD 20/monthCancel anytime.
Members also get the full research library, a daily briefing on the networks they follow and the private forum.






