Error catalog
If tuna CLI or Tuna Desktop shows an error, or a tuna page opens instead of your site, paste its text into the search field — the whole thing is fine, including Code: and Request ID:. Can't find it? Check the common errors or contact support and include the Request ID.
Sign-in and keys
Incorrect token
The server couldn't find this API key or token — a typo, a truncated key, or a key of a deleted account. A variant of the message is "Unknown token". Check the key or create a new one.
This key cannot start tunnels
An API key without the Run tunnels permission works only for API commands. Create a key with the tunnels:connect scope or the For tunnels preset.
login session was replaced by a new one
Someone ran tuna login again on this device while a tunnel was running. The tunnel switches to the new session and reconnects by itself, nothing to do.
login was cancelled in the browser
tuna login didn't get a login confirmation. Variants of the message are "timed out waiting for browser confirmation" and "login was cancelled". Log in again, over SSH — with --no-browser.
Not logged in
tuna CLI found neither a session nor an API key. Variants of the message are "Command requires authentication" and "Background service requires an api key". Log in with tuna login or pass a key.
Session expired or revoked
The CLI session expired or was terminated — in the profile, with tuna logout, or because a token was reused. Log in again with tuna login.
System keyring did not respond
The system keyring didn't respond within 20 seconds — usually it's locked and waiting for a password in a window you can't see over SSH. Unlock the keyring or log in with --insecure-storage.
system keyring is unavailable
tuna login can't save the session because the system has no keyring, most often on a Linux server or in a container. Log in with --insecure-storage or use an API key.
Token expired
The API key the tunnel starts with has expired or was deleted. A variant of the message is "Token deleted". Create a new key, update it in CI, or reinstall the service.
User blocked
The account was blocked by Tuna, so the CLI, Desktop, and dashboard don't work. Contact support at info@tuna.am.
User not active
The account is blocked or the team member is disabled. A variant of the message is "Team member not active", when the member was disabled in the team subscription or the subscription ended. Contact your team admin or support.
Plan and limits
Domain limit reached
You've reserved as many domains or TCP ports as your plan allows. A variant of the message is Endpoint limit reached. Delete addresses you don't need or upgrade your plan.
Domain unavailable for free plan
The domain in --domain isn't available on the free plan. Without a subscription, --domain accepts only your full free subdomain; custom domains require a subscription.
402 Payment Required
An error with the PaymentRequired code and no explanation. The team the client is signed in to has no active subscription. Pay for the team's subscription or start the tunnel from your personal account.
Subdomains unavailable for free plan
The subdomain in --subdomain isn't available on the free plan. Without a subscription, only your free permanent subdomain works; any other name requires a subscription.
TCP unavailable for free plan
TCP tunnels, Kubernetes and 1C aren't available on the free plan. Variants of the message are Kubernetes unavailable for free plan, 1C unavailable for free plan, and Endpoint unavailable for free plan. You need a subscription.
Temporal token is bound to reserved addresses
The key is bound to reserved addresses, but the tunnel was started without an address or with a different one. Variants of the message are Temporal token is not bound to this address and Temporal token bound to addresses cannot be used for apps. Specify a bound address.
Token limit reached: active tunnels
The key that started the tunnel is limited by number of tunnels or by protocol. Variants of the message are Token limit reached — created tunnels, and TCP or HTTP tunnels are not allowed for this token. Stop extra tunnels or issue a new key.
Traffic policy is available only on paid plans
The client found traffic policy rules (.tuna.yml, --policy-file or --policy-url), but there's no subscription. Remove the rules file or get a subscription.
Tunnel limit reached
You're already running as many tunnels as your plan allows. Stop a tunnel you don't need, delete a stuck one, or upgrade your plan.
HTTP tunnels forbidden by administrator
A team administrator has blocked this type of tunnel for your member group. Variants of the message are TCP tunnels forbidden by administrator and SSH tunnels forbidden by administrator. Contact your team administrator.
Addresses and domains
Domain already reserved
Domain already reserved — the subdomain or domain belongs to another user. Variants Domain reserved, Domain already reserved by gateway, Domain reserved by App, and Domain already reserved by tunnel mean the address is held by a gateway, an app, or a tunnel.
Domain not verified
Domain not verified — the custom domain has been added, but the DNS check hasn't passed yet. Wait for verification or fix the DNS record and restart the check.
Endpoint already reserved
Endpoint already reserved — this TCP port alias is already reserved. Use the existing port or pick another alias.
Subdomain is already reserved for you
Subdomain is already reserved for you as … or Alias is already reserved for you as … — you already have the same name or port alias in another zone. Use the existing address or delete it.
Tunnel already active
Tunnel already active — another running tunnel already holds this address. Stop it, delete the stuck one in the dashboard, or start the tunnel on a different address.
Connection and client
Connection lost, reconnecting
Connection lost, reconnecting and Attempting reconnect — the client lost its connection to the Tuna server and is reconnecting on its own. If the tunnel stays down for long, check the network and run tuna diagnose.
Device is not enrolled in mesh
device is not enrolled in mesh — run 'tuna mesh login' first — this device isn't connected to the team's mesh network yet. Sign in with tuna mesh login.
Failed to query tunad
failed to query tunad or failed to get status with executing request to daemon — tuna mesh can't reach the tunad service. Install and start tunad.
Inspector port is used
inspector port 4100 is used by … or inspector port is not available — the inspector port set with --inspect-port or TUNA_INSPECT_PORT is taken. Set another port or unset the variable. Variants invalid port and port is out of range.
SSH keepalive timed out
SSH keepalive timed out after 15s or SSH keepalive failed — the Tuna node stopped answering connection checks, and the client reconnects on its own. If it happens often, check the network.
No listening ports found
No listening HTTP ports found (or TCP) — tuna couldn't find a local port to open the tunnel to. Specify the port explicitly or start the app with tuna run. Variants Port must be specified and Several ports are listening.
Node not found
Node not found (status 503) — no node is available for the tunnel in the selected region right now. The client retries on its own; if that doesn't help, start the tunnel without --location.
Server is busy, retry later
Server is busy, retry later (status 503) — the Tuna server is handling too many connections right now. The client retries on its own; you don't need to do anything.
Tunnel terminate request
Received tunnel terminate request from server — the server closed the tunnel. The reason is in the reason field; deleted means the tunnel was deleted, session_limit means the session time ran out, reconnect means the tunnel reconnected over a new connection.
Unable to connect with this version
Since … you have been unable to connect with tuna — support for this client version on the free plan has ended. Update the client or get a subscription. The warning Starting from … you will no longer be able to connect comes in advance.
Unsupported client version
Unsupported client version (status 426) — the server doesn't support the client's protocol version. Update tuna CLI or Tuna Desktop to the latest version.
What tunnel visitors see
Access restricted
The "Доступ ограничен" (access restricted) page with code 401 or 403, "Доступ запрещен" (access denied) by IP, or an Unauthorized response — access to the tunnel is restricted with a password, a key, an IP list, a User-Agent filter, or a traffic policy.
App access denied
The "Доступ запрещён" (access denied) page with code 403 in a Tuna app — the app's policy didn't let you in. This also covers "Ожидание одобрения" (waiting for approval), "Запрос отклонён" (request denied), "Запрос истёк" (request expired), and the Invalid service token and Forbidden responses.
Confirmation required
The "Вы собираетесь посетить …" (you are about to visit) page with a "Посетить" (Visit) button in front of a tunnel on the free plan. Hide it with the tuna-skip-browser-warning header or a paid subscription.
request body too large
The request body too large response with code 413 (or a 502 with the text http request body too large) from a Tuna app — the request body exceeds the limit in the app settings, 32 MiB by default.
Resource is not responding
The "Ресурс не отвечает" (resource is not responding) page with code 502 — the tunnel works, but the tuna client can't reach the local service. Start the service or check the port. A variant without the page is a 502 with text like dial tcp …: connection refused.
Too Many Requests
The 429 Too Many Requests or local_rate_limited response — the tunnel receives more requests than the Tuna limit (100 per second per address) or the limit set with --rate-limit or a traffic policy allows.
tunnel is reconnecting
The tunnel is reconnecting or node is starting response with code 503 — the tunnel is reconnecting or the node is restarting. It usually clears up on its own within a minute.
Tunnel not found
The "Туннель … не найден" (tunnel not found) page or the plain tunnel not found response with code 404. The address doesn't belong to any tunnel — check the address and start the tunnel.
Tunnel is offline
The "Туннель … выключен" (tunnel is offline) page with code 502. The address is reserved, but no tunnel with it is running right now.
upstream request timeout
The upstream request timeout response with code 504, stream timeout with code 408, or net/http timeout awaiting response headers with code 502 — the service behind the tunnel takes too long to start responding.