Skip to main content

How do we debug network latency, timeouts and connection resets?

Syself support For release

To debug Kubernetes network timeouts and connection resets, start with Hubble. It runs on every Syself Autopilot cluster and records each dropped packet with the reason. Set up the Hubble CLI with See flows with Hubble and look at the dropped flows first.

A common cause of timeouts under load is a client that opens many short connections from one source address to one destination and uses up the source ports. To avoid it:

  • Reuse connections (keep-alive, HTTP/2 or HTTP/3).
  • Use a connection pool in the client.
  • Spread the pods across nodes.

If kubectl exec or kubectl logs fails, or workers go NotReady, the problem is between the API server and the nodes. Follow Debug node networking for that.

If Hubble shows no drop and a connection still fails, run a Cilium connectivity test. If you cannot find the cause, prepare a support case with the Hubble output and we look at it with you.

Still stuck?

Prepare your case, then email us.