Error map

connection closed server closed the connection unexpectedly — This probably means the server terminated abnormally before or while processing the request.

PostgreSQL · layer 5, Data

Open the full error page →

Centre: this error. First ring: errors it is linked with (8). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.

connection closed — server closed the connection unexpectedly — This probably means the server terminated abnormally before or while processing the request. (PostgreSQL)connection …HikariCP timeout — HikariPool-1 - Connection is not available, request timed out after 30000ms (Java)HikariCP timeoutconnection limit for role — FATAL: too many connections for role "x" (PostgreSQL)connection limit fo…2006 — MySQL ERROR 2006 (HY000): MySQL server has gone away (MySQL)2006could not connect — PostgreSQL: could not connect to server / connection refused — Is the server running on host and accepting TCP/IP connections? (PostgreSQL)could not connect3D000 — FATAL: database "x" does not exist (PostgreSQL)3D00053300 — FATAL: sorry, too many clients already / remaining connection slots are reserved for non-replication superuser connections (PostgreSQL)53300SSL required — server does not support SSL, but SSL was required / no pg_hba.conf entry … no encryption (PostgreSQL)SSL requiredmaintenance — Cloud SQL connections dropped during maintenance or failover (server closed the connection) (Google Cloud / Firebase)maintenance2002 — MySQL ERROR 2002 (HY000): Can't connect to local MySQL server through socket (MySQL)2002Lock wait timeout — Lock wait timeout exceeded; try restarting transaction (MySQL 1205) (SQL)Lock wait timeout1040 — MySQL ERROR 1040 (08004): Too many connections (MySQL)104053100 — ERROR: could not extend file "base/…": No space left on device (PostgreSQL)53100508 — HTTP 508 Loop Detected (Resource Limit Is Reached) (HTTP)508509 — HTTP 509 Bandwidth Limit Exceeded (HTTP)5091045 — MySQL ERROR 1045 (28000): Access denied for user (MySQL)1045Deadlock — Deadlock found when trying to get lock; try restarting transaction (SQL)DeadlockCommunications link failure — com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure (Java)Communications link…28P01 — PostgreSQL: FATAL: password authentication failed for user (PostgreSQL)28P01ECONNREFUSED — Error: connect ECONNREFUSED 127.0.0.1:5432 (Node.js)ECONNREFUSEDPrisma P1001 — Error: P1001: Can't reach database server at `host`:`5432` (Node.js)Prisma P1001DB connection — WordPress: Error Establishing a Database Connection (WordPress)DB connection1049 — MySQL ERROR 1049 (42000): Unknown database 'x' (MySQL)1049out of shared memory — ERROR: out of shared memory — HINT: You might need to increase max_locks_per_transaction. (PostgreSQL)out of shared memorySkuNotAvailable — Azure: SkuNotAvailable / QuotaExceeded when creating a VM or resource (Azure)SkuNotAvailableInsufficientInstanceCapacity — InsufficientInstanceCapacity: We currently do not have sufficient capacity in the Availability Zone you requested (AWS)InsufficientInstanc…AllocationFailed — Azure VM: AllocationFailed / ZonalAllocationFailed — Allocation failed. We do not have sufficient capacity for the requested VM size (Azure)AllocationFailedCERTIFICATE_VERIFY_FAILED — SSL: CERTIFICATE_VERIFY_FAILED / unable to get local issuer certificate (API)CERTIFICATE_VERIFY_…tlsv1 alert protocol version — SSL error: tlsv1 alert protocol version / unsupported protocol / no protocols available (API)tlsv1 alert protoco…Pending validation — ACM certificate stuck in Pending validation (AWS)Pending validationCloud SQL: failed to connect to instance — Cloud SQL: failed to connect to `host=PROJECT:REGION:INSTANCE user=app database=db`: dial error (timeout) / Cloud SQL Auth Proxy: failed to connect to instance (Google Cloud / Firebase)Cloud SQL: failed t…Cloud SQL: too many connections — Cloud SQL: FATAL: remaining connection slots are reserved / MySQL: ERROR 1040 (08004): Too many connections (Google Cloud / Firebase)Cloud SQL: too many…ORA-00018 — ORA-00018: maximum number of sessions exceeded (SQL)ORA-00018

Directly related (8)

HikariCP timeoutJava

HikariPool-1 - Connection is not available, request timed out after 30000ms

The connection pool was exhausted — all connections were busy for 30 seconds.

connection limit for rolePostgreSQL

FATAL: too many connections for role "x"

The role reached its per-role CONNECTION LIMIT (often set by hosting providers or free tiers).

2006MySQL

MySQL ERROR 2006 (HY000): MySQL server has gone away

The connection to MySQL was closed — usually by a timeout or a packet larger than `max_allowed_packet`.

could not connectPostgreSQL

PostgreSQL: could not connect to server / connection refused — Is the server running on host and accepting TCP/IP connections?

The client reached no PostgreSQL listener at that host/port — the server is down, listening elsewhere, or not accepting remote co…

3D000PostgreSQL

FATAL: database "x" does not exist

The connection names a database that isn’t on that server.

53300PostgreSQL

