Nginx: upstream timed out (110: Connection timed out)

Upstream did not send headers or body bytes within proxy_read_timeout (default 60s).

Runs locally in browser Free · No login Independently Verified 2026-11-25 v4.0.0
Identifier: Nginx: upstream timed out (110: Connection timed out) Platform: Nginx

Interactive Diagnostic Checklist

Safe Diagnostic Command:
grep -rn "proxy_read_timeout" /etc/nginx/

Technical Explanation

Upstream did not send headers or body bytes within proxy_read_timeout (default 60s). Verified resolution path: Optimize slow backend queries or streaming endpoints rather than raising global timeouts indiscriminately.

Worked Examples

  • Read-only diagnostic command: grep -rn "proxy_read_timeout" /etc/nginx/

Limitations & Assumptions

  • Always verify which infrastructure layer (CDN, Nginx, runtime, OS, or database) emitted the error before modifying production config.

Source References & Verification

Resource ID: err-nginx-upstream-timed-out · Independently verified: 2026-11-25

Related Resources