curl (28): Operation timed out / Resolving timed out

Firewall silently dropped SYN packets (no RST) or upstream DNS resolver stalled.

Runs locally in browser Free · No login Independently Verified 2026-11-25 v4.1.0
Identifier: curl (28) Platform: Networking
Common Root Causes:
  • Firewall silently dropped SYN packets (no RST) or upstream DNS resolver stalled.

Interactive Diagnostic Checklist

Verified Solutions:
  1. Check security group egress/ingress rules, IPv6 reachability (`curl -4`), and upstream timeouts.
Safe Diagnostic Command:
curl -w "dns:%{time_namelookup} conn:%{time_connect}\n" -o /dev/null -s <url>
Warning: Verify configuration changes in staging or with dry-run flags (e.g. nginx -t) before reloading production services.

Technical Explanation

Firewall silently dropped SYN packets (no RST) or upstream DNS resolver stalled. Recommended diagnostic: `curl -w "dns:%{time_namelookup} conn:%{time_connect}\n" -o /dev/null -s <url>`. Remediation: Check security group egress/ingress rules, IPv6 reachability (`curl -4`), and upstream timeouts.

Worked Examples

  • Run `curl -w "dns:%{time_namelookup} conn:%{time_connect}\n" -o /dev/null -s <url>` to verify root cause before applying the remediation.

Limitations & Assumptions

  • Always verify configuration changes in staging or with dry-run flags (e.g. `nginx -t`) before reloading production services.

Source References & Verification

Resource ID: err-linux-curl-exit-28-operation-timed-out · Independently verified: 2026-11-25

Related Resources