HSX_E_CLOUDFLARED_EXITED

cloudflared exited before reporting a tunnel URL.

What this error means

The cloudflared subprocess exited before printing a trycloudflare.com URL.

When this error stops a command, hs-x exits with code 50. With --json, the failure is reported as a structured error whose code field is HSX_E_CLOUDFLARED_EXITED — stable to match on in scripts and agents.

Likely causes

  • Network outage
  • cloudflared was rejected by Cloudflare

How to fix it

  • Re-run with --debug to see the captured stderr
  • Try again in a minute

Still stuck? Re-run the command with --debug for the wire-level detail, or hs-x doctor to check accounts, link state, and connectivity in one pass.