Host did not answer in time
HTTP 504, problem type host-timeout.
Each request the control plane sends to a host has a deadline, and the host did not answer before it.
Common causes
- The host is overloaded or lost its connection to the control plane.
What to do
- Read the sandbox's status. If it is unreachable, wait for it to recover.
- For creates, send an Idempotency-Key so a retry cannot create a second sandbox.
Retrying
Retry with backoff. The SDKs retry a 504 only when the request is safe to repeat: reads, deletes, file writes and requests with an Idempotency-Key, such as sandbox creation.
Example response
The body is an RFC 9457 problem document with the content type application/problem+json.
{ "type": "https://docs.wardcase.com/errors/host-timeout", "title": "Host did not answer in time", "status": 504, "detail": "The host did not answer within the deadline"}