Error map
MongoPoolClearedError / Timed out while checking out a connection from connection pool MongoWaitQueueTimeoutError: Timed out while checking out a connection from connection pool
MongoDB · layer 5, Data
Centre: this error. First ring: errors it is linked with (12). 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.
Directly related (12)
MongoDB: MongoParseError: Invalid scheme, expected connection string to start with "mongodb://" or "mongodb+srv://"
The connection string is missing, malformed, or the environment variable holding it is undefined.
MongoServerError: Exceeded memory limit for $group, but didn't allow external sort. Pass allowDiskUse:true to opt in
An aggregation stage needed more than 100 MB of RAM and spilling to disk wasn't enabled.
MongoDB: MongoServerError: bad auth : Authentication failed (code 8000 / 18)
MongoDB (often Atlas) rejected the username/password in the connection string.
MongoServerError: BSONObj size: 17825792 (0x1100000) is invalid. Size must be between 0 and 16793600(16MB)
A single document (or an aggregation result row) grew past MongoDB's 16 MB limit.
MongoDB: MongoServerSelectionError: connect ECONNREFUSED 127.0.0.1:27017
The driver couldn't connect to a MongoDB server on localhost:27017 — nothing is listening there.
Networking: dhcpd: DHCPDISCOVER from aa:bb:cc:dd:ee:ff via eth0: network 192.168.1.0/24: no free leases
The DHCP server has no unused addresses left in the scope.
PyMongo: pymongo.errors.ServerSelectionTimeoutError: localhost:27017: [Errno 111] Connection refused, Timeout: 30s
PyMongo couldn't find a usable MongoDB server within the selection timeout.
MongoServerError: operation exceeded time limit (MaxTimeMSExpired) / Query timed out
A query ran longer than `maxTimeMS` (or the driver's socket/timeouts) and was aborted.
Networking: No Wi-Fi networks found — the Wi-Fi adapter is missing, disabled or its driver failed
The operating system doesn't see a working wireless adapter, so no networks can be listed.
MongoNetworkTimeoutError: connection 3 to cluster0-shard-00-00.mongodb.net:27017 timed out
A connection stalled past the socket timeout.
BUG: unable to handle kernel NULL pointer dereference at 0000000000000008
A kernel bug/driver crashed.
MongoServerSelectionError: Server at localhost:27017 reports maximum wire version 6, but this version of the Node.js Driver requires at least 8 (MongoDB 4.2)
The driver is too new for the server.
Two steps away (35)
HTTP 413 Content Too Large (Request Entity Too Large)
The request body is bigger than the server is willing to accept — usually a file upload over the configured limit.
OAuth Error: redirect_uri_mismatch
The redirect URI in your OAuth request doesn’t exactly match one registered for the client in the provider’s console.
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.
Kubernetes: OOMKilled (exit code 137)
The container used more memory than its limit, and the kernel killed it.
Segmentation fault (core dumped)
A program accessed memory it wasn’t allowed to, and the kernel killed it with SIGSEGV (exit code 139).
Killed / Out of memory: Killed process (Linux OOM killer)
The kernel ran out of memory and killed a process to recover — the program just prints “Killed” (exit code 137).
Git: Permission denied (publickey). fatal: Could not read from remote repository.
SSH authentication to GitHub/GitLab/Bitbucket failed — no key, wrong key, or the key isn’t added to your account.
Azure AD (Entra ID): AADSTS700016 Application not found in the directory
The client ID in your sign-in request doesn’t exist in the tenant you’re authenticating against.
HTTP 401 Unauthorized
The request has no valid authentication credentials — you need to log in or send a valid token.
Too many open files (EMFILE)
The process hit its file-descriptor limit — sockets, files and pipes all count.
MongooseError: Operation `users.find()` buffering timed out after 10000ms
Mongoose queued a query waiting for a connection that never opened.
MongooseServerSelectionError: connect ECONNREFUSED 127.0.0.1:27017
The MongoDB driver couldn’t find a reachable server for the connection string.
MongoDB: connection refused / timed out from a remote host — mongod bindIp defaults to 127.0.0.1
MongoDB only listens on localhost by default, so remote clients can't connect.
MongoDB Atlas: Error: querySrv ENOTFOUND _mongodb._tcp.cluster0.abcde.mongodb.net
The driver couldn't resolve the `mongodb+srv://` SRV record for your cluster.
MongoServerError: bad auth : Authentication failed. (Atlas user / special characters in password)
Atlas rejected the username/password in the connection string.
Networking: Windows has detected an IP address conflict / Duplicate address detected by 00:aa:bb:cc:dd:ee
Two devices on the same network are using the same IP address, so traffic reaches the wrong one or neither.
Networking: `arp -n` shows (incomplete) / Destination Host Unreachable — no ARP reply from the next hop
The machine asked "who has this IP?" and nobody on the local network answered.
Networking: Port forwarding configured but the port stays closed — carrier-grade NAT (CGNAT) or double NAT
Your router forwards the port correctly, but another NAT in front of it (your ISP or a second router) blocks inbound connections.
MongoServerSelectionError: Could not connect to any servers in your MongoDB Atlas cluster. One common reason is that you're trying to access the database from an IP that isn't whitelisted
Atlas rejects connections from IP addresses that aren't in the project's Network Access list.
PyMongo: pymongo.errors.BulkWriteError: batch op errors occurred
A bulk insert/update had one or more failed operations; details are in `e.details`.
PyMongo: NotImplementedError: Database objects do not implement truth value testing or bool(). Please compare with None instead: database is not None
You used a Database/Collection object in an `if` (`if db:`), which PyMongo forbids.
Docker build slow: "Sending build context to Docker daemon 2.5GB" / transferring context takes forever
docker build is uploading your whole project folder — node_modules, .git, data files — before building, because there’s no (or a…
MongoServerError: Executor error during find command :: caused by :: Sort exceeded memory limit of 104857600 bytes, but did not opt in to external sorting
A `find().sort()` without a supporting index had to sort too much data in memory.
(behavior) aggregation with $lookup takes minutes
`$lookup` scans the foreign collection for each input document.
Chrome: No internet — ERR_INTERNET_DISCONNECTED (You are not connected to the internet)
Chrome sees no working network connection on the device, so it cannot load any page.
Browser: This network requires you to sign in — captive portal (hotel, airport, café Wi-Fi) blocking HTTPS sites
The Wi-Fi needs a login or acceptance page first; until you complete it, secure sites fail with certificate or connection errors.
Networking: Network cable unplugged / `ip link` shows NO-CARRIER state DOWN / Ethernet: Network cable unplugged
The network card sees no electrical link, so nothing above it (IP, DNS, browser) can work.
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.
Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close
A stream ended or was destroyed before it finished — often a client disconnect or upstream aborting a download.
TypeError: fetch failed (cause: ConnectTimeoutError / ECONNREFUSED / UND_ERR)
Node’s built-in fetch (undici) couldn’t complete the request; the real reason is in error.cause.
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
The kernel booted but couldn’t mount the root filesystem — usually a missing or broken initramfs after a kernel update.
error: cannot run merge driver / fatal: unable to run merge driver
.gitattributes references a merge driver that isn't configured.
Old clients: certificate has expired — Let's Encrypt chain uses expired DST Root CA X3 (OpenSSL 1.0.x, Android < 7.1.1)
Older systems fail to validate Let's Encrypt certificates because their trust store lacks ISRG Root X1 and relies on the expired…
MongooseError: Model.find() no longer accepts a callback
Mongoose 7+ removed callback support from queries; they return promises.
ECDSA certificate fails on old clients (no ECC cipher suites): serve an RSA certificate too
Legacy clients (Windows XP, Android 2.x, old Java) can't use an ECDSA-only certificate.