Learn / Answers

Why is a connection slow to open?

Connection setup time is the gap between the SYN and the SYN/ACK. It's roughly one round trip, so it shows network distance and congestion before the server does any work. Under about 100 ms is typical; hundreds of milliseconds or more means a long, congested, or lossy path, or a resent SYN.

What it looks like in the packets

  • The time from SYN to SYN/ACK is large.
  • Sometimes the first SYN was lost and resent a second later.
  • Every later round trip on that connection is slow too.

Common causes

  • A distant server or a long VPN path.
  • Congestion or Wi-Fi problems near the client.
  • A lost first SYN (adds about a second).
  • An overloaded server whose connection queue is full.

What to check

  1. Compare setup time across servers: one slow server or all of them?
  2. Check for resent SYNs before blaming distance.
  3. Use traceroute to see where delay is added.

Wireshark display filters

  • tcp.analysis.initial_rtt > 0.3connections that took over 300 ms to set up
  • tcp.flags.syn == 1handshake packets

How Blame Finder flags it

Warning when the slowest setup to a server takes 1 second or more; Low above 300 ms. Upload a capture and the finding links straight to the packets behind it, with the most likely culprit at the top.