Skip to content
Sections

Diagnostics and error codes

Pinpoint sign-in, DNS, TLS, and tunnel issues with prontaro doctor, or look up exact CLI exit codes and proxy error responses.

On this page45

Start any investigation by running prontaro doctor — it verifies your CLI token, state directory permissions, clock sync, proxy environment, DNS resolution, TLS handshakes to the API and Prontaro nodes, tunnel records, and CLI version in order.

For support tickets, save a machine-readable report (your CLI token is never included):

bash
prontaro doctor --json > report.json

prontaro doctor diagnostics

Check Result Action
CLI token ✗ no saved login / ✗ client_key_invalid Run prontaro login (or check PRONTARO_KEY).
CLI token / Saved binding ✗ ... is not safe to read Tighten state directory permissions (see find command below).
Clock ! ... s off server time (> 30 s) Enable NTP sync—clock skew breaks TLS verification and tunnel startup.
Proxy ✗ set (unreadable) Fix or unset HTTPS_PROXY.
Name cli.prontaro.net ✗ does not resolve Check local DNS, VPN split-DNS, or /etc/resolv.conf.
API :443 ✗ no connection / ✗ certificate not accepted Test with HTTPS_PROXY=... prontaro doctor and check system time.
Servers :443 / Server <host> :443 ✗ no TLS / ✗ certificate not accepted Try another network or proxy and attach report.json to support.
Name <tunnel-host> ✗ → <ip>, expected <ip> Flush local DNS cache or test a public resolver.
Version <X.Y.Z> ! <new> available Run prontaro update (or brew upgrade prontaro/tap/prontaro on Homebrew).

To fix state directory permissions on Linux/macOS (subdirectories bindings/ and locks/ need +x, so set directory and file modes separately):

bash
find ~/.config/prontaro -type d -exec chmod 700 {} +
find ~/.config/prontaro -type f -exec chmod 600 {} +

On macOS, replace ~/.config/prontaro with "$HOME/Library/Application Support/prontaro". On Windows, restore a user-only ACL on %APPDATA%\prontaro.

Example output when outbound :443 is blocked:

text
  ✓ CLI token              accepted · user@example.com · token "deploy" · from saved login
  ✓ Clock                  0.1 s off server time
  ✓ Proxy                  none for API (proxy environment unset or NO_PROXY)
  ✓ Name cli.prontaro.net  → 203.0.113.10
  ✗ API :443               no connection within 5 s
      Your network may block outgoing connections to port 443.
      Try: HTTPS_PROXY=http://proxy:3128 prontaro doctor

Result: 1 problem, 0 warnings. Report for support: prontaro doctor --json > report.json

Authentication

client_key_invalid

  • Where: Any CLI command (exit code 5; services do not restart).
  • Cause: Saved CLI token was revoked, expired, or mistyped in PRONTARO_KEY.
  • Action: Run prontaro login to authorize a new token in your browser, or create a token on the CLI page and update PRONTARO_KEY.

