tnl.dev :: TNL_TARGET_UNAVAILABLE

target unavailable

tnl could not reach the target at startup or while serving a visitor request.

target · HTTP 502

this case

the target did not respond before the connection timed out.

check whether the target is running and accepting requests

what happened

  • the target stopped or has not finished starting
  • the target hostname or port cannot be reached from the machine running tnl
  • the HTTPS target's certificate is not trusted or does not match its hostname
  • the target closed the connection or returned an invalid HTTP response

if you are visiting

  • ask the public URL owner to check the target, then retry

if you run tnl

  • check the target passed to tnl publish or registered by the app integration
  • verify that the target accepts connections from the machine running tnl and that its HTTPS certificate is trusted
  • if the command failed at startup, rerun it; if the tunnel is still running, retry the visit after restarting the target

specific cases

help: https://tnl.dev/e/target?case=timeout