Awaiting first check, or no health reading

The health ring is gray, or the site page says Fleet could not read the health.

Symptom

The health ring of a new site is gray.

Awaiting first check: Fleet reads this site's health within 5 minutes.

After Fleet has read the site, the page can show one of these.

Fleet could not read the site's health response

Health check refused

The second comes with this instruction.

Use the site's workers.dev address or a custom domain attached to this Worker

The page can also show this note. The ring keeps its status.

Fleet could not run the last check

Cause

Fleet reads two public addresses of every site, /_emdash/api/health and /_emdash/api/setup/status, every 5 minutes. No Fleet code runs on the site.

  • Awaiting first check. The first read runs within 5 minutes of the first deploy or link. A site that is neither deployed nor linked is not read.
  • Could not read the health response. The site answered, but not with JSON in the shape Fleet accepts, for example after an EmDash release changed the answer. The ring shows Needs attention.
  • Health check refused. Fleet sends requests only to the Worker's workers.dev address or to a custom domain that Cloudflare lists as attached to it. It refuses an IP address, a name without a dot, a name that ends in .local, .internal, .localhost or .arpa, emdashfleet.com and its subdomains, and any other workers.dev address.
  • Could not run the last check. The error was on the Fleet side. Fleet keeps the previous status and tries again at the next read.

Fix

  1. Wait 5 minutes after the first deploy or link, then reload the page.
  2. If the site is not deployed, deploy it. See Deploy a site.
  3. For Fleet could not read the site's health response, open /_emdash/api/health on the site in a browser. It must answer with EmDash JSON, not with another product's page. If it does answer with JSON, ask from Support in the dashboard with the site name. See Contact support.
  4. For Health check refused, use the workers.dev address of the Worker, or attach a custom domain to the Worker. See Change a site's domain and, for a linked site, Link an existing site.
  5. For the note, wait for the next read. If it stays, ask from Support in the dashboard with the site name.

Prevent

Add a custom domain only from a zone in the Cloudflare account that hosts the site, and keep the Worker's workers.dev address. See How Fleet checks a site's health and Site statuses and health.

Report a problem with this page