FATAL: sorry, too many clients already / remaining connection slots are reserved for non-replication superuser connections

PostgreSQL reached max_connections.

SSL requiredPostgreSQL

server does not support SSL, but SSL was required / no pg_hba.conf entry … no encryption

The client and server disagree about SSL — the client requires it but the server doesn’t offer it, or the server requires it and…

maintenanceGoogle Cloud / Firebase

Cloud SQL connections dropped during maintenance or failover (server closed the connection)

Connections reset when Cloud SQL restarts for maintenance, a flag change or a high-availability failover.

Two steps away (24)

2002MySQL

MySQL ERROR 2002 (HY000): Can't connect to local MySQL server through socket

The client couldn’t reach the MySQL server — it isn’t running, or the client is looking for the socket/port in the wrong place.

Lock wait timeoutSQL

Lock wait timeout exceeded; try restarting transaction (MySQL 1205)

A query waited too long for a row lock held by another transaction and gave up.

1040MySQL

MySQL ERROR 1040 (08004): Too many connections

MySQL reached `max_connections` and refuses new clients.

53100PostgreSQL

ERROR: could not extend file "base/…": No space left on device

The disk holding the PostgreSQL data directory (or WAL) is full.

508HTTP

HTTP 508 Loop Detected (Resource Limit Is Reached)

Either the server detected an infinite loop (WebDAV) or — much more often — a cPanel/CloudLinux host is saying your account hit i…

509HTTP

HTTP 509 Bandwidth Limit Exceeded

A hosting-control-panel status (cPanel/Apache) meaning the account used up its monthly bandwidth allowance.

1045MySQL

MySQL ERROR 1045 (28000): Access denied for user

MySQL rejected the login — wrong password, wrong user/host combination, or the user doesn’t exist.

DeadlockSQL

Deadlock found when trying to get lock; try restarting transaction

Two transactions waited on each other’s locks; the database killed one so the other could continue.

Communications link failureJava

com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure

The MySQL JDBC driver couldn’t reach the database (or the connection dropped).

28P01PostgreSQL

PostgreSQL: FATAL: password authentication failed for user

PostgreSQL rejected the password for that role, or pg_hba.conf requires a different auth method.

ECONNREFUSEDNode.js

Error: connect ECONNREFUSED 127.0.0.1:5432

Nothing is listening at that host:port — the target service is down or you’re connecting to the wrong address.

Prisma P1001Node.js

Error: P1001: Can't reach database server at `host`:`5432`

Prisma couldn’t connect to the database in DATABASE_URL.

DB connectionWordPress

WordPress: Error Establishing a Database Connection

WordPress can’t connect to its MySQL/MariaDB database with the credentials in wp-config.php, or the database server is down.

1049MySQL

MySQL ERROR 1049 (42000): Unknown database 'x'

The database named in the connection doesn’t exist on that server.

out of shared memoryPostgreSQL

ERROR: out of shared memory — HINT: You might need to increase max_locks_per_transaction.

A transaction took more locks than the lock table can hold — usually touching many tables/partitions at once.

SkuNotAvailableAzure

Azure: SkuNotAvailable / QuotaExceeded when creating a VM or resource

The VM size isn’t offered in that region/zone for your subscription, or you’ve hit the vCPU quota.

InsufficientInstanceCapacityAWS

InsufficientInstanceCapacity: We currently do not have sufficient capacity in the Availability Zone you requested

AWS has no free capacity for that instance type in that Availability Zone right now.

AllocationFailedAzure

Azure VM: AllocationFailed / ZonalAllocationFailed — Allocation failed. We do not have sufficient capacity for the requested VM size

Azure has no capacity for that VM size in the region/zone (or in the cluster the VM is pinned to) right now.

CERTIFICATE_VERIFY_FAILEDAPI

SSL: CERTIFICATE_VERIFY_FAILED / unable to get local issuer certificate

The client couldn’t verify the server’s TLS certificate chain, so it refused the HTTPS connection.

tlsv1 alert protocol versionAPI

SSL error: tlsv1 alert protocol version / unsupported protocol / no protocols available

The client and server couldn’t agree on a TLS version or cipher, so the HTTPS handshake failed before any HTTP was exchanged.

Pending validationAWS

ACM certificate stuck in Pending validation

ACM is waiting to see the DNS (or email) validation record — it wasn’t created, was created in the wrong DNS zone, or has a typo.

Cloud SQL: failed to connect to instanceGoogle Cloud / Firebase

Cloud SQL: failed to connect to `host=PROJECT:REGION:INSTANCE user=app database=db`: dial error (timeout) / Cloud SQL Auth Proxy: failed to connect to instance

Your app or the Cloud SQL Auth Proxy couldn't open a connection to the instance — IAM, networking or configuration.

Cloud SQL: too many connectionsGoogle Cloud / Firebase

Cloud SQL: FATAL: remaining connection slots are reserved / MySQL: ERROR 1040 (08004): Too many connections

The instance's maximum connections was reached, often because serverless instances each open their own connection pool.

ORA-00018SQL

ORA-00018: maximum number of sessions exceeded

The database reached its SESSIONS limit, so no new connection can be created.