> Markdown-версия страницы https://tuna.am/docs/troubleshooting/errors/. Оглавление документации — [llms.txt](https://tuna.am/llms.txt), весь текст одним файлом — [llms-full.txt](https://tuna.am/llms-full.txt). Markdown-версия есть у любой страницы: добавьте `.md` к адресу без слеша на конце.

# Каталог ошибок

Если tuna CLI или Tuna Desktop выдали ошибку или вместо вашего сайта открылась страница tuna, вставьте её текст в поле поиска — можно целиком, вместе с `Code:` и `Request ID:`. Не нашли — загляните в [распространённые ошибки](https://tuna.am/docs/troubleshooting.md#common-errors) или напишите в [поддержку](https://tuna.am/docs/support.md) и приложите `Request ID`.

Вставьте текст ошибки: Tunnel limit reached, 502, keyring…

## Вход и ключи

## [📄️Incorrect token](https://tuna.am/docs/troubleshooting/errors/incorrect-token.md)

[Сервер не нашёл такой API-ключ или токен — опечатка, обрезанный ключ или ключ удалённого аккаунта. Вариант текста — Unknown token. Проверьте ключ или создайте новый.](https://tuna.am/docs/troubleshooting/errors/incorrect-token.md)

## [📄️This key cannot start tunnels](https://tuna.am/docs/troubleshooting/errors/key-cannot-start-tunnels.md)

[API-ключ без права «Запуск туннелей» годится только для API-команд. Создайте ключ с правом tunnels:connect или набором «Для туннелей».](https://tuna.am/docs/troubleshooting/errors/key-cannot-start-tunnels.md)

## [📄️login session was replaced by a new one](https://tuna.am/docs/troubleshooting/errors/login-session-was-replaced.md)

[На этом устройстве снова выполнили tuna login, пока работал туннель. Туннель сам переходит на новую сессию и переподключается, делать ничего не нужно.](https://tuna.am/docs/troubleshooting/errors/login-session-was-replaced.md)

## [📄️login was cancelled in the browser](https://tuna.am/docs/troubleshooting/errors/login-was-cancelled.md)

[tuna login не дождался подтверждения входа. Варианты текста — timed out waiting for browser confirmation и login was cancelled. Повторите вход, по SSH — с --no-browser.](https://tuna.am/docs/troubleshooting/errors/login-was-cancelled.md)

## [📄️Not logged in](https://tuna.am/docs/troubleshooting/errors/not-logged-in.md)

[tuna CLI не нашёл ни сессии, ни API-ключа. Варианты текста — «Command requires authentication» и «Background service requires an api key». Войдите через tuna login или передайте ключ.](https://tuna.am/docs/troubleshooting/errors/not-logged-in.md)

## [📄️Session expired or revoked](https://tuna.am/docs/troubleshooting/errors/session-expired-or-revoked.md)

[Сессия CLI истекла или её завершили — в профиле, через tuna logout или из-за повторного использования токена. Войдите заново через tuna login.](https://tuna.am/docs/troubleshooting/errors/session-expired-or-revoked.md)

## [📄️System keyring did not respond](https://tuna.am/docs/troubleshooting/errors/system-keyring-did-not-respond.md)

[Системное хранилище ключей не ответило за 20 секунд — обычно оно заблокировано и ждёт пароль в окне, которого не видно по SSH. Разблокируйте хранилище или войдите с --insecure-storage.](https://tuna.am/docs/troubleshooting/errors/system-keyring-did-not-respond.md)

## [📄️system keyring is unavailable](https://tuna.am/docs/troubleshooting/errors/system-keyring-is-unavailable.md)

[tuna login не может сохранить сессию — в системе нет хранилища ключей, чаще всего на Linux-сервере или в контейнере. Войдите с --insecure-storage или используйте API-ключ.](https://tuna.am/docs/troubleshooting/errors/system-keyring-is-unavailable.md)

## [📄️Token expired](https://tuna.am/docs/troubleshooting/errors/token-expired.md)

[API-ключ, по которому запускается туннель, просрочен или удалён. Вариант текста — Token deleted. Создайте новый ключ, обновите его в CI или переустановите сервис.](https://tuna.am/docs/troubleshooting/errors/token-expired.md)

## [📄️User blocked](https://tuna.am/docs/troubleshooting/errors/user-blocked.md)

[Аккаунт заблокирован администрацией Tuna, CLI, Desktop и кабинет не работают. Напишите в поддержку на info@tuna.am.](https://tuna.am/docs/troubleshooting/errors/user-blocked.md)

## [📄️User not active](https://tuna.am/docs/troubleshooting/errors/user-not-active.md)

[Аккаунт заблокирован или участник команды отключён. Вариант текста — Team member not active, когда участника отключили в подписке команды или подписка закончилась. Обратитесь к администратору команды или в поддержку.](https://tuna.am/docs/troubleshooting/errors/user-not-active.md)

## Тариф и лимиты

## [📄️Domain limit reached](https://tuna.am/docs/troubleshooting/errors/domain-limit-reached.md)

[Вы зарезервировали столько доменов или TCP-портов, сколько разрешает тариф. Вариант текста — Endpoint limit reached. Удалите ненужные адреса или повысьте тариф.](https://tuna.am/docs/troubleshooting/errors/domain-limit-reached.md)

## [📄️Domain unavailable for free plan](https://tuna.am/docs/troubleshooting/errors/domain-unavailable-for-free-plan.md)

[Домен из --domain недоступен на бесплатном тарифе. Без подписки в --domain можно указать только свой бесплатный поддомен целиком, собственные домены — по подписке.](https://tuna.am/docs/troubleshooting/errors/domain-unavailable-for-free-plan.md)

## [📄️402 Payment Required](https://tuna.am/docs/troubleshooting/errors/payment-required-without-message.md)

[Ошибка с кодом PaymentRequired без пояснения. У команды, в которую вошёл клиент, нет активной подписки. Оплатите подписку команды или запустите туннель из личного аккаунта.](https://tuna.am/docs/troubleshooting/errors/payment-required-without-message.md)

## [📄️Subdomains unavailable for free plan](https://tuna.am/docs/troubleshooting/errors/subdomains-unavailable-for-free-plan.md)

[Поддомен из --subdomain недоступен на бесплатном тарифе. Без подписки работает только ваш бесплатный постоянный поддомен, любые другие имена — по подписке.](https://tuna.am/docs/troubleshooting/errors/subdomains-unavailable-for-free-plan.md)

## [📄️TCP unavailable for free plan](https://tuna.am/docs/troubleshooting/errors/tcp-unavailable-for-free-plan.md)

[TCP-туннели, а также Kubernetes и 1С недоступны на бесплатном тарифе. Варианты текста — Kubernetes unavailable for free plan, 1C unavailable for free plan, Endpoint unavailable for free plan. Нужна подписка.](https://tuna.am/docs/troubleshooting/errors/tcp-unavailable-for-free-plan.md)

## [📄️Temporal token is bound to reserved addresses](https://tuna.am/docs/troubleshooting/errors/temporal-token-is-bound-to-reserved-addresses.md)

[Ключ привязан к зарезервированным адресам, а туннель запущен без адреса или с чужим. Варианты текста — Temporal token is not bound to this address, Temporal token bound to addresses cannot be used for apps. Укажите привязанный адрес.](https://tuna.am/docs/troubleshooting/errors/temporal-token-is-bound-to-reserved-addresses.md)

## [📄️Token limit reached: active tunnels](https://tuna.am/docs/troubleshooting/errors/token-limit-reached.md)

[Ключ, которым запущен туннель, ограничен по числу туннелей или протоколу. Варианты текста — Token limit reached — created tunnels, TCP или HTTP tunnels are not allowed for this token. Остановите лишние туннели или выпустите новый ключ.](https://tuna.am/docs/troubleshooting/errors/token-limit-reached.md)

## [📄️Traffic policy is available only on paid plans](https://tuna.am/docs/troubleshooting/errors/traffic-policy-only-on-paid-plans.md)

[Клиент нашёл правила политики трафика (.tuna.yml, --policy-file или --policy-url), а подписки нет. Уберите файл с правилами или оформите подписку.](https://tuna.am/docs/troubleshooting/errors/traffic-policy-only-on-paid-plans.md)

## [📄️Tunnel limit reached](https://tuna.am/docs/troubleshooting/errors/tunnel-limit-reached.md)

[Запущено столько туннелей, сколько разрешает тариф. Остановите лишний туннель, удалите зависший или повысьте тариф.](https://tuna.am/docs/troubleshooting/errors/tunnel-limit-reached.md)

## [📄️HTTP tunnels forbidden by administrator](https://tuna.am/docs/troubleshooting/errors/tunnels-forbidden-by-administrator.md)

[Администратор команды запретил вашей группе участников этот тип туннелей. Варианты текста — TCP tunnels forbidden by administrator, SSH tunnels forbidden by administrator. Обратитесь к администратору команды.](https://tuna.am/docs/troubleshooting/errors/tunnels-forbidden-by-administrator.md)

## Адреса и домены

## [📄️Domain already reserved](https://tuna.am/docs/troubleshooting/errors/domain-already-reserved.md)

[Domain already reserved — поддомен или домен принадлежит другому пользователю. Варианты Domain reserved, Domain already reserved by gateway, Domain reserved by App, Domain already reserved by tunnel — адрес занят шлюзом, приложением или туннелем.](https://tuna.am/docs/troubleshooting/errors/domain-already-reserved.md)

## [📄️Domain not verified](https://tuna.am/docs/troubleshooting/errors/domain-not-verified.md)

[Domain not verified — собственный домен добавлен, но проверка DNS ещё не пройдена. Дождитесь подтверждения или исправьте DNS-запись и перезапустите проверку.](https://tuna.am/docs/troubleshooting/errors/domain-not-verified.md)

## [📄️Endpoint already reserved](https://tuna.am/docs/troubleshooting/errors/endpoint-already-reserved.md)

[Endpoint already reserved — этот алиас TCP-порта уже зарезервирован. Используйте существующий порт или выберите другой алиас.](https://tuna.am/docs/troubleshooting/errors/endpoint-already-reserved.md)

## [📄️Subdomain is already reserved for you](https://tuna.am/docs/troubleshooting/errors/subdomain-is-already-reserved-for-you.md)

[Subdomain is already reserved for you as … или Alias is already reserved for you as … — у вас уже есть такое имя или алиас порта в другой зоне. Используйте существующий адрес или удалите его.](https://tuna.am/docs/troubleshooting/errors/subdomain-is-already-reserved-for-you.md)

## [📄️Tunnel already active](https://tuna.am/docs/troubleshooting/errors/tunnel-already-active.md)

[Tunnel already active — адрес туннеля уже занят другим запущенным туннелем. Остановите его, удалите зависший в кабинете или запустите туннель на другом адресе.](https://tuna.am/docs/troubleshooting/errors/tunnel-already-active.md)

## Подключение и клиент

## [📄️Connection lost, reconnecting](https://tuna.am/docs/troubleshooting/errors/connection-lost-reconnecting.md)

[Connection lost, reconnecting и Attempting reconnect — связь клиента с сервером Tuna оборвалась, и клиент сам переподключается. Если туннель не поднимается долго, проверьте сеть и запустите tuna diagnose.](https://tuna.am/docs/troubleshooting/errors/connection-lost-reconnecting.md)

## [📄️Device is not enrolled in mesh](https://tuna.am/docs/troubleshooting/errors/device-is-not-enrolled-in-mesh.md)

[device is not enrolled in mesh — run 'tuna mesh login' first — это устройство ещё не подключено к mesh-сети команды. Войдите через tuna mesh login.](https://tuna.am/docs/troubleshooting/errors/device-is-not-enrolled-in-mesh.md)

## [📄️Failed to query tunad](https://tuna.am/docs/troubleshooting/errors/failed-to-query-tunad.md)

[failed to query tunad или failed to get status с executing request to daemon — tuna mesh не может связаться со службой tunad. Установите и запустите tunad.](https://tuna.am/docs/troubleshooting/errors/failed-to-query-tunad.md)

## [📄️Inspector port is used](https://tuna.am/docs/troubleshooting/errors/inspector-port-is-used.md)

[inspector port 4100 is used by … или inspector port is not available — порт инспектора, заданный через --inspect-port или TUNA_INSPECT_PORT, занят. Задайте другой порт или уберите переменную. Варианты invalid port и port is out of range.](https://tuna.am/docs/troubleshooting/errors/inspector-port-is-used.md)

## [📄️SSH keepalive timed out](https://tuna.am/docs/troubleshooting/errors/keepalive-timeout.md)

[SSH keepalive timed out after 15s или SSH keepalive failed — нода Tuna перестала отвечать на проверки связи, клиент переподключается сам. Если повторяется часто, проверьте сеть.](https://tuna.am/docs/troubleshooting/errors/keepalive-timeout.md)

## [📄️No listening ports found](https://tuna.am/docs/troubleshooting/errors/no-listening-ports-found.md)

[No listening HTTP ports found (или TCP) — tuna не нашла локальный порт, к которому открыть туннель. Укажите порт явно или запустите приложение через tuna run. Варианты Port must be specified и Several ports are listening.](https://tuna.am/docs/troubleshooting/errors/no-listening-ports-found.md)

## [📄️Node not found](https://tuna.am/docs/troubleshooting/errors/node-not-found.md)

[Node not found (код 503) — в выбранном регионе сейчас нет доступной ноды для туннеля. Клиент повторяет попытку сам; если не помогает, запустите туннель без --location.](https://tuna.am/docs/troubleshooting/errors/node-not-found.md)

## [📄️Server is busy, retry later](https://tuna.am/docs/troubleshooting/errors/server-is-busy.md)

[Server is busy, retry later (код 503) — сервер Tuna сейчас принимает слишком много подключений. Клиент повторяет попытку сам, делать ничего не нужно.](https://tuna.am/docs/troubleshooting/errors/server-is-busy.md)

## [📄️Tunnel terminate request](https://tuna.am/docs/troubleshooting/errors/tunnel-terminate-request.md)

[Received tunnel terminate request from server — сервер закрыл туннель. Причина в поле reason; deleted — туннель удалили, session_limit — истекло время сессии, reconnect — туннель переподключился через новое соединение.](https://tuna.am/docs/troubleshooting/errors/tunnel-terminate-request.md)

## [📄️Unable to connect with this version](https://tuna.am/docs/troubleshooting/errors/unable-to-connect-with-this-version.md)

[Since … you have been unable to connect with tuna — срок поддержки этой версии клиента на бесплатном тарифе закончился. Обновите клиент или оформите подписку. Предупреждение Starting from … you will no longer be able to connect приходит заранее.](https://tuna.am/docs/troubleshooting/errors/unable-to-connect-with-this-version.md)

## [📄️Unsupported client version](https://tuna.am/docs/troubleshooting/errors/unsupported-client-version.md)

[Unsupported client version (код 426) — версия протокола клиента не поддерживается сервером. Обновите tuna CLI или Tuna Desktop до последней версии.](https://tuna.am/docs/troubleshooting/errors/unsupported-client-version.md)

## Что видит посетитель туннеля

## [📄️Доступ ограничен](https://tuna.am/docs/troubleshooting/errors/access-restricted.md)

[Страница «Доступ ограничен» с кодом 401 или 403, «Доступ запрещен» по IP или ответ Unauthorized — доступ к туннелю закрыт паролем, ключом, списком IP-адресов, фильтром User-Agent или политикой трафика.](https://tuna.am/docs/troubleshooting/errors/access-restricted.md)

## [📄️Доступ к приложению запрещён](https://tuna.am/docs/troubleshooting/errors/app-access-denied.md)

[Страница «Доступ запрещён» с кодом 403 у приложения Tuna — политика приложения не пустила вас. Сюда же относятся «Ожидание одобрения», «Запрос отклонён», «Запрос истёк» и ответы Invalid service token, Forbidden.](https://tuna.am/docs/troubleshooting/errors/app-access-denied.md)

## [📄️Требуется подтверждение](https://tuna.am/docs/troubleshooting/errors/browser-warning.md)

[Страница «Вы собираетесь посетить …» с кнопкой «Посетить» перед туннелем на бесплатном тарифе. Предупреждение скрывается заголовком tuna-skip-browser-warning или платной подпиской.](https://tuna.am/docs/troubleshooting/errors/browser-warning.md)

## [📄️request body too large](https://tuna.am/docs/troubleshooting/errors/request-body-too-large.md)

[Ответ request body too large с кодом 413 (или 502 с текстом http request body too large) у приложения Tuna — тело запроса больше лимита из настроек приложения, по умолчанию 32 МиБ.](https://tuna.am/docs/troubleshooting/errors/request-body-too-large.md)

## [📄️Ресурс не отвечает](https://tuna.am/docs/troubleshooting/errors/resource-not-responding.md)

[Страница «Ресурс не отвечает» с кодом 502 — туннель работает, но клиент tuna не может достучаться до локального сервиса. Запустите сервис или проверьте порт. Вариант без страницы — 502 с текстом вида dial tcp …: connection refused.](https://tuna.am/docs/troubleshooting/errors/resource-not-responding.md)

## [📄️Too Many Requests](https://tuna.am/docs/troubleshooting/errors/too-many-requests.md)

[Ответ 429 Too Many Requests или local_rate_limited — запросов к туннелю больше, чем разрешает лимит Tuna (100 в секунду на адрес) или лимит, заданный флагом --rate-limit или политикой трафика.](https://tuna.am/docs/troubleshooting/errors/too-many-requests.md)

## [📄️tunnel is reconnecting](https://tuna.am/docs/troubleshooting/errors/tunnel-is-reconnecting.md)

[Ответ tunnel is reconnecting или node is starting с кодом 503 — туннель переподключается или нода перезапускается. Обычно проходит само за минуту.](https://tuna.am/docs/troubleshooting/errors/tunnel-is-reconnecting.md)

## [📄️Туннель не найден](https://tuna.am/docs/troubleshooting/errors/tunnel-not-found.md)

[Страница «Туннель … не найден» или ответ tunnel not found с кодом 404. Адрес не принадлежит ни одному туннелю — проверьте адрес и запустите туннель.](https://tuna.am/docs/troubleshooting/errors/tunnel-not-found.md)

## [📄️Туннель выключен](https://tuna.am/docs/troubleshooting/errors/tunnel-offline.md)

[Страница «Туннель … выключен» с кодом 502. Адрес зарезервирован, но туннель с ним сейчас не запущен.](https://tuna.am/docs/troubleshooting/errors/tunnel-offline.md)

## [📄️upstream request timeout](https://tuna.am/docs/troubleshooting/errors/upstream-request-timeout.md)

[Ответ upstream request timeout с кодом 504, stream timeout с кодом 408 или net/http timeout awaiting response headers с кодом 502 — сервис за туннелем слишком долго не начинает отвечать.](https://tuna.am/docs/troubleshooting/errors/upstream-request-timeout.md)
