Error map
SQLSTATE[HY000] [2002] Connection refused Laravel: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from sessions) / php_network_getaddresses: getaddrinfo failed
Laravel · layer 4, Application & API
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)
Nodemailer: Error: connect ETIMEDOUT 142.250.27.108:465 (code: 'ETIMEDOUT', command: 'CONN')
Nodemailer could not open a connection to the SMTP server before the timeout — a blocked port, wrong host, or network issue.
Laravel: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'x@example.com' for key 'users_email_unique'
The query violated a database constraint — a duplicate value in a unique column or a missing/blocked foreign key.
Laravel: SQLSTATE[HY000] [1045] Access denied for user 'forge'@'localhost' (using password: YES)
MySQL rejected the username/password configured in Laravel's `.env`.
Laravel/PHP: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in vendor/laravel/framework
A request (or artisan job) used more memory than PHP's `memory_limit` allows.
Laravel: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'status' in 'field list'
The SQL refers to a column that doesn't exist in the table — a missing migration, typo or wrong table.
Laravel: Illuminate\Database\QueryException: could not find driver (SQL: select * from information_schema.tables)
The PHP PDO extension for your database (pdo_mysql, pdo_pgsql, pdo_sqlite) isn't installed or enabled.
Laravel Sail: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql failed: Temporary failure in name resolution
Commands run outside the Sail container (on the host) try to resolve the Docker service name `mysql`, which only exists inside th…
Redis: Error: read ECONNRESET / redis.exceptions.ConnectionError: Connection reset by peer after idle time
A middlebox or Redis closed an idle connection, and the pooled client reused it.
Python: ConnectionRefusedError: [Errno 111] Connection refused — smtplib connect to localhost:25
Nothing is listening on the SMTP host and port your script connected to — often `localhost:25` because no host was given and no l…
Laravel: Predis\Connection\ConnectionException: Connection refused [tcp://127.0.0.1:6379] / RedisException: Connection refused
Laravel can't connect to Redis, which it uses for cache, sessions or queues.
Laravel: SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client [caching_sha2_password]
The PHP MySQL driver doesn't support the authentication plugin MySQL 8 uses (`caching_sha2_password`).
Redis: Error: connect ECONNREFUSED 127.0.0.1:6379 / Could not connect to Redis at 127.0.0.1:6379: Connection refused
Nothing is listening on the Redis host/port your client uses.
Two steps away (35)
SMTP: 421 4.7.0 Our system has detected an unusual rate of unsolicited mail originating from your IP address. Mail sent from your IP address has been temporarily rate limited
The receiving server (often Gmail or Outlook) is temporarily throttling your mail because the volume or reputation of your sendin…
SMTP: 450 4.7.1 <user@example.com>: Recipient address rejected: Greylisted, see http://postgrey.schweikert.ch/help/example.com.html
The recipient server deliberately rejected the first delivery attempt from an unknown sender (greylisting) and expects a legitima…
Nodemailer: Error: Invalid login: 535-5.7.8 Username and Password not accepted (code: 'EAUTH', responseCode: 535)
The SMTP server rejected the credentials passed to Nodemailer.
MySQL ERROR 1062 (23000): Duplicate entry for key
An INSERT/UPDATE would create a duplicate value in a PRIMARY or UNIQUE key.
MySQL ERROR 1452: Cannot add or update a child row: a foreign key constraint fails
You inserted/updated a row whose foreign key value doesn’t exist in the referenced parent table.
MySQL ERROR 1048 (23000): Column 'x' cannot be null
An INSERT/UPDATE put NULL into a NOT NULL column.
Laravel: .env changes ignored / env('X') returns null after php artisan config:cache
After `config:cache`, Laravel no longer reads `.env`, so `env()` calls outside config files return null and edits to `.env` have…
Laravel: Symfony\Component\Console\Exception\CommandNotFoundException: Command "make:livewire" is not defined. Did you mean one of these?
`php artisan` doesn't know the command you typed — typo, missing package or an unregistered service provider.
PHP Fatal error: Allowed memory size of X bytes exhausted
The script tried to use more memory than PHP’s `memory_limit` allows.
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).
Laravel: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'db.sessions' doesn't exist
Laravel queried a table that hasn’t been created — usually sessions, cache, jobs or a new model’s table.
WordPress: One or more database tables are unavailable. The database may need to be repaired.
WordPress can’t read one or more of its tables — they’re crashed (MyISAM), missing, or the table prefix in wp-config.php is wrong.
Laravel: SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'users' already exists
A migration tries to create a table that is already in the database.
PHP Fatal error: Uncaught Error: Call to undefined function
PHP can’t find the function you called — usually a missing extension, missing include, or namespace issue.
PDOException: could not find driver
The PDO driver for your database (pdo_mysql, pdo_pgsql, pdo_sqlite) isn’t installed or enabled.
Fatal error: Uncaught Error: Call to undefined function imagecreatefromjpeg()
The GD extension (or its JPEG/WebP support) isn’t installed for the PHP version serving the site.
Docker: Bind for 0.0.0.0:80 failed: port is already allocated
Another container or host process already publishes that host port.
Laravel/PHP 8: ErrorException: Attempt to read property "name" on null
You accessed a property on a value that is `null`, typically an empty relationship or a query that found nothing.
Laravel: Illuminate\Auth\Access\AuthorizationException: This action is unauthorized.
A policy or gate denied the action for the current user, so Laravel returned HTTP 403.
Redis: Error: write EPROTO ... SSL routines:ssl3_get_record:wrong version number / Connection reset by peer (TLS vs plaintext)
The client and server disagree about TLS — plaintext client to a TLS port, or TLS client to a plaintext port.
Redis: ERR max number of clients reached
Redis hit its `maxclients` limit (default 10000, lower if the OS limit is low), so new connections are refused.
Redis: Closing idle client / Connection closed by server after timeout 300
Redis' `timeout` directive closes connections idle longer than N seconds.
Python: smtplib.SMTPServerDisconnected: Connection unexpectedly closed
The server closed the connection before your script finished the SMTP conversation — a timeout, blocked IP, TLS mismatch or rate…
Python: smtplib.SMTPAuthenticationError: (535, b'5.7.8 Username and Password not accepted')
`smtp.login()` was rejected by the server — wrong credentials, wrong password type, or authentication not allowed for that accoun…
PHP: sh: 1: /usr/sbin/sendmail: not found — mail() returns false
PHP's `mail()` calls the `sendmail_path` program, but it is not installed or the path in php.ini is wrong.
WordPress: Error establishing a Redis connection (object cache)
The persistent object cache drop-in (object-cache.php) can’t connect to Redis, so the whole site fails.
Laravel Queue: Illuminate\Queue\MaxAttemptsExceededException: App\Jobs\SendReport has been attempted too many times or run too long
A queued job failed repeatedly or ran past its timeout, so it was marked failed.
Laravel Queue: Illuminate\Queue\SerializesModels: No query results for model [App\Models\Order] 42 (job failed)
A queued job serialised a model by ID, but the record was deleted before the worker ran it.
Received disconnect: Too many authentication failures
Your SSH agent offered too many keys before the right one, and the server cut the connection (MaxAuthTries, default 6).
passwd: Authentication token manipulation error
passwd couldn’t update the password — the root filesystem is read-only, /etc/shadow has wrong permissions/attributes, or a PAM ru…
WordPress REST API: {"code":"rest_forbidden","message":"Sorry, you are not allowed to do that."} (401/403)
The REST request isn’t authenticated or the user lacks the capability required by the route’s permission_callback.
ReplyError: NOAUTH Authentication required.
The Redis server requires a password (or ACL user) but the client didn’t authenticate.
Redis: DENIED Redis is running in protected mode because protected mode is enabled and no password is set for the default user
Redis refuses connections from non-local clients when it has no password and is bound to all interfaces.
Redis: Could not connect to Redis at 10.0.0.5:6379: Connection timed out
Redis only listens on localhost by default, so remote clients time out or are refused.
Map another error
Popular: 500403400ORA-009331064Critical errorFileNotFoundException assemblyTypeError