device_not_found, device_expired, device_denied, device_already_decided

  • Where: Browser sign-in (prontaro login or https://my.prontaro.com/cli/approve, exit code 1).
  • Cause: The one-time code was mistyped (device_not_found), expired before confirmation (device_expired), denied in the dashboard (device_denied), or already used (device_already_decided).
  • Action: Run prontaro login again to start a fresh sign-in request. If you reached the CLI token limit (client_key_limit), revoke an unused token on the CLI page first.

407

  • Where: HTTP/HTTPS proxy (407 Proxy Authentication Required), SOCKS5 auth failure, or prontaro forward.
  • Cause: Wrong credentials, revoked proxy credentials, or newly created credentials that have not yet propagated to all Prontaro nodes (typically a few seconds). 407 can also appear for up to a minute right after we move your IP to another Prontaro server while DNS updates.
  • Action: Check active credentials under IP addresses. For forward, wait briefly or regenerate credentials with prontaro forward <port> <host:port> --new-credentials. If 407 lasts longer than a minute after an IP move and your credentials are valid, your app is caching an old DNS response: restart it or configure it to re-resolve DNS.

Quotas and limits

volume_exhausted

  • Where: Tunnels (HTTPS visitors receive HTTP 503), outbound HTTP/SOCKS5 proxy, Relay URLs, and prontaro forward.
  • Cause: Monthly traffic quota reached (inbound and outbound bytes count together). New requests are no longer forwarded — neither inbound tunnels nor outbound requests.
  • Action: Add a traffic pack or upgrade your plan in Plans, or wait for the next billing cycle. Running services recover automatically once quota is restored.

requests_exhausted

  • Where: HTTPS tunnels (visitors receive HTTP 429).
  • Cause: Monthly HTTPS tunnel request quota reached. TCP tunnels and outbound proxy and Relay requests keep working normally.
  • Action: Add an HTTPS requests pack or upgrade your plan in Plans, or wait for the next billing cycle.

429

  • Where: CLI API (rate_limited), outbound proxy (connection_rate, connection_limit), or HTTPS tunnels after too many password attempts (see limit), or when the HTTPS request quota is exhausted (see requests_exhausted).
  • Cause: A request rate or connection limit was reached (for the outbound proxy: up to 6,000 new connections per minute, 300 concurrent connections per IP on Dedicated, and 1,000 on Pro; see all limits), or a tunnel visitor exceeded the password attempt limit.
  • Action: The CLI waits for Retry-After automatically. In your apps, reuse HTTP keep-alive connections, reduce burst concurrency, or upgrade to Pro, and review refusals in Logs.

online_limit

  • Where: Starting a tunnel (http, tcp, run)—exit code 1 in a terminal; background services retry every 30 seconds.
  • Cause: You reached the concurrent online tunnel limit for your plan.
  • Action: Stop an unused tunnel with prontaro stop <tunnel> or under Tunnels, or add a tunnel pack / upgrade in Plans.

saved_limit

  • Where: Creating a new saved tunnel or port (permanent error — retrying will not fix it, exit code 7; services do not restart).
  • Cause: Account reached the saved names and ports cap (100; see resource limits).
  • Action: Remove unused saved tunnels with prontaro ls --all and prontaro rm <tunnel> (or under Tunnels).

subscription_not_served

  • Where: Tunnel launch, proxy, or Relay (services retry every 5 seconds automatically).
  • Cause: Subscription is paused or unpaid, or the account has no plan yet. Dedicated IPv4 addresses are held for 3 days after expiry before release.
  • Action: Renew or reactivate your subscription in Billing. With no plan yet, open the dashboard and click Start free, or choose a plan.

Access control

403

  • Where: Outbound proxy (source_denied, target_denied, destination_denied, blocked), Relay (source_denied, destination_denied, blocked), or inbound tunnels (access, blocked).
  • Cause: Caller source IP is not in the allowlist, target host/port is not in the proxy To list, the destination is a blocked port, private/local IP range, or IPv6 address (destination_denied), a SOCKS5 client used socks5:// instead of socks5h:// (sending a resolved IP instead of the hostname), or the proxy credentials, dedicated IP, or Relay was blocked by Prontaro (blocked).
  • Diagnose: Check the refusal in Logs or run curl -v -x '<http:// proxy URL>' https://api.example.com.
  • Action: Update access rules in the dashboard (Access tab on your proxy credentials, Relay, or tunnel) or via prontaro access for tunnel IP rules; use socks5h:// for SOCKS5. For blocked, contact support from your dashboard.

tunnel_blocked

  • Where: Starting or running a tunnel (exit code 1 on the first terminal start; background services and running tunnels retry every 30 seconds and recover when the block is lifted).
  • Cause: That specific tunnel was blocked for a terms violation.
  • Action: Contact support with your account email, tunnel name, and prontaro doctor --json output.

account_disabled

  • Where: CLI commands (exit code 1 in a terminal; background services retry every 30 seconds).
  • Cause: The account was blocked for a terms violation.
  • Action: Contact support with your account email and prontaro doctor --json output.

Tunnels, domains, and network

tunnel_busy

  • Where: Starting a named tunnel or a tunnel with a fixed TCP port (background services retry every 30 seconds).
  • Cause: Another machine is currently running this tunnel.
  • Action: Stop it on the other host (prontaro stop <tunnel> or in Tunnels), or take ownership once interactively with --takeover:
    bash
    prontaro http 3000 --name api --takeover
    Never place --takeover inside a systemd or launchd service.

no_own_ip

  • Where: prontaro forward or --to <IP> (exits with code 7, including with --no-input; only services installed via prontaro service install wait and retry every 30 seconds).
  • Cause: No dedicated IPv4 is assigned yet (switching to Dedicated or Pro does not assign an IP automatically).
  • Action: Add a static IPv4 in your chosen location under IP addresses.

not_your_address

  • Where: --ip or --to (exit code 7; also removed_ip).
  • Cause: The IPv4 does not belong to your account or was removed.
  • Action: Check active IPs with prontaro status or under IP addresses, or use --to shared.

port_in_use

  • Where: prontaro tcp --to <IP>:<port> and prontaro http --to <IP> (exit code 7; also port_reserved).
  • Cause: That port on your IP is already bound by another saved tunnel (for example, :443 held by a TCP tunnel when starting an own-IP HTTPS tunnel) or reserved.
  • Action: Check saved tunnels and ports with prontaro ls --all, pick a free port, or remove the conflicting tunnel (prontaro rm).

name_taken

  • Where: prontaro http --url <subdomain> or --name <name> (in an interactive terminal, CLI prompts for another name; non-interactively exits 7; also name_reserved, name_invalid).
  • Cause: The subdomain is already taken, reserved, or invalid.
  • Action: Pick another subdomain or omit --url for a random permanent address.
  • Where: TCP tunnels, custom domains, or custom --url subdomains on Free (exit code 7).
  • Cause: Feature requires a paid plan.
  • Action: Drop the paid option (e.g. prontaro http 3000) or upgrade in Plans.

domain_needs_name

  • Where: Connecting a custom domain in Dashboard → Tunnels.
  • Cause: Custom domains can only be attached to HTTPS tunnels, not TCP tunnels.
  • Action: Open an HTTPS tunnel in Tunnels and add the domain from its Domains tab.

domain_pending_limit

  • Where: Adding a custom domain in Dashboard → Tunnels.
  • Cause: Your account already has 20 domains waiting for DNS verification.
  • Action: Finish DNS setup or remove unused pending domains in the tunnel’s Domains tab.

tunnel_in_other_location

  • Where: Starting an existing tunnel with --location or --to in a different location (exit code 7).
  • Cause: That saved tunnel is already bound to another location.
  • Action: Remove the conflicting --location / --to flag, or create a new tunnel in the target location.

Local server

local_unreachable

  • Where: HTTP 502 on HTTPS tunnels; closed connection on TCP tunnels.
  • Cause: Nothing is listening on the local host:port.
  • Action: Start your local server and test directly (curl -I http://127.0.0.1:3000).

local_timeout

  • Where: HTTP 504 on HTTPS tunnels.
  • Cause: Your local app accepted TCP but did not send response headers within 120 sec (see timeouts).
  • Action: Check local server logs for slow queries or deadlocks.

Pages visitors see on HTTPS tunnels

When a Prontaro node cannot pass a request to your app, browsers see a page that explains why and other clients get plain text. Both are in English. Example:

text
This site is offline right now. It isn’t accepting connections. Try again later.
If this is your site: This tunnel is not connected. Start it with prontaro on your machine.
What this means: https://prontaro.com/docs/cli/errors/#not_running
Error 503 · not_running · 2026-12-03 14:02:31 UTC · Prontaro

When your tunnel is running, prontaro shows the same code in the terminal. Logs sample these errors, so not every page shown to a visitor gets its own entry. Visitor pages never show your plan, email address, or local address.

HTTP Code What the visitor sees (heading)
503 not_running This site is offline right now
503 address_off This site is offline right now
503 volume_exhausted This site is temporarily unavailable
503 limit Too many visitors right now
502 local_unreachable This site is not responding
504 local_timeout This site took too long to respond
403 access This site is not open to your network
401 password This site requires a password
429 limit Too many sign-in attempts
429 requests_exhausted This site is temporarily unavailable
403 blocked This site was blocked
421 address_mismatch Reload this page in a minute
421 host_mismatch Misdirected request
405 method Method not allowed
431 header_too_large Request header fields too large
502 bad_answer This site is not responding

Prontaro does not serve a visitor page for TLS errors before a custom domain certificate is issued (the browser shows its own warning), for WebSocket or streaming responses that have already started, or on Relay URLs, which return JSON errors to API callers.

not_running

  • Cause: No prontaro session is connected for this tunnel, the subscription serving it has stopped or ended, or the account is disabled, or its dedicated IP is blocked. The owner line is either This tunnel is not connected. Start it with prontaro on your machine. or This tunnel is not serving traffic. Check its status in your Prontaro dashboard.
  • Action: Start the tunnel again (for example, prontaro http 3000 --name api), or check your subscription in Billing. If the dedicated IP is blocked, contact support from your dashboard. Right after a tunnel moves to another server, visitors whose DNS cache still points to the previous server can also see this page for a few minutes.

address_off

  • Cause: You turned off the default *.prontaro.run address while a custom domain is active on this tunnel, and a visitor opened the default address.
  • Action: Direct visitors to your custom domain instead, or re-enable the default address in the tunnel’s Domains tab.

limit

  • Cause: On 503, the tunnel reached its plan limit for concurrent visitor connections. On 429, a single visitor made too many password attempts in a short time.
  • Action: Visitors can try again in a minute. If 503 keeps happening, open the tunnel in Tunnels, check your plan limits, and upgrade in Plans if you need higher concurrency.

access

  • Cause: The visitor’s IP address is not in the tunnel’s allowlist. The page shows visitors their own IP address so they can send it to you.
  • Action: Add that IP address or CIDR range in the tunnel’s Access tab, or run prontaro access demo allow 203.0.113.7.

password

  • Cause: The tunnel is protected by Basic Auth passwords. Browsers prompt for a login and password first; visitors see this page if they cancel the prompt, or when an automated client sends invalid or missing credentials.
  • Action: Share a login and password from the tunnel’s Access tab in Tunnels, or turn off password protection there.

blocked

  • Cause: Prontaro blocked a tunnel, proxy credential, dedicated IP, or Relay. Only a blocked HTTPS tunnel shows visitors the blocked page: it warns them to change passwords entered on the site and contact their bank if they entered card details; in HTML this advice appears in a warning, while plain text puts it on separate lines, followed by the If this is your site: line directing the owner to their Prontaro dashboard. A blocked dedicated IP instead shows HTTPS visitors not_running. On outbound HTTP proxy and Relay URLs, blocked credentials, IPs, or Relays return HTTP 403 with code blocked (and SOCKS5 returns a ruleset refusal).
  • Action: See tunnel_blocked or contact support from your dashboard.

address_mismatch

  • Cause: The tunnel now answers on a different IP address of the same server—for example, after you moved it to your dedicated IPv4—while the visitor’s DNS cache still points to the previous address.
  • Action: Usually no action is needed: the page clears once the visitor’s DNS cache expires. For a custom domain, check its DNS records in the tunnel’s Domains tab; you can also run prontaro doctor to see where your own resolver points the tunnel hostname.

host_mismatch

  • Cause: The request’s Host header does not match the hostname the TLS connection was opened for. This usually happens when a client or proxy sets Host manually.
  • Action: Send requests with the tunnel’s public hostname in Host. If your local server expects a different virtual host, pass --host-header to prontaro instead (see HTTPS tunnels).

method

  • Cause: The visitor sent an HTTP CONNECT request (HTTP 405), which HTTPS tunnels do not support.
  • Action: To make outbound connections through Prontaro, use the HTTP & SOCKS5 proxy instead.

header_too_large

  • Cause: The request headers exceeded the 8 KiB limit (HTTP 431; see protocol limits), usually because of oversized cookies.
  • Action: Clear the site’s cookies in the browser, or send fewer and smaller request headers.

bad_answer

  • Cause: The Prontaro server rejected the local app’s HTTP response or response headers larger than 8 KiB (HTTP 502; see protocol limits); the configured local port may not be running an HTTP server.
  • Action: Check your app’s server logs and confirm the local port is running an HTTP server; inspect its response with curl -i http://127.0.0.1:3000.

CLI exit codes

Code Meaning Service restarts?
0 Success or clean tunnel stop. —
1 Runtime error, network failure, quota limit, tunnel_blocked, unknown error code, or a failed prontaro doctor check. Yes; for tunnel_blocked, the service waits and retries every 30 seconds.
2 Unhandled runtime crash. Yes
5 Not signed in (no saved token) or client_key_invalid. No
6 Tunnel stopped intentionally, replaced, or removed. No
7 Invalid arguments/flags or an error that retrying will not fix (not_your_address, saved_limit, paid_only, port_in_use, Windows service). No
130 Cancelled with Ctrl-C or Esc (at a prompt or before startup completes; Ctrl-C on a running tunnel or forward exits 0). —

For any unknown server error code, prontaro prints the server error message verbatim.

Startup refusals (--no-input vs prontaro service install)

Passing --no-input (or setting PRONTARO_NO_INPUT=1 or CI=true) only disables interactive prompts and switches output from the live screen to plain log lines. If http, tcp, run, or forward receive a startup refusal — such as an unpaid or blocked account (subscription_not_served, account_disabled), online_limit, tunnel_busy, or no_own_ip — the command exits immediately with a non-zero exit code (1, or 7 for no_own_ip).

Waiting on startup refusals works only for services installed with prontaro service install, which sets PRONTARO_SERVICE automatically in the generated systemd or launchd unit (do not set PRONTARO_SERVICE manually — its value is the unit name used in CLI hints). Once a tunnel or forward is already running, it continues to wait and recover automatically on blocks or billing pauses. In containers, PaaS, and Windows Task Scheduler, use the platform’s restart policy so the process restarts with backoff and comes up once the issue is resolved.

JSON error format (--json)

When --json is passed, CLI errors are written to stderr as JSON Lines with a machine-readable code and human-readable msg:

json
{"time":"2026-11-28T21:00:00Z","level":"error","code":"online_limit","msg":"You’ve reached your plan’s online tunnel limit."}

Next steps

Something wrong on this page? Contact us

Contact us

Enter your email so we can reply.Enter a valid email, e.g. name@company.example.
Tell us what you need or what went wrong.up to 2,000 characters

Sent! We’ll reply to .

Or email us at support@prontaro.com