Temporal token is bound to reserved addresses, specify one of them
FATA[12:00:00] Failed to get connection settings: Temporal token is bound to reserved addresses, specify one of them
Code: Forbidden
Request ID: c03f8e6a1d9b42e75a0c3d8f6e1b9a24
Variants of the message:
Temporal token is not bound to this address
Temporal token bound to addresses cannot be used for apps
tuna CLI and Tuna Desktop show this error when you start a tunnel. The client doesn't reconnect and exits right away.
Cause
The tunnel was started with a key bound to specific domains or TCP ports. Such a key can start tunnels only on those addresses:
Temporal token is bound to reserved addresses, specify one of themmeans no address was given: an HTTP tunnel has no--subdomainor--domain, a TCP tunnel has no--port;Temporal token is not bound to this addressmeans the address isn't bound to the key or doesn't exist;Temporal token bound to addresses cannot be used for appsmeans a bound key can't start a tunnel for an App.
Keys get bound in three cases: temporal tokens from Terraform with the domains and endpoints parameters, API keys created with address bindings, and background service keys installed with --subdomain, --domain or --port.
What to do
-
Find out which addresses the key is bound to: for a temporal token from Terraform, these are
domainsandendpoints; for a background service key, it's the address from the service command. -
Specify one of them when you start the tunnel:
tuna http 8080 --subdomain=myapp-previewFor a TCP tunnel, pass
--portwith the alias or number of the bound port. -
If you need a different address or a tunnel without one, issue a key without bindings or with the addresses you need.
-
For an App, use a key that isn't bound to addresses.