Scenario: One HTTPS Endpoint, Half the Requests Fail
A checkout API works nine times out of ten. On the tenth call the client reports a TLS connection failed error, a retry succeeds, and the server logs show no connection at all. Teams usually respond by changing cipher lists, replacing certificates, or restarting a gateway — but without knowing where the handshake stopped, those changes are coin flips.
There is a more reliable route. Take an offline capture that actually contains the bad moment and reconstruct the handshake in order: did the client send a ClientHello, did a ServerHello come back, is there an alert record in between, and did TCP misbehave first? Everything below applies to a capture file that is already open — this is offline analysis of data that was already recorded.
Step 1: Filter TLS and Ask Whether ClientHello Got an Answer
Open the file and type tls into the display filter. The packet list collapses to TLS records only. Before reading any field, answer one question: for every ClientHello, is there a ServerHello traveling in the opposite direction within the same conversation?
Three shapes, three very different next moves:
- ClientHello with no ServerHello at all. The server never answered. Either the packet never reached it or the connection was dropped before TLS. Go to step 3 and look at TCP.
- ClientHello and ServerHello both present. The negotiation started, so the break is later — certificate validation, version or cipher mismatch, or an SNI policy. Go to step 2.
- The same ClientHello repeated. That is usually a SYN being retransmitted, not a TLS problem. Stop tuning TLS settings.
Open one TLS packet and the packet detail tree shows tls.record.content_type. The engine translates the record header directly: 20 is change_cipher_spec, 21 is alert, 22 is handshake, 23 is application_data. Those four values anchor every conclusion below. Even in TLS 1.3, where most post-ServerHello handshake messages are encrypted, the record type stays readable from the header.
Step 2: Locate the alert Record — Position Matters
An alert is the shortest sentence TLS can say about its own failure. After filtering for tls, look for records whose content_type is 21. They sit among the handshake records in the list, but the protocol tree makes them obvious.
Where the alert appears matters more than what it says. The same alert means different things at different points:
- Immediately after ClientHello, before any ServerHello: the server rejected the negotiation. Think unsupported protocol version, no common cipher suite, an SNI policy match, or an ALPN mismatch.
- After ServerHello and the certificate messages: the handshake reached authentication. Suspect the certificate chain, a hostname mismatch, expiration, or client-side trust.
- Around
change_cipher_spec: a record-layer issue near the key change; you need client-side keys or certificates to go deeper.
One honest caveat: the engine does not decrypt TLS payloads, so an alert's level and description may not be readable without keys. What you can rely on is the record type and its position in the conversation. Do not turn a guess into a specific error code on the ticket. Reading alert internals belongs to decryption workflows, covered separately in the TLS decryption guide.
Step 3: Read the Conversation and Sequence
Once you know the record types, switch to the conversations view. The left pane lists conversations sorted by packet count; the right pane shows the selected conversation's reassembled traffic in both directions. On a wide screen the divider is draggable; on a narrow screen you see the list first and open a single conversation on tap. The sequence diagram marks SYN, FIN, and RST, and draws retransmissions as dashed lines.
Three recurring shapes:
- SYN retransmitted repeatedly, no SYN-ACK. The connection never opened. Look at link reachability or the server; there is no TLS data to judge yet.
- SYN followed by RST. The connection was actively refused — a closed port, a policy rejection, or a middlebox, not a certificate problem.
- A complete three-way handshake, then an alert after ClientHello/ServerHello. Transport is healthy and the break is in TLS negotiation or authentication. Return to step 2 and classify by the alert's position.
This step prevents misattribution. Calling "the packet never arrived" a TLS connection failed error sends you down the wrong path for an entire afternoon. The diagnosis card marks layers with no data as NA for exactly the same reason.
Step 4: Confirm Configuration with the TLS Grade Card
If the first three steps point at configuration, go back to the stats page and find the TLS grade card. It renders only when the report is ready and the file contains at least one ClientHello — a capture without TLS handshakes shows nothing, which is an intentional gate rather than a broken widget.
The card gives two things: an A–D overall grade (score cutoffs at 90, 75, and 60) and the reasons for deductions. Those reasons are explicit: an effective version below TLS 1.2, every ClientHello on an old version, flows carrying weak ciphers, SNI fully observable (no ECH), certificate errors, self-signed certificates, certificate-chain verification that did not fully pass, and QUIC flows making up at least half of the ClientHello flows. Below that sit cross-flow version and cipher distributions plus JA4↔SNI associations; a button expands the per-flow detail beyond the short preview.
Mind the scope: the cipher distribution is aggregated from ClientHello offered suites with GREASE removed, not the suite the server selected — the engine report exposes the client side only. Use this card to answer "is the TLS posture in this capture weak?" and use the alert position from step 2 to explain why one specific handshake broke. Together they form a complete evidence chain.
Step 5: Pin the Verdict to Packet Numbers
At the top of the stats page, the diagnosis card uses the same logic as the report: six layers — link, transport, DNS, TLS, behavior, application — each judged PASS, WARN, FAIL, or NA, plus a one-line conclusion. For this scenario the TLS layer is the one to read. If the report contains flows with weak cipher suites, that layer is FAIL and evidence packet numbers are attached; if there are no TLS flows at all, it is honestly NA; otherwise it is PASS with the flow count. Clicking a FAIL or WARN chip jumps straight to the first evidence packet.
That reduces the investigation to a sentence you can paste into a ticket:
- TLS FAIL with transport PASS → configuration or certificate problem; fix the server's TLS setup and capture again to verify.
- Transport FAIL with TLS NA → reachability or network problem; leave the certificates alone.
- All layers PASS or NA → this capture missed the failing moment; use a different offline file that covers it and run the same flow again.
Intermittent failures are hard because the evidence usually lives outside the error message. Turn "filter → find the alert → read the conversation → check the grade → write the verdict" into a fixed routine and the next incident takes minutes instead of an afternoon.
Related reading: TLS 1.3 handshake analysis covers the healthy handshake step by step; How to read the layered diagnosis card expands on all six layers.
