Error map

ConnectionRefusedError [Errno 111] (SMTP) Python: ConnectionRefusedError: [Errno 111] Connection refused — smtplib connect to localhost:25

Email / SMTP · layer 2, Network

Open the full error page →

Centre: this error. First ring: errors it is linked with (9). 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.

ConnectionRefusedError [Errno 111] (SMTP) — Python: ConnectionRefusedError: [Errno 111] Connection refused — smtplib connect to localhost:25 (Email / SMTP)ConnectionR…Nodemailer: ETIMEDOUT / ECONNECTION — Nodemailer: Error: connect ETIMEDOUT 142.250.27.108:465 (code: 'ETIMEDOUT', command: 'CONN') (Email / SMTP)Nodemailer: ETIMEDO…SQLSTATE[HY000] [2002] Connection refused — Laravel: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from sessions) / php_network_getaddresses: getaddrinfo failed (Laravel)SQLSTATE[HY000] [20…421 4.7.0 Try again later (rate limited) — 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 (Email / SMTP)421 4.7.0 Try again…450 4.7.1 Greylisted, please try again later — SMTP: 450 4.7.1 <user@example.com>: Recipient address rejected: Greylisted, see http://postgrey.schweikert.ch/help/example.com.html (Email / SMTP)450 4.7.1 Greyliste…SMTPServerDisconnected: Connection unexpectedly closed — Python: smtplib.SMTPServerDisconnected: Connection unexpectedly closed (Email / SMTP)SMTPServerDisconnec…sendmail: not found (PHP mail) — PHP: sh: 1: /usr/sbin/sendmail: not found — mail() returns false (Email / SMTP)sendmail: not found…Redis connection refused (Laravel) — Laravel: Predis\Connection\ConnectionException: Connection refused [tcp://127.0.0.1:6379] / RedisException: Connection refused (Laravel)Redis connection re…Outbound port 25 blocked — SMTP: telnet smtp.example.com 25 — Connection timed out (cloud provider blocks port 25) (Email / SMTP)Outbound port 25 bl…SMTPAuthenticationError (Python) — Python: smtplib.SMTPAuthenticationError: (535, b'5.7.8 Username and Password not accepted') (Email / SMTP)SMTPAuthenticationE…Nodemailer: EAUTH Invalid login — Nodemailer: Error: Invalid login: 535-5.7.8 Username and Password not accepted (code: 'EAUTH', responseCode: 535) (Email / SMTP)Nodemailer: EAUTH I…Nodemailer: Greeting never received — Nodemailer: Error: Greeting never received (code: 'ETIMEDOUT', command: 'CONN') (Email / SMTP)Nodemailer: Greetin…self-signed certificate (SMTP TLS) — Nodemailer: Error: self signed certificate in certificate chain (code: 'ESOCKET') / unable to verify the first certificate (Email / SMTP)self-signed certifi…SQLSTATE[23000]: Integrity constraint violation — Laravel: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'x@example.com' for key 'users_email_unique' (Laravel)SQLSTATE[23000]: In…SQLSTATE[HY000] [1045] Access denied for user — Laravel: SQLSTATE[HY000] [1045] Access denied for user 'forge'@'localhost' (using password: YES) (Laravel)SQLSTATE[HY000] [10…SQLSTATE[42S22]: Column not found — Laravel: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'status' in 'field list' (Laravel)SQLSTATE[42S22]: Co…SMTP Error: Could not authenticate — WordPress / PHPMailer: SMTP Error: Could not authenticate / SMTP connect() failed (WordPress)SMTP Error: Could n…550 5.7.1 — 550 5.7.1 Relaying denied / Message rejected as spam / Unauthenticated email not accepted (Email / SMTP)550 5.7.1550 5.7.26 — 550 5.7.26 This mail has been blocked because the sender is unauthenticated (SPF/DKIM/DMARC) (Email / SMTP)550 5.7.26451 4.3.0 Local error in processing — SMTP: 451 4.3.0 Error: queue file write error / 451 Requested action aborted: local error in processing (Email / SMTP)451 4.3.0 Local err…452 4.2.2 Mailbox full / over quota — SMTP: 452 4.2.2 The email account that you tried to reach is over quota (Email / SMTP)452 4.2.2 Mailbox f…452 4.5.3 Too many recipients — SMTP: 452 4.5.3 Your message has too many recipients / 452 Too many recipients received this hour (Email / SMTP)452 4.5.3 Too many …SSL: WRONG_VERSION_NUMBER (SMTP port) — SMTP: [SSL: WRONG_VERSION_NUMBER] wrong version number — SMTP over SSL on a STARTTLS port (Email / SMTP)SSL: WRONG_VERSION_…Helo command rejected: need fully-qualified hostname — SMTP: 504 5.5.2 <localhost>: Helo command rejected: need fully-qualified hostname (Email / SMTP)Helo command reject…PHP mail — PHP mail() returns false / emails not delivered (PHP)PHP mailmissing the MySQL extension — WordPress: Your PHP installation appears to be missing the MySQL extension which is required by WordPress (WordPress)missing the MySQL e…requires at least PHP — WordPress: Your server is running PHP version 7.2 but WordPress 6.x requires at least 7.4 / This plugin requires a newer version of PHP (WordPress)requires at least P…Error establishing a Redis connection — WordPress: Error establishing a Redis connection (object cache) (WordPress)Error establishing …Attempt to read property "x" on null — Laravel/PHP 8: ErrorException: Attempt to read property "name" on null (Laravel)Attempt to read pro…Laravel: Allowed memory size exhausted (request) — Laravel/PHP: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in vendor/laravel/framework (Laravel)Laravel: Allowed me…ssh port 22 Connection timed out — ssh: connect to host x port 22: Connection timed out (Linux)ssh port 22 Connect…No route to host — connect: No route to host (EHOSTUNREACH) (Linux)No route to hostLaravel: Connection could not be established with host — Laravel: Symfony\Component\Mailer\Exception\TransportException: Connection could not be established with host "smtp.mailtrap.io:2525": stream_socket_client(): Unable to connect (Email / SMTP)Laravel: Connection…530 5.7.0 Authentication Required — SMTP: 530 5.7.0 Must issue a STARTTLS command first / 530 5.7.1 Authentication required (Email / SMTP)530 5.7.0 Authentic…534 5.7.9 Application-specific password required — SMTP: 534-5.7.9 Application-specific password required. Learn more at https://support.google.com/accounts/answer/185833 (Email / SMTP)534 5.7.9 Applicati…535 5.7.8 Username and Password not accepted — SMTP: 535-5.7.8 Username and Password not accepted. Learn more at https://support.google.com/mail/?p=BadCredentials (Email / SMTP)535 5.7.8 Username …

Directly related (9)

Nodemailer: ETIMEDOUT / ECONNECTIONEmail / SMTP

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.

SQLSTATE[HY000] [2002] Connection refusedLaravel

Laravel: SQLSTATE[HY000] [2002] Connection refused (SQL: select * from sessions) / php_network_getaddresses: getaddrinfo failed

Laravel can't open a network connection to the database host and port from `.env`.

421 4.7.0 Try again later (rate limited)Email / SMTP

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…

450 4.7.1 Greylisted, please try again laterEmail / SMTP

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…

SMTPServerDisconnected: Connection unexpectedly closedEmail / SMTP

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…

sendmail: not found (PHP mail)Email / SMTP

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.

Redis connection refused (Laravel)Laravel

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.

Outbound port 25 blockedEmail / SMTP

SMTP: telnet smtp.example.com 25 — Connection timed out (cloud provider blocks port 25)

Connections from your server to other mail servers on port 25 time out because your cloud host or ISP blocks outbound SMTP to fig…

SMTPAuthenticationError (Python)Email / SMTP

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…

Two steps away (26)

Nodemailer: EAUTH Invalid loginEmail / SMTP

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.

Nodemailer: Greeting never receivedEmail / SMTP

Nodemailer: Error: Greeting never received (code: 'ETIMEDOUT', command: 'CONN')

The TCP connection was made but the server never sent its SMTP `220` banner — usually a TLS mode mismatch or a firewall/proxy swa…

self-signed certificate (SMTP TLS)Email / SMTP

Nodemailer: Error: self signed certificate in certificate chain (code: 'ESOCKET') / unable to verify the first certificate

Nodemailer refused the SMTP server's TLS certificate because it is self-signed, expired, hostname-mismatched or missing its inter…

SQLSTATE[23000]: Integrity constraint violationLaravel

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.

SQLSTATE[HY000] [1045] Access denied for userLaravel

Laravel: SQLSTATE[HY000] [1045] Access denied for user 'forge'@'localhost' (using password: YES)

MySQL rejected the username/password configured in Laravel's `.env`.

SQLSTATE[42S22]: Column not foundLaravel

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.

SMTP Error: Could not authenticateWordPress

WordPress / PHPMailer: SMTP Error: Could not authenticate / SMTP connect() failed

The SMTP server rejected the login or couldn’t be reached — wrong credentials, app passwords required, wrong port/encryption, or…

550 5.7.1Email / SMTP

550 5.7.1 Relaying denied / Message rejected as spam / Unauthenticated email not accepted

The receiving (or your outgoing) mail server refused the message — relaying isn’t allowed, the sender isn’t authenticated, or it…

550 5.7.26Email / SMTP

550 5.7.26 This mail has been blocked because the sender is unauthenticated (SPF/DKIM/DMARC)

Gmail/Outlook rejected the message because SPF and DKIM didn’t pass for the sender’s domain (DMARC failure).

451 4.3.0 Local error in processingEmail / SMTP

SMTP: 451 4.3.0 Error: queue file write error / 451 Requested action aborted: local error in processing

The server hit an internal problem (disk, database, content filter, DNS) while handling your message and asked you to retry later.

452 4.2.2 Mailbox full / over quotaEmail / SMTP

SMTP: 452 4.2.2 The email account that you tried to reach is over quota

The recipient's mailbox has exceeded its storage quota, so the server will not accept new mail for now.

452 4.5.3 Too many recipientsEmail / SMTP

SMTP: 452 4.5.3 Your message has too many recipients / 452 Too many recipients received this hour

The server limits how many recipients a single message or sender may have; yours exceeded it.

SSL: WRONG_VERSION_NUMBER (SMTP port)Email / SMTP

SMTP: [SSL: WRONG_VERSION_NUMBER] wrong version number — SMTP over SSL on a STARTTLS port

Your client tried to start TLS immediately on a port where the server speaks plain SMTP first (or the reverse), so the handshake…

Helo command rejected: need fully-qualified hostnameEmail / SMTP

SMTP: 504 5.5.2 <localhost>: Helo command rejected: need fully-qualified hostname

The receiving server refused your EHLO/HELO greeting because the name you sent is not a valid fully-qualified domain name.

PHP mailPHP

PHP mail() returns false / emails not delivered

PHP’s mail() function failed or emails never arrive (spam or rejected).

missing the MySQL extensionWordPress

WordPress: Your PHP installation appears to be missing the MySQL extension which is required by WordPress

PHP doesn’t have the mysqli extension loaded, so WordPress can’t talk to the database.

requires at least PHPWordPress

WordPress: Your server is running PHP version 7.2 but WordPress 6.x requires at least 7.4 / This plugin requires a newer version of PHP

WordPress core, a plugin or a theme needs a newer PHP than the server runs.

Error establishing a Redis connectionWordPress

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.

Attempt to read property "x" on nullLaravel

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: Allowed memory size exhausted (request)Laravel

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.

ssh port 22 Connection timed outLinux

ssh: connect to host x port 22: Connection timed out

SSH packets get no reply — a firewall/security group drops them, the server is off, or the IP is wrong.

No route to hostLinux

connect: No route to host (EHOSTUNREACH)

The destination host isn’t reachable — it’s down, on another subnet without routing, or a firewall rejects with “host unreachable…

Laravel: Connection could not be established with hostEmail / SMTP

Laravel: Symfony\Component\Mailer\Exception\TransportException: Connection could not be established with host "smtp.mailtrap.io:2525": stream_socket_client(): Unable to connect

Laravel's mailer could not connect to the SMTP host configured in `.env`.

530 5.7.0 Authentication RequiredEmail / SMTP

SMTP: 530 5.7.0 Must issue a STARTTLS command first / 530 5.7.1 Authentication required

The server will not accept mail until you encrypt the connection (STARTTLS) and/or authenticate, and your client did neither.

534 5.7.9 Application-specific password requiredEmail / SMTP

SMTP: 534-5.7.9 Application-specific password required. Learn more at https://support.google.com/accounts/answer/185833

The Google account has 2-Step Verification on, so SMTP clients cannot use the normal password; they need an app password (or OAut…

535 5.7.8 Username and Password not acceptedEmail / SMTP

SMTP: 535-5.7.8 Username and Password not accepted. Learn more at https://support.google.com/mail/?p=BadCredentials

The server received your login but rejected it — wrong username or password, an unusable password type, or a blocked sign-in.