What happened
A service waited too long for the database to respond.
How to fix it
Check pool size and slow queries. Raising max_conns is occasionally the answer, and occasionally the problem.
Example response
{
"error": "HEN-4101",
"message": "Database timeout",
"status": 504,
"request_id": "req_45dba4"
}
Should I retry?
Yes. Retry with exponential backoff and jitter.
| Code | HEN-4101 |
|---|---|
| HTTP status | 504 |
| Family | HEN-4xxx |
Related errors
HEN-4001: Name already takenHEN-4002: Deployment in progressHEN-4003: Version conflictHEN-4004: Dependency not satisfied
Still stuck? Include the request_id when you contact support. Our hens can find it in about a second.