Skip to content

When there is no app to serve

When a <slug>.tori.cloud address or a custom hostname has an app behind it, a visitor gets the app. When it does not, the visitor gets one of three pages from Tori. Which one it is tells you what is wrong, and on whose side.

Status The page says It means
404 Nothing here. There is no app to serve at this address.
502 Temporary hiccup. Tori could not reach what it serves from. Your app did nothing wrong.
503 Starting up. A service’s first deploy is not taking traffic yet.

Each page carries Tori’s bird and name, the status, one statement and one line of explanation. A page is complete in itself: it loads no script, font, image or stylesheet, from Tori or from anywhere else, so a visitor’s browser is not sent to another hostname by opening it. All three are sent with Cache-Control: no-store, so the answer is not kept after its cause is gone.

This site isn’t deployed on tori.host (yet).

Tori’s name at the top of the page and tori.host in that sentence are links to the Tori homepage. They load nothing until somebody presses one, and they carry no referrer, so the homepage is not told which hostname the visitor came from. The 502 and the 503 have no links.

The address is well formed and nothing is served there. That is the case when:

  • No app has that name. A mistyped address ends here.
  • The app was deleted.
  • A static app has no live deploy yet.
  • The app or its account is disabled (Disabled apps and accounts), or the account’s apps have stopped serving after an unpaid invoice (Plans and billing).

A static app that is live answers with the same page for a path its live deploy has no page for, unless the deploy ships a 404.html of its own; then that page is the answer, still with 404. See Missing pages for which paths count as missing and when a site that routes in the browser is served its index.html instead.

We couldn’t reach the backing services. Please try again in a moment.

Tori could not look the app up, or could not read a static app’s files. The cause is on Tori’s side. Nothing about your app or its deploy has changed, and there is nothing to redeploy. Try again in a moment; if it lasts, write to hello@tori.host.

This app is starting. This page reloads by itself every few seconds.

A service app exists at this address and its first deploy is not ready to take traffic yet. It is a 503 and not a 404 on purpose: an uptime monitor or a search engine reads 503 as “come back later”, and 404 as “this is gone”.

The answer says when to come back, twice. A Retry-After header of a few seconds is for a monitor or a crawler. A Refresh header with the same number is for a browser: it loads the address again after that wait, so the app appears in the tab when it is ready and nobody has to keep pressing reload. The browser asks for the same address it was given, path and query included. The page itself still runs nothing.

Once a service is live, this page is not what its visitors get. A service that is napping is woken by the request (Idle apps take naps). A request that a live service cannot answer is answered by the zone that runs it, not with one of these pages.

Download this page as Markdown.