What it means
The server didn't receive a complete request in the time it was willing to wait, and is closing the connection. The client may repeat the request on a new connection.
Why you're seeing it
- A slow or stalled upload on a poor network.
- A browser preconnecting and then not using the connection; servers close idle connections with
408. - Server timeouts set too short for large uploads.
How to fix it
- Retry the request; browsers do this automatically.
- For uploads, raise the server's body timeout, or upload in chunks.
Example response
HTTP/1.1 408 Request Timeout Connection: close Content-Length: 0