Error map

400 400 Bad Request: Invalid Hostname

HTTP · layer 2, Network

Open the full error page →

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

400 — 400 Bad Request: Invalid Hostname (HTTP)400400 — HTTP 400 Bad Request (HTTP)400421 — HTTP 421 Misdirected Request (HTTP)421certificate does not have a private key (IIS) — Windows/IIS: A specified logon session does not exist / The certificate does not have a private key associated with it (SSL / TLS)certificate does no…IIS SNI — IIS serves the wrong certificate: SNI not enabled on the HTTPS binding (multiple sites on one IP) (SSL / TLS)IIS SNI400 — 400 Bad Request: Request Header Or Cookie Too Large (HTTP)400400 — 400 Bad Request: multipart boundary not found (HTTP)400400 — 400 Bad Request: missing Host header (HTTP)400400 — 400 Bad Request: invalid character in header (HTTP)400private key — Windows: private key access denied — application pool/service account can't read the certificate's key (SSL / TLS)private key440 — HTTP 440 Login Time-out (IIS) (HTTP)440401 — HTTP 401 Unauthorized (HTTP)401405 — HTTP 405 Method Not Allowed (HTTP)405413 — HTTP 413 Content Too Large (Request Entity Too Large) (HTTP)413502 — HTTP 502 Bad Gateway (HTTP)502CERTIFICATE_VERIFY_FAILED — SSL: CERTIFICATE_VERIFY_FAILED / unable to get local issuer certificate (API)CERTIFICATE_VERIFY_…Mixed Content — Mixed Content: The page was loaded over HTTPS, but requested an insecure resource (API)Mixed Contentunable to load Private Key — OpenSSL/Nginx/Apache: error:0909006C:PEM routines:get_name:no start line / unable to load Private Key (SSL / TLS)unable to load Priv…SSLCertificateFile: file does not exist — Apache: AH02240: Server should be SSL-aware but has no certificate configured / SSLCertificateFile: file '/etc/ssl/x.crt' does not exist or is empty (SSL / TLS)SSLCertificateFile:…PKCS12: Mac verify error: invalid password? — OpenSSL: Error outputting keys and certificates — Mac verify error: invalid password? (SSL / TLS)PKCS12: Mac verify …SSL_ERROR_BAD_CERT_DOMAIN — Firefox: Websites prove their identity via certificates — the certificate is only valid for other names. Error code: SSL_ERROR_BAD_CERT_DOMAIN (SSL / TLS)SSL_ERROR_BAD_CERT_…tlsv1 unrecognized name (SNI) — OpenSSL: SSL alert number 112 — tlsv1 unrecognized name (SSL / TLS)tlsv1 unrecognized …SNI — Wrong certificate served: client sent no SNI (IP access or old client) so the server returns its default certificate (SSL / TLS)SNIHeaders already sent — Warning: Cannot modify header information - headers already sent (PHP)Headers already sent411 — HTTP 411 Length Required (HTTP)411431 — HTTP 431 Request Header Fields Too Large (HTTP)431415 — HTTP 415 Unsupported Media Type (HTTP)415req.body undefined — Express: req.body is undefined / {} (body parser missing) (Node.js)req.body undefined102 — HTTP 102 Processing (HTTP)102HAProxy backend — HAProxy: SSL handshake failure on the backend (verify required, no CA file, SNI missing) (SSL / TLS)HAProxy backend422 — HTTP 422 Unprocessable Content (HTTP)422428 — HTTP 428 Precondition Required (HTTP)428CSP violation — Refused to load the script because it violates the following Content Security Policy directive (JavaScript)CSP violationCould not establish trust relationship for the SSL/TLS secure channel — .NET: System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel (SSL / TLS)Could not establish…CRYPT_E_NO_REVOCATION_CHECK — curl (Windows Schannel): schannel: next InitializeSecurityContext failed: CRYPT_E_NO_REVOCATION_CHECK (0x80092012) - The revocation function was unable to check revocation for the certificate (SSL / TLS)CRYPT_E_NO_REVOCATI…PFX import — PFX/P12 import fails: The specified network password is not correct (Windows) (SSL / TLS)PFX importSession store not set on request — Laravel: RuntimeException: Session store not set on request (Laravel)Session store not s…Your Remote Desktop Services session has ended (network problem) — Networking: Your Remote Desktop Services session has ended. Possibly the network connection was lost / Remote Desktop disconnected, error code 0x904 (Networking)Your Remote Desktop…The specified network name is no longer available (64) — Networking: Windows error 64: The specified network name is no longer available — SMB session dropped (Networking)The specified netwo…

Directly related (10)

400HTTP

HTTP 400 Bad Request

The server could not understand the request because its syntax, headers or body are malformed or invalid.

421HTTP

HTTP 421 Misdirected Request

The request reached a server that isn’t configured for that host name — usually HTTP/2 connection reuse across domains sharing a…

certificate does not have a private key (IIS)SSL / TLS

Windows/IIS: A specified logon session does not exist / The certificate does not have a private key associated with it

IIS cannot bind an HTTPS site because the imported certificate has no private key attached.

IIS SNISSL / TLS

IIS serves the wrong certificate: SNI not enabled on the HTTPS binding (multiple sites on one IP)

Several IIS sites share port 443 on the same IP, and visitors get the first site's certificate.

400HTTP

400 Bad Request: Request Header Or Cookie Too Large

The server rejected the request because its headers, usually accumulated cookies, are bigger than it allows.

400HTTP

400 Bad Request: multipart boundary not found

A multipart/form-data request arrived without a valid boundary, so the server can't split the parts.

400HTTP

400 Bad Request: missing Host header

HTTP/1.1 requires a Host header, and the request didn't include one.

400HTTP

400 Bad Request: invalid character in header

A header contains a character the HTTP parser doesn't accept, such as a newline, a null byte or raw non-ASCII text.

private keySSL / TLS

Windows: private key access denied — application pool/service account can't read the certificate's key

The certificate is in the store, but the app's identity has no permission on its private key, so TLS fails.

440HTTP

HTTP 440 Login Time-out (IIS)

Microsoft IIS reports that the client's session has expired and a new login is needed.

Two steps away (28)

401HTTP

HTTP 401 Unauthorized

The request has no valid authentication credentials — you need to log in or send a valid token.

405HTTP

HTTP 405 Method Not Allowed

The URL exists, but it doesn’t accept the HTTP method you used (e.g. POST to a GET-only route).

413HTTP

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.

502HTTP

HTTP 502 Bad Gateway

A proxy or gateway (Nginx, load balancer, CDN) got an invalid response — or no response — from the upstream server behind it.

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.

Mixed ContentAPI

Mixed Content: The page was loaded over HTTPS, but requested an insecure resource

An HTTPS page tried to load a script, API or image over plain HTTP, and the browser blocked (or warned about) it.

unable to load Private KeySSL / TLS

OpenSSL/Nginx/Apache: error:0909006C:PEM routines:get_name:no start line / unable to load Private Key

The server or tool cannot read the private key file — wrong format, encrypted with a passphrase, wrong path, or a certificate pas…

SSLCertificateFile: file does not existSSL / TLS

Apache: AH02240: Server should be SSL-aware but has no certificate configured / SSLCertificateFile: file '/etc/ssl/x.crt' does not exist or is empty

Apache cannot find the certificate or key file named in its configuration, or `SSLEngine on` is set without any certificate.

PKCS12: Mac verify error: invalid password?SSL / TLS

OpenSSL: Error outputting keys and certificates — Mac verify error: invalid password?

A `.p12`/`.pfx` file could not be opened because the password is wrong, or its encryption is unsupported by your OpenSSL version.

SSL_ERROR_BAD_CERT_DOMAINSSL / TLS

Firefox: Websites prove their identity via certificates — the certificate is only valid for other names. Error code: SSL_ERROR_BAD_CERT_DOMAIN

The certificate does not include the hostname you typed.

tlsv1 unrecognized name (SNI)SSL / TLS

OpenSSL: SSL alert number 112 — tlsv1 unrecognized name

The server did not recognise the hostname sent in SNI and rejected the handshake (or an alert/warning is logged).

SNISSL / TLS

Wrong certificate served: client sent no SNI (IP access or old client) so the server returns its default certificate

Visiting by IP address or with a client that doesn't send SNI gets the first/default virtual host's certificate, causing a name m…

Headers already sentPHP

Warning: Cannot modify header information - headers already sent

You called `header()`, `setcookie()` or `session_start()` after output had already been sent to the browser.

411HTTP

HTTP 411 Length Required

The server refuses a request with a body but no Content-Length header.

431HTTP

HTTP 431 Request Header Fields Too Large

The request headers — almost always cookies — exceed the server’s size limit.

415HTTP

HTTP 415 Unsupported Media Type

The server refuses the request because the body’s Content-Type isn’t one it accepts.

req.body undefinedNode.js

Express: req.body is undefined / {} (body parser missing)

Express didn’t parse the request body because no body-parsing middleware matched the request’s Content-Type.

102HTTP

HTTP 102 Processing

An interim WebDAV response saying the server accepted a long-running request and is still working on it.

HAProxy backendSSL / TLS

HAProxy: SSL handshake failure on the backend (verify required, no CA file, SNI missing)

HAProxy can't establish TLS to the backend server, so health checks fail and the server is marked DOWN.

422HTTP

HTTP 422 Unprocessable Content

The request is well-formed, but the data fails validation (e.g. invalid email, missing required field).

428HTTP

HTTP 428 Precondition Required

The server requires a conditional request (If-Match / If-Unmodified-Since) to prevent lost updates, and you didn’t send one.

CSP violationJavaScript

Refused to load the script because it violates the following Content Security Policy directive

The page’s Content-Security-Policy doesn’t allow that script, style, image or connection source.

Could not establish trust relationship for the SSL/TLS secure channelSSL / TLS

.NET: System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel

A .NET client could not validate the server certificate or negotiate TLS, so the HTTPS call failed.

CRYPT_E_NO_REVOCATION_CHECKSSL / TLS

curl (Windows Schannel): schannel: next InitializeSecurityContext failed: CRYPT_E_NO_REVOCATION_CHECK (0x80092012) - The revocation function was unable to check revocation for the certificate

Windows could not contact the CA's CRL/OCSP servers to check whether the certificate is revoked, so Schannel aborted.

PFX importSSL / TLS

PFX/P12 import fails: The specified network password is not correct (Windows)

Windows can't import the .pfx, either because the password is wrong or the file uses an unsupported/damaged format.

Session store not set on requestLaravel

Laravel: RuntimeException: Session store not set on request

Code used `session()` or `$request->session()` in a route/middleware group that doesn't run the session middleware.

Your Remote Desktop Services session has ended (network problem)Networking

Networking: Your Remote Desktop Services session has ended. Possibly the network connection was lost / Remote Desktop disconnected, error code 0x904

An established Remote Desktop session dropped because the network under it stalled or the session was reset.

The specified network name is no longer available (64)Networking

Networking: Windows error 64: The specified network name is no longer available — SMB session dropped

A connection to a Windows file share was cut while in use.