Timeout
Cheat sheet · https://pcornel.dk/topic.php?topic=6051
Answer
Timeout isolates where an automation operation exceeded a defined deadline—queue, connection, handshake, server processing, polling, dependency, target convergence or acceptance—rather than simply increasing the global timeout.
Remember
- Timeout ≠ operation definitely failed or stopped.
- Long duration ≠ timeout value is too small.
- Client cancellation ≠ server-side task cancelled.
- Retry after timeout ≠ duplicate side effects are impossible.
First checks
- Which step timed out — location
- Measured normal duration — baseline
- Target health/latency — cause
Commands
curl -sv --connect-timeout 5 --max-time 15 <url> -o /dev/null- Read-only/validation observation for DNS/connect/TLS/HTTP timing and failure boundary for a documented read-only endpoi…
curl
Verify in this order
operation → exceeds timeout → abort → investigate
Where it usually breaks
A timeout proves the caller did not obtain the expected completion signal within its deadline; it does not prove no change occurred or that the server stopped processing.
Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.
Timeout troubleshooting proof-boundary map
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Symptom / scope | Time window, immutable source/run identity, effective inputs and exact targets are explicit | Floating source, changed inputs or ambiguous targets destroy reproducibility |
| First failed boundary | Transport/auth/dependency/render/operation evidence identifies the earliest divergence | Investigation starts at the final error and skips earlier unproven boundaries |
| Effective outcome | Controller result is paired with target read-back and workload/service acceptance | Green execution state or changed symptom substitutes for effective-state verification |
| Recovery / closure | Minimal change restores the original test and regression/partial-state checks are clean | Broad retry or unrelated edits make the incident non-reproducible and hide residual state |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6051