Skip to main content

Domain limit reached

FATA[12:00:00] Failed to get connection settings: Domain limit reached
Code: Forbidden
Request ID: b6e0d2a97f3c15e48d9a0c6b2f7e1d54

The variant for TCP ports:

FATA[12:00:00] Failed to get connection settings: Endpoint limit reached
Code: Forbidden
Request ID: 1d8c4f6e2a0b93d75e1f8a4c6b0d2e97

tuna CLI and Tuna Desktop show this error when you start a tunnel with a new name in --subdomain or --port. The client doesn't reconnect and exits right away. The same error, without the Failed to get connection settings prefix, can appear when you reserve an address with tuna domain reserve or tuna endpoint reserve, or in the dashboard.

Cause​

The first time you start a tunnel with a new name, the address gets reserved: --subdomain=billing reserves a subdomain, --port=myport reserves a TCP port by alias. Your plan limits the number of reserved addresses, including additional licenses:

  • Domain limit reached means you've hit the subdomain limit. Custom domains have a separate limit, and hitting it produces the same error;
  • Endpoint limit reached means you've hit the TCP port limit.

Only addresses you reserved yourself in this team count. The free permanent subdomain doesn't count toward the limit.

What to do​

  1. If you're starting a tunnel on an address you've already reserved, check the name in --subdomain or --port: a typo reserves a new address.
  2. Open domains or TCP ports in the dashboard and delete the ones you don't need. From the terminal, use tuna domain delete and tuna endpoint delete.
  3. If you don't need a permanent address, drop --subdomain or --port: the tunnel will get a dynamic address.
  4. If you need more addresses, upgrade your plan or buy an additional license.