One tunnel, many connectors
The tunnel is a UUID and a DNS target. A connector is a cloudflared process attached to it. You can run several connectors per tunnel; deleting a connector does not delete the tunnel.
A tunnel is one object. The connectors behind it are processes you run, feed and watch. When the only connector restarts, Cloudflare has no healthy instance to hand the request to and returns 1033 — the tunnel was never the thing that failed.
This page is free. It separates the tunnel, the connector and the origin, shows the read-only checks that say which of the three is down, and lists the ways a second replica quietly makes things worse.
The tunnel is a UUID and a DNS target. A connector is a cloudflared process attached to it. You can run several connectors per tunnel; deleting a connector does not delete the tunnel.
Cloudflare could not find a cloudflared instance to accept the request. A 502 is different: a connector accepted it and the origin behind it did not answer.
Healthy or Degraded reflects how many connections the edge currently holds, not whether each origin behind them serves the right app. A connected replica can still route to the wrong port.
With a locally-managed tunnel, the ingress rules live in each connector's own configuration file. Editing one host does not update the others; that is the most common replica drift.
| Command or view | What it tells you |
|---|---|
| cloudflared tunnel list | Tunnel ID, status and connection count. Zero connections means nothing can receive traffic, whatever the dashboard last cached. |
| cloudflared tunnel info <name> | Each connector's ID, edge location and protocol. Compare the list with the hosts you believe are running it. |
| cloudflared tunnel ingress validate | Parses the local configuration and enforces the required final catch-all rule. Run it on every host, not just the one you edited. |
| cloudflared tunnel ingress rule https://app.internal/path | Which rule a URL matches. Rules are evaluated in order and the first match wins, so a broad rule above a specific one hides the specific one. |
| curl -s http://127.0.0.1:20241/metrics | grep cloudflared_tunnel_ha_connections | Current HA connections for this connector. The metrics server binds the first free port in 20241–20245 unless --metrics sets one. |
| systemctl status cloudflared; journalctl -u cloudflared -n 100 --no-pager | Restart loop, credential failure, configuration parse error, or a connector that exited and was never restarted. |
| dig +short app.internal | Must be a proxied CNAME to the current tunnel's <uuid>.cfargotunnel.com. An old UUID gives 1033 while the tunnel itself is healthy. |
| curl -sI https://app.internal | The public path: 1033, 502 or the origin's own status. This is the only check that sees what a user sees. |
| # | Failure mode | What you see | What to do |
|---|---|---|---|
| 1 | One connector and no second host | A kernel update or a reboot takes the only connector down, and every hostname returns 1033 until it is back. | Run at least two connectors on separate hosts, each with a restart policy and its own alert. |
| 2 | A replica with a stale local config | Half the requests return 502 or the wrong app; the connector is connected and its own logs look normal. | Render the configuration from one source per host, mount it read-only, and validate on every deploy. |
| 3 | A loopback origin from a container | The connector is healthy and the origin is another container, so 127.0.0.1 inside the connector's namespace is not the app. | Point the service at the shared network name or the host address, not loopback. |
| 4 | The unit is not enabled to restart | The process exits on a credential or config error, the tunnel goes Degraded and then Down, and nothing restarts it. | Use Restart=on-failure with a bounded delay, and alert on a restart counter, not only on uptime. |
| 5 | A recreated tunnel with the old DNS target | The new tunnel is Active, the old one is gone, and the CNAME still points at the old UUID: 1033 with no connector problem. | Recreate the route with cloudflared tunnel route dns and verify the CNAME target rather than assuming it moved. |
| 6 | A missing or careless catch-all | The configuration is rejected and the connector exits; or a catch-all forwards unmatched hostnames to a default app nobody meant to publish. | End the ingress list with service: http_status:404 and no hostname. |
| 7 | Monitoring the origin, not the hostname | Direct origin checks pass while the public hostname returns 1033, because the check never went through Cloudflare. | Probe the public hostname through the edge, and scrape the connector metrics as a second signal. |
| Decision | Question to answer |
|---|---|
| Failure domain | Are the connectors on different hosts, racks or providers, or do they share the same hypervisor and the same maintenance window? |
| Config source | Is there one template rendered per host, or do people edit files in place and hope the replicas match? |
| Origin address | Is the service address valid inside the connector's network namespace, and does it survive a container restart? |
| Restart policy | Does the unit restart on failure, and is the backoff short enough to recover from a transient edge disconnect? |
| Alerting | Does anything page when HA connections fall below two, when the public hostname returns 1033, or when a connector restarts repeatedly? |
| Credential rotation | Can the tunnel credentials be rotated one connector at a time, without a window where every replica is offline? |
Stop cloudflared on one host and confirm requests still return 200 and the remaining connection count stays above zero.
Change a rule on one host only, then compare ingress rule output across hosts. The divergence should be visible before a user reports it.
With the connector running, stop the app. Expect 502 rather than 1033, which proves the connector is healthy and the origin is the fault.
Point a staging name at a second tunnel. Confirm 1033 with the old UUID and 200 after the CNAME update, so the DNS failure mode is familiar before production.
Healthy describes the connector connections, not the hostname. Check the CNAME target, then the ingress rules on each connector. A tunnel can be connected and still have no rule that matches the hostname you requested.
Two connectors on one tunnel is the usual HA shape: the same DNS target and the same rules, with two processes to lose. Two tunnels need two DNS targets or a load balancer, and they double the configuration you must keep in sync.
Different connectors, different configs, or one origin only reachable from one host. Correlate the failing request with the connector that served it — the cf-ray and the connector logs give you that pair.
That fixes a stuck connector only sometimes, and it destroys the evidence. Read the exit reason and the config validation first; restarting all replicas at once turns a partial outage into a full one.
The paid runbooks cover the surrounding change windows: a platform default that moves under you, a cache rule that hides a deploy, and a rollback you can actually execute.
This page is free, no checkout. Paid runbooks are $9.99 each and covered by the 7-day refund policy at /runbooks/refund.