Error map

1004 Cloudflare Error 1004: Host Not Configured to Serve Web Traffic

Cloudflare · layer 3, Edge & web server

Open the full error page →

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.

1004 — Cloudflare Error 1004: Host Not Configured to Serve Web Traffic (Cloudflare)1004secretOrPrivateKey must have a value — Error: secretOrPrivateKey must have a value (jsonwebtoken sign) (Authentication)secretOrPrivateKey …sudo: unable to resolve host — sudo: unable to resolve host <hostname>: Name or service not known (Linux)sudo: unable to res…1002 — Cloudflare Error 1002: DNS points to Prohibited IP / Restricted (Cloudflare)10021003 — Cloudflare Error 1003: Direct IP access not allowed (Cloudflare)10031014 — Cloudflare Error 1014: CNAME Cross-User Banned (Cloudflare)10141023 — Cloudflare Error 1023: Could not find host (Cloudflare)10231000 — Cloudflare Error 1000: DNS points to prohibited IP (Cloudflare)10001016 — Cloudflare Error 1016: Origin DNS error (Cloudflare)10161034 — Cloudflare Error 1034: Edge IP Restricted (Cloudflare)10341035 — Cloudflare Error 1035 / 1036: Invalid request rewrite (invalid URI path / query string) (Cloudflare)1035MongoParseError — MongoDB: MongoParseError: Invalid scheme, expected connection string to start with "mongodb://" or "mongodb+srv://" (MongoDB)MongoParseError1018 — Cloudflare Error 1018: Could not find host (Cloudflare)1018413 — HTTP 413 Content Too Large (Request Entity Too Large) (HTTP)413TokenExpiredError — JWT Expired / Invalid Token (Authentication)TokenExpiredErrorCreateContainerConfigError — Kubernetes: CreateContainerConfigError — secret / configmap not found (Kubernetes)CreateContainerConf…ENOTFOUND — Error: getaddrinfo ENOTFOUND host / Name or service not known (API)ENOTFOUNDsudoers — user is not in the sudoers file. This incident will be reported. (Linux)sudoersapi_version_invalid — API Error: Invalid or unsupported API version (API)api_version_invalidERR_NAME_NOT_RESOLVED — net::ERR_NAME_NOT_RESOLVED (This site can't be reached — server IP address could not be found) (JavaScript)ERR_NAME_NOT_RESOLV…cURL error 6 — cURL error 6: Could not resolve host: api.example.com (PHP)cURL error 6Pending validation — ACM certificate stuck in Pending validation (AWS)Pending validation530 — Cloudflare HTTP 530 (with Error 1016 Origin DNS error / 1033 tunnel error) (Cloudflare)5301001 — Cloudflare Error 1001: DNS resolution error (Cloudflare)10011013 — Cloudflare Error 1013: HTTP hostname and TLS SNI hostname mismatch (Cloudflare)101381053 — Cloudflare DNS: An A, AAAA, or CNAME record with that host already exists (code 81053) (Cloudflare)81053DNS_PROBE_FINISHED_NXDOMAIN — Chrome: This site can’t be reached — server IP address could not be found. DNS_PROBE_FINISHED_NXDOMAIN (Browser)DNS_PROBE_FINISHED_…DNS_PROBE_FINISHED_NO_INTERNET — Chrome: No internet — DNS_PROBE_FINISHED_NO_INTERNET (DNS probe finished, no internet) (Browser)DNS_PROBE_FINISHED_…Server not found — Firefox: Hmm. We’re having trouble finding that site. / Server not found (DNS_PROBE or NS_ERROR_UNKNOWN_HOST) (Browser)Server not foundDB connection — WordPress: Error Establishing a Database Connection (WordPress)DB connectiondivergent branches — hint: You have divergent branches and need to specify how to reconcile them. (Git)divergent branchesCould not resolve host — fatal: unable to access 'https://github.com/…': Could not resolve host: github.com (Git)Could not resolve h…523 — Cloudflare Error 523: Origin is unreachable (Cloudflare)523Cloudflare 502 — Cloudflare-branded 502 Bad Gateway / 504 Gateway Timeout ("cloudflare" footer) (Cloudflare)Cloudflare 5021033 — Cloudflare Error 1033: Argo Tunnel error (Cloudflare Tunnel not connected) (Cloudflare)1033ConnectionString property has not been initialized — InvalidOperationException: The ConnectionString property has not been initialized (.NET)ConnectionString pr…No database provider has been configured — InvalidOperationException: No database provider has been configured for this DbContext (.NET)No database provide…Index of / — WordPress site shows "Index of /" (directory listing instead of the site) (WordPress)Index of /1037 — Cloudflare Error 1037: Invalid rewrite rule (failed to evaluate expression) (Cloudflare)10371040 — Cloudflare Error 1040 / 1041: Invalid request header modification (Cloudflare)1040redirect_uri_mismatch — OAuth Error: redirect_uri_mismatch (Authentication)redirect_uri_mismat…author identity unknown — Author identity unknown *** Please tell me who you are. (Git)author identity unk…LF/CRLF warning — warning: in the working copy of 'x', LF will be replaced by CRLF the next time Git touches it (Git)LF/CRLF warningmodel_not_found — LLM API: The model `x` does not exist or you do not have access to it (model_not_found / not_found_error) (API)model_not_foundNO_SECRET — NextAuth / Auth.js: [next-auth][error][NO_SECRET] Please define a `secret` in production / MissingSecret (Authentication)NO_SECRETnginx: [emerg] unknown directive — Nginx: nginx: [emerg] unknown directive "x" in /etc/nginx/sites-enabled/x:12 — configuration file test failed (Nginx / Apache)nginx: [emerg] unkn…

Directly related (12)

secretOrPrivateKey must have a valueAuthentication

Error: secretOrPrivateKey must have a value (jsonwebtoken sign)

jwt.sign() got an empty secret — the environment variable holding the JWT secret isn’t loaded.

sudo: unable to resolve hostLinux

sudo: unable to resolve host <hostname>: Name or service not known

The machine’s hostname isn’t in /etc/hosts (or DNS), so sudo prints this warning — usually after changing the hostname.

1002Cloudflare

Cloudflare Error 1002: DNS points to Prohibited IP / Restricted

A record points to a private, reserved or Cloudflare IP that Cloudflare won’t proxy to.

1003Cloudflare

Cloudflare Error 1003: Direct IP access not allowed

The request went to a Cloudflare IP address directly (or with a Host header for a domain not on Cloudflare).

1014Cloudflare

Cloudflare Error 1014: CNAME Cross-User Banned

Your DNS CNAME points to a hostname in another Cloudflare account, which Cloudflare blocks by default for security.

1023Cloudflare

Cloudflare Error 1023: Could not find host

Cloudflare can’t find the host — typically a zone that’s inactive or a custom hostname/SSL for SaaS not set up.

1000Cloudflare

Cloudflare Error 1000: DNS points to prohibited IP

A proxied DNS record points at a Cloudflare IP address, creating a loop.

1016Cloudflare

Cloudflare Error 1016: Origin DNS error

Cloudflare can’t resolve the origin hostname your DNS record points to (usually a CNAME target).

1034Cloudflare

Cloudflare Error 1034: Edge IP Restricted

The DNS record points to a Cloudflare IP not assigned to your zone — typically an A record pointing to an old Cloudflare IP or an…

1035Cloudflare

Cloudflare Error 1035 / 1036: Invalid request rewrite (invalid URI path / query string)

A Transform Rule (URL rewrite) produced an invalid path or query string.

MongoParseErrorMongoDB

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.

1018Cloudflare

Cloudflare Error 1018: Could not find host

The hostname isn’t found on Cloudflare — the zone was recently added/removed, or the record doesn’t exist yet.

Two steps away (33)

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.

TokenExpiredErrorAuthentication

JWT Expired / Invalid Token

The JSON Web Token sent with the request is expired, malformed or signed with a different key, so the API rejects it (usually wit…

CreateContainerConfigErrorKubernetes

Kubernetes: CreateContainerConfigError — secret / configmap not found

Kubernetes can’t build the container’s configuration — usually a referenced Secret, ConfigMap or key doesn’t exist in that namesp…

ENOTFOUNDAPI

Error: getaddrinfo ENOTFOUND host / Name or service not known

DNS lookup for the hostname failed — the name is wrong, doesn’t exist, or this machine can’t resolve it.

sudoersLinux

user is not in the sudoers file. This incident will be reported.

Your account isn’t allowed to use sudo.

api_version_invalidAPI

API Error: Invalid or unsupported API version

The API version you requested — in the URL, a header or the SDK config — doesn’t exist or has been retired.

ERR_NAME_NOT_RESOLVEDJavaScript

net::ERR_NAME_NOT_RESOLVED (This site can't be reached — server IP address could not be found)

DNS couldn’t resolve the hostname in the browser.

cURL error 6PHP

cURL error 6: Could not resolve host: api.example.com

PHP cURL couldn’t resolve the hostname via DNS.

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.

530Cloudflare

Cloudflare HTTP 530 (with Error 1016 Origin DNS error / 1033 tunnel error)

Cloudflare returns 530 together with a 1xxx error; the 1xxx code (usually 1016 or 1033) tells you the real cause.

1001Cloudflare

Cloudflare Error 1001: DNS resolution error

Cloudflare received the request but the hostname isn’t set up on Cloudflare (or the domain was just added and not active yet).

1013Cloudflare

Cloudflare Error 1013: HTTP hostname and TLS SNI hostname mismatch

The TLS SNI (the hostname used for the certificate) differs from the HTTP Host header in the same request.

81053Cloudflare

Cloudflare DNS: An A, AAAA, or CNAME record with that host already exists (code 81053)

Cloudflare won’t create the record because another record of a conflicting type already uses that name.

DNS_PROBE_FINISHED_NXDOMAINBrowser

Chrome: This site can’t be reached — server IP address could not be found. DNS_PROBE_FINISHED_NXDOMAIN

The DNS server answered that the domain name does not exist (NXDOMAIN) — a typo, an expired or unregistered domain, a missing DNS…

DNS_PROBE_FINISHED_NO_INTERNETBrowser

Chrome: No internet — DNS_PROBE_FINISHED_NO_INTERNET (DNS probe finished, no internet)

Chrome’s built-in DNS probe could not reach any DNS server, so the device effectively has no working internet or DNS.

Server not foundBrowser

Firefox: Hmm. We’re having trouble finding that site. / Server not found (DNS_PROBE or NS_ERROR_UNKNOWN_HOST)

Firefox could not resolve the website’s hostname to an IP address — a typo, a DNS problem or no internet.

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.

divergent branchesGit

hint: You have divergent branches and need to specify how to reconcile them.

Git 2.27+ asks you to choose merge, rebase or fast-forward-only when local and remote both have new commits.

Could not resolve hostGit

fatal: unable to access 'https://github.com/…': Could not resolve host: github.com

DNS lookup for the Git host failed from this machine.

523Cloudflare

Cloudflare Error 523: Origin is unreachable

Cloudflare can’t find a network route to your origin server — the DNS record points to a wrong/unroutable IP or the origin networ…

Cloudflare 502Cloudflare

Cloudflare-branded 502 Bad Gateway / 504 Gateway Timeout ("cloudflare" footer)

A plain-looking 502/504 page with “cloudflare” at the bottom comes from Cloudflare’s network itself (or an origin response it cou…

1033Cloudflare

Cloudflare Error 1033: Argo Tunnel error (Cloudflare Tunnel not connected)

The hostname routes to a Cloudflare Tunnel, but no healthy cloudflared connector is running for it.

ConnectionString property has not been initialized.NET

InvalidOperationException: The ConnectionString property has not been initialized

The database connection was opened with an empty connection string — the configuration key wasn’t found.

No database provider has been configured.NET

InvalidOperationException: No database provider has been configured for this DbContext

EF Core created a DbContext without UseSqlServer/UseNpgsql/UseSqlite — typically because the context was newed up manually or reg…

Index of /WordPress

WordPress site shows "Index of /" (directory listing instead of the site)

The web server isn’t using index.php as the directory index, or index.php is missing — so it lists files instead of running WordP…

1037Cloudflare

Cloudflare Error 1037: Invalid rewrite rule (failed to evaluate expression)

A rewrite rule’s dynamic expression failed at runtime — for example a function received a value of the wrong type or a missing fi…

1040Cloudflare

Cloudflare Error 1040 / 1041: Invalid request header modification

A Transform Rule tried to set or remove a request header that Cloudflare doesn’t allow to be modified, or produced an invalid val…

redirect_uri_mismatchAuthentication

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.

author identity unknownGit

Author identity unknown *** Please tell me who you are.

Git doesn’t know your name and email for commits.

LF/CRLF warningGit

warning: in the working copy of 'x', LF will be replaced by CRLF the next time Git touches it

Git’s line-ending conversion (core.autocrlf) will change line endings in your working copy.

model_not_foundAPI

LLM API: The model `x` does not exist or you do not have access to it (model_not_found / not_found_error)

The model name is wrong, deprecated/retired, or not available to your account/region.

NO_SECRETAuthentication

NextAuth / Auth.js: [next-auth][error][NO_SECRET] Please define a `secret` in production / MissingSecret

Auth.js needs a secret (NEXTAUTH_SECRET / AUTH_SECRET) in production to sign and encrypt tokens/cookies.

nginx: [emerg] unknown directiveNginx / Apache

Nginx: nginx: [emerg] unknown directive "x" in /etc/nginx/sites-enabled/x:12 — configuration file test failed

Nginx found a directive it doesn’t know — a typo, a missing semicolon on the previous line, a directive from a module that isn’t…