NETWORK / ERROR-CATALOG-v1

timeoutcauses and resolution

Request or upstream gateway timeout

  • timeout
  • timeout_error
  • request_timeout
  • etimedout
  • gateway_timeout

What this signal means

The request did not complete within a client, gateway, or provider time window.

Typical HTTP
408 / 504
Protocols
openai / anthropic
Catalog date
2026-09-08

Sanitized response example

upstream request failed: ETIMEDOUT after 30 seconds

Possible causes

  • Network, DNS, TLS, proxy, or relay upstream connection is slow.
  • Generation takes too long and non-streaming waits exceed a gateway timeout.

Verification and resolution order

  1. 01

    Separate connect, first-byte, stream-gap, and total request durations.

  2. 02

    Record the request ID and compare provider status with local proxy logs.

  3. 03

    Use streaming or batch processing for long work and apply idempotency and retry budgets.

What this error cannot prove

One timeout does not prove a sustained provider outage or identify the failing network layer.

Official references