Mad World #Save_GAZA: Free Palestine  

Search

Error 1033 Cloudflare Tunnel Error: Causes and Tested Fix

Error 1033 Cloudflare Tunnel Error: Causes and Tested Fix

Error 1033 is the page Cloudflare shows when a hostname is set up to reach its server through a Cloudflare Tunnel and no cloudflared connector is connected for that tunnel: the program that links your server to Cloudflare has stopped, cannot reach Cloudflare, or the hostname's DNS record points to a tunnel that no longer exists. The page title says "Cloudflare Tunnel error" (older pages call it "Argo Tunnel error", the former name of Cloudflare Tunnel), and the HTTP status behind it is 530.

To show each cause, we built a tunnel on a free Cloudflare zone on 2 December 2026 (NexaForge, our test account): a Docker host with Ubuntu 26.04.1 LTS, Docker 29.10.1 and Docker Compose v5.8.1, running nginx and cloudflared 2026.11.2 with a tunnel token. Then we stopped the connector, stopped the web app, and deleted the tunnel while its DNS record stayed. Every screenshot below comes from that test.

Quick answer: how to fix Error 1033

  1. In the Cloudflare dashboard, open Networking > Tunnels and find the tunnel. Down or Inactive means that no cloudflared is connected.
  2. On the server, start cloudflared again: docker compose start cloudflared in our setup, or restart the cloudflared service if you installed it as one.
  3. Check its log for four "Registered tunnel connection" lines, then reload the page. In our test it answered 200 again at the first check, 8 seconds after the start.
  4. Tunnel Healthy and still Error 1033? The hostname's DNS record points to another tunnel, often one you deleted or created again. Point the record to the current tunnel's ID followed by .cfargotunnel.com, or add the hostname to the current tunnel as a published application.

If you are a visitor: nothing is wrong on your side. The server of the site is not connected to Cloudflare; only its owner can fix it. Try again in a few minutes.

Chrome showing the Cloudflare page Error 1033, Cloudflare Tunnel error: test.nexaforge.si is configured as a Cloudflare Tunnel and Cloudflare is currently unable to resolve it
What a visitor saw while the tunnel's connector was stopped.

What "Error 1033: Cloudflare Tunnel error" means

The page above says: "The host (test.nexaforge.si) is configured as a Cloudflare Tunnel, and Cloudflare is currently unable to resolve it." It asks visitors to try again in a few minutes and site owners to "Ensure that cloudflared is running and can reach the network."

A tunnel works the other way round from an open port: cloudflared runs next to your app and opens outbound connections to Cloudflare (four in our test). A visitor's request reaches Cloudflare first and goes down one of those connections to your server. With no connection, Cloudflare has nowhere to send the request, so it answers itself with Error 1033. Cloudflare's Error 1033 page puts it this way: Cloudflare's network "cannot find a healthy cloudflared instance to receive the traffic".

Cloudflare sends the status 530 when it cannot resolve the origin, with the 1xxx error in the body. A browser gets the page above; a script or an app gets the short text error code: 1033, as the test below shows.

How we reproduced Error 1033

We created a tunnel in Networking > Tunnels > Create Tunnel (type cloudflared), named it test-tunnel and copied its token into a .env file next to the compose file, readable only by its owner (mode 600). The token is the only secret the connector needs. The compose file runs nginx as the web app and cloudflared with the token:

Code
services:
  web:
    image: nginx:alpine
    volumes:
      - ./site:/usr/share/nginx/html:ro
    restart: unless-stopped
  cloudflared:
    image: cloudflare/cloudflared:latest
    command: tunnel --no-autoupdate run
    environment:
      - TUNNEL_TOKEN=${TUNNEL_TOKEN}
    restart: unless-stopped
    depends_on:
      - web

We started both containers, waited 8 seconds and read the connector's log:

Terminal
docker compose up -d
sleep 8; docker compose ps --format "table {{.Service}}\t{{.Status}}"
docker compose logs cloudflared | grep -E "Starting tunnel|Registered tunnel connection" | cut -c1-118
Terminal: the compose file with nginx and cloudflared, docker compose up -d starting both, both containers up, and the cloudflared log with four Registered tunnel connection lines
1: the web app and the connector with the tunnel token. 2: both containers start. 3: both run. 4: cloudflared opens four connections to Cloudflare.

The dashboard then showed the tunnel as Healthy, with one replica (one running connector) on version 2026.11.2. Before the first start it said Inactive.

Cloudflare dashboard, Networking, Tunnels, filtered on test: test-tunnel with the status Healthy, 1 replica, version 2026.11.2
1: the tunnel is Healthy: one connector (replica) on cloudflared 2026.11.2.

On the tunnel's page we added a published application route: the hostname test.nexaforge.si goes to http://web:80. "web" is the service name in the compose file: cloudflared reaches nginx over the compose network, so no port is open on the host.

Cloudflare dashboard, Add published application: subdomain test, domain nexaforge.si, service URL http://web:80
1: the public hostname. 2: where cloudflared sends the requests: the web service of the compose file, port 80.

The dashboard normally creates the hostname's DNS record for you. Our hostname already had a record, so the dashboard said "Route added, but the DNS record could not be created automatically. Create the CNAME record manually." We deleted the old record and added the CNAME by hand: name test, target the tunnel ID followed by .cfargotunnel.com, proxied. In the DNS list, such a record shows the type Tunnel and the tunnel's name.

Cloudflare dashboard, Add record: type CNAME, name test, target the tunnel ID followed by .cfargotunnel.com, proxied
1: the name. 2: the target: the tunnel ID and .cfargotunnel.com, with the proxy on.

The site then answered through the tunnel:

Terminal
curl -s -o /dev/null -w '%{http_code}\n' https://test.nexaforge.si/
curl -s https://test.nexaforge.si/ | head -n 1
Terminal: curl prints the status 200 for test.nexaforge.si, then the first line of the page, Home server, This page comes through a Cloudflare Tunnel
1: 200 through the tunnel. 2: the page that nginx serves.

Cause 1: cloudflared is not running (tunnel Down)

We stopped the connector, as a crash, a server restart without a restart policy or an update that removes the container would. The web app kept running:

Terminal
docker compose stop cloudflared
docker compose ps -a --format "table {{.Service}}\t{{.Status}}"
sleep 5; curl -s -o /dev/null -w '%{http_code}\n' https://test.nexaforge.si/
curl -s https://test.nexaforge.si/; echo
curl -sI https://test.nexaforge.si/ | grep -iE "^(http|server|content-type)"
Terminal: docker compose stop cloudflared; cloudflared exited while web is still up; curl prints 530, the body error code: 1033, and the headers HTTP/2 530, content-type text/plain and server cloudflare
1: the connector stops. 2: the web app still runs. 3: the status is 530. 4: what a script reads. 5: the answer comes from Cloudflare, not from the server.

Five seconds after the stop, the site answered 530 with the body error code: 1033. The header server: cloudflare shows that the answer came from Cloudflare: the request never reached the server, even though nginx was up. In Chrome this is the Error 1033 page at the top of this guide. The dashboard showed the tunnel as Down, with 0 replicas:

Cloudflare dashboard, Networking, Tunnels, filtered on test: test-tunnel with the status Down and 0 replicas
1: Down, 0 replicas: no connector is connected.

The four tunnel statuses, from Cloudflare's docs, and what each one means for Error 1033:

StatusWhat it meansWhat to do
HealthyConnected and serving traffic through four connectionsNothing on the connector. If you still get 1033, check the DNS record (cause 2).
InactiveCreated, but cloudflared has never run with its tokenInstall and run cloudflared with the tunnel's token.
DownWas connected, now no cloudflared is connectedStart cloudflared again and read its log.
DegradedRunning and serving traffic, but at least one connection failedCheck the server's network; the site still works.

Fix: start the connector and check its connections

We started cloudflared again and counted the connections it opened in the last 20 seconds:

Terminal
docker compose start cloudflared
sleep 8; docker compose logs --since 20s cloudflared | grep -c "Registered tunnel connection"
curl -s -o /dev/null -w '%{http_code}\n' https://test.nexaforge.si/
Terminal: docker compose start cloudflared, the log counts 4 Registered tunnel connection lines, and curl prints 200
1: the connector starts. 2: four new connections. 3: the page answers 200 again.

Four "Registered tunnel connection" lines means the connector is back; the site answered 200 at the first check, 8 seconds after the start. If cloudflared runs but these lines never come, read the rest of its log (docker logs -f shows it live): its ERR lines give the reason. If you created the tunnel again, the connector needs the new tunnel's token: copy it from the tunnel's page in the dashboard.

Cause 2: the DNS record points to a deleted or replaced tunnel

Cloudflare's docs give one more cause: if the tunnel is active and you still get Error 1033, the DNS record may point to the wrong tunnel. It happens when you delete a tunnel and create a new one: each tunnel has its own ID, and the hostname still points to the old one. We deleted test-tunnel in the dashboard (with its connector stopped). The dialog warns that the DNS records stay:

Cloudflare dashboard, Delete tunnel dialog for test-tunnel: the warning says the associated DNS records will not be removed and must be deleted manually
1: deleting a tunnel leaves its DNS records in place.

After the delete, the record was still there. It now showed the type CNAME and the old tunnel's ID instead of the tunnel's name:

Cloudflare DNS records filtered on test.nexaforge.si: one proxied CNAME record whose content is the ID of the deleted tunnel
1: the record still points to the deleted tunnel's ID.

Visitors got the same error as with a stopped connector:

Terminal
curl -s -o /dev/null -w '%{http_code}\n' https://test.nexaforge.si/
curl -s https://test.nexaforge.si/; echo
Terminal: after the tunnel was deleted, curl prints 530 and the body error code: 1033 for test.nexaforge.si
1: 530 again. 2: the same error code, with no connector left to start.

This time there is no connector to start. Point the record to the tunnel that should serve the hostname: edit it so the target is the current tunnel's ID followed by .cfargotunnel.com (proxied), or delete it and add the hostname as a published application route on the current tunnel, which creates the record. Delete the records of tunnels you removed for good.

Cloudflare's page on tunnel DNS records says that visitors see Error 1016 when a tunnel stops. In our test, a stopped connector and a deleted tunnel both gave Error 1033 with the status 530, never 1016.

Error 1033 or 502 Bad Gateway: which side is down

When the connector runs but the app behind it does not, the error is not 1033. We stopped nginx and left cloudflared running:

Terminal
docker compose stop web
sleep 3; curl -s -o /dev/null -w '%{http_code}\n' https://test.nexaforge.si/
docker compose logs --tail 2 cloudflared | cut -c1-150
docker compose start web
sleep 3; curl -s -o /dev/null -w '%{http_code}\n' https://test.nexaforge.si/
Terminal: docker compose stop web; curl prints 502; the cloudflared log says Unable to reach the origin service; docker compose start web; curl prints 200
1: the web app stops, the connector keeps running. 2: 502, not 530. 3: cloudflared cannot reach the app. 4: the app starts. 5: 200 again.

The site answered 502 Bad Gateway, and the cloudflared log said "Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared". The tunnel was fine: Cloudflare reached cloudflared, and cloudflared could not reach nginx. After docker compose start web, the site answered 200 again. Cloudflare's docs list other causes of this 502: a service URL with the wrong port or the wrong protocol (https for an app that only speaks http), or an origin certificate that cloudflared cannot validate.

What you seeWhat is brokenFix
Error 1033 (HTTP 530), tunnel Down or InactiveNo cloudflared is connectedStart cloudflared with the tunnel's token and read its log.
Error 1033 (HTTP 530), tunnel HealthyThe DNS record points to another tunnel IDPoint the record to the current tunnel, or add the hostname to it as a published application.
502 Bad Gateway, log "Unable to reach the origin service"The app behind the tunnel, or the service URL of the routeStart the app; check the name, port and protocol in the service URL.

How to keep Error 1033 away

  • Let Docker restart the connector. With restart: unless-stopped (in the compose file above), Docker starts cloudflared again after a crash or a reboot. A container you stop by hand stays stopped, as in our test, so start it again after maintenance. Docker Compose up explains the commands.
  • Watch the public address, not only the server. A check of the server itself still passes during Error 1033. A monitor such as Uptime Kuma, pointed at the public URL, sees the 530 and alerts you.
  • Run a second connector. Cloudflare's docs describe replicas: the same tunnel run by cloudflared on a second machine, so one stopped connector does not take the site down. The 1033 page's own advice, "enable load balancing for your tunnel", goes the same way.
  • Change DNS with the tunnel. When you create a tunnel again, move its hostnames to the new one, and delete the records of a tunnel you delete: the dashboard does not do it for you.

To show visitors a saved copy of the site instead of an error page while the server is off, see our Cloudflare Always Online alternative.

Frequently asked questions

Is Error 1033 a problem on my computer?

No. It means the site's server is not connected to Cloudflare through its tunnel. Another browser or network will not help; only the site's owner can fix it. Try again in a few minutes.

Why does my tunnel show Healthy but I still get Error 1033?

The hostname's DNS record points to another tunnel, often one that was deleted or created again. Check that the record's target is the ID of the Healthy tunnel followed by .cfargotunnel.com, or add the hostname to that tunnel as a published application.

Does deleting a Cloudflare Tunnel delete its DNS records?

No. The delete dialog says "The associated DNS records will not be removed and must be deleted manually". In our test the record stayed, and visitors got Error 1033 until we deleted it.

How long does Error 1033 last?

Until a connector of the tunnel is connected again. In our test the site answered 200 at the first check, 8 seconds after we started cloudflared.

What does HTTP 530 mean on Cloudflare?

Cloudflare sends 530 with a 1xxx error in the body, here 1033. A script reads error code: 1033 with the header server: cloudflare; a browser shows the Error 1033 page.

Is it Error 1033 or Error 1016 when a tunnel stops?

Cloudflare's page on tunnel DNS records says 1016. On 2 December 2026, both a stopped connector and a deleted tunnel gave us 1033 with the status 530.

What is the difference between Error 1033 and 502 with a tunnel?

1033 means Cloudflare cannot reach cloudflared. 502 means cloudflared is connected but cannot reach your app: start the app, or fix the service URL of the route.

Sources

Salah Edin

Guides by Salah Edin cover security updates, self-hosted apps, Docker and open source tools. How we test

Leave a comment

Your email address will not be published. Required fields are marked *

Your experience on this site will be improved by allowing cookies Cookie Policy