Skip to content

Troubleshooting

What each failure on a deployment's page means and what to do about it, and what to check when the site does not answer as you expect.

View as Markdown

A deployment that fails never replaces the one being served: visitors keep getting the site as it was until a newer deployment is published. This page starts from what the dashboard shows.

Read the failure

A failed deployment's page names the failure in its heading, and under it gives a line such as install_failed: install exited with 1: a code, then what happened. The build log follows. Search it with Search logs…, or choose Jump to error for a type error. A build that stopped before it wrote anything has no log, and the page says The build failed before it wrote a log.

Build failures

Fetching the source failed

The commit could not be fetched from GitHub. Either the Arkor GitHub App can no longer read the repository, and the line says GitHub no longer lets the App read the repository, or the commit no longer exists, for example after a force push.

Check which repositories the App may read with Manage next to the account in Team settings › GitHub, then deploy again. The source has 5 minutes to download: a repository that takes longer cannot be built.

This Next.js version is not supported

The line saysWhat to do
next X is outside the versions this platform buildsUse a version Arkor builds; see Next.js support.
no next package found from <directory>Check the Root directory in Settings › Git. With a custom install command, the command has to install next where the root directory finds it.
the build command built next X, not the next Y the root directory resolvesMake the build command build the app in the root directory.

Installing dependencies failed

The log shows what the package manager said. Most often:

  • The lockfile is out of date. The install runs with --frozen-lockfile, --immutable or npm ci, so a lockfile that does not match package.json is refused. Install locally and commit the lockfile.
  • A private package cannot be read. See Build environment for giving the install a token.
  • The install ran out of time. The line says install exited with a signal, and the log ends with … timed out after 600s: the install took longer than 10 minutes.
  • Yarn Plug'n'Play. The line says so: set nodeLinker: node-modules in .yarnrc.yml.

Build failed

next build, or your build command, failed. Type check failed is the same failure where the log names a type error, with its file and line. The output is in the log; run next build on your own machine to reproduce it.

Lines that start with @stayingupwind/adapter: come from the Arkor adapter, which turns the build into what Arkor runs. They say what it refused:

The line saysWhat to do
only Turbopack builds are supportedBuild without --webpack.
the app Function would not run:, then what it foundReplace the code or the package each line names; see What to change before you deploy.
Your server bundle is over Arkor's size limitReduce the uncompressed server code to fit Arkor's 60 MiB limit. Check the build log for the largest modules. Build output may phrase this error differently.
a deployment may carry at most 5000 routing rules, or 200 image patternsUse fewer redirects, rewrites, headers and middleware matchers, or fewer images patterns.

A line that says this build configures its own cache handler is a warning, not a failure: your cacheHandler or cacheHandlers is bundled into your app. See Your own cache handler.

The line under the heading can also say:

  • next build exited with a signal, with … timed out after 900s at the end of the log: the build took longer than 15 minutes.
  • no package.json at <directory>: the Root directory in Settings › Git has no package.json. This build has no log.
  • next build wrote no bundle or the build command wrote no bundle: a custom build command has to run next build for the app in the root directory; see Custom install and build commands.

The build output was not valid

The build finished, but what it wrote is over one of the limits of a deployment, and the line names which: the files of the deployment, their size, or the modules and the size of your app's server code. Make the output smaller, for example with fewer prerendered pages or smaller files in public/, and deploy again.

When the line says the build wrote no bundle the platform can read, the bundle names deployment … or … which the build did not write instead, the output is not one this build wrote whole, such as an output a cache put back. A custom build command has to run next build for the app itself; see Custom install and build commands.

The build timed out

The build stopped answering, and Arkor gave up on it after about 27 minutes. Deploy again. An install or a build that is merely slow fails before this, with the lines above.

The build output did not upload intact, The build was lost

Something went wrong on Arkor's side while the build ran or its output was stored. Redeploy the commit.

Deployment failed

Deployment failed is a failure after the build, or one that stopped it from starting. The line under the heading starts with its code.

validation_failed

Before a deployment is published, Arkor requests each of its prerendered pages once, through the edge, as a visitor would. A page that a redirect or rewrite in next.config takes over is not requested, and passes the check. A page of a dynamic route is requested at a placeholder path, such as /blog/arkor-validation. Your app renders the part it streams after the shell each time, with the project's environment variables. When one of those renders fails, the deployment is not published, and the line names the route, such as validation_failed: /blog/[slug]: recovery marker present.

  • Open the route at the same path with next build and next start on your own machine. The check's requests are not logged, so the errors they hit are not in the project's Logs.
  • A page asked for something it does not know, such as a slug that is not in your CMS, should call notFound() rather than throw. A not-found page passes the check.
  • These requests run your app. A page that writes while it renders, for example to count a view, writes during the check as well.

rate_limited

too many builds; try again in a minute: a push arrived when six builds had already started in the last minute, for the project or for the repositories of its GitHub account. Push again, choose Deploy latest, or Re-run the build's check on GitHub, after a minute.

installation_not_found

the App is no longer installed for this project: the Arkor GitHub App was uninstalled from the repository's account, or the account was disconnected from the team. Install or connect it again, as in Connect a GitHub account.

binding_unavailable

the storage binding … could not be made; remove it to deploy without it, or … is gone: storage the project added could not be created, or is no longer there, and production deployments fail until it is created or removed. Storage listed as Failed under Bindings is tried again every six hours: remove it to deploy without it, or wait for it to be created, then deploy again. See Storage.

checks_failed

GitHub check failed: …: a GitHub check the project waits for before production goes live failed on the deployment's commit, so it was not put live. Fix what the check found and push again, or re-run the check on GitHub and then Redeploy this commit. See Wait for GitHub checks.

checks_timeout

GitHub checks did not pass in time: …: the named checks had not all passed 24 hours after the deployment was built — still running, or never reported on the commit at all. A check is matched by its exact name; check the names under Settings › Git, then deploy again.

checks_unreadable

GitHub would not say how the checks stand: GitHub refused the Arkor GitHub App the commit's checks. Accept the App's Checks permission where GitHub asks for it, then deploy again.

Other codes

step_failed and the rest say that a step on Arkor's side failed after its retries, for example when the upload of your app was refused; the message says which. Redeploy the commit. If the same failure comes back, keep the deployment ID from Build details for a report.

The site

For any request, the x-arkor-edge response header says how it was served, and why your app rendered it when it did; see Response headers.

What you seeWhat to check
503, error;reason=not-deployedThe project has no published deployment yet: wait for its first build to succeed.
404, error;reason=unknown-hostnameThe domain is not attached to a project; see Custom domains.
502, error;reason=app-unreachableYour app failed or ran over a limit, such as its 128 MB of memory. Its error is in the project's Logs.
A page does not show a changeA cached page is served until it is regenerated or invalidated. An invalidation normally reaches active regions within a few seconds; a location can briefly serve its previous copy while checking. Time-based regeneration can take a minute or more; see How soon changes appear. A new environment variable reaches the next deployment only.
A page takes long to start arrivingpassthrough;reason=route-not-proved says the route has no prerendered shell, so your app renders it whole on every request. Published routes, on the project's Overview, lists the routes that have one.
passthrough;reason=middleware-failedYour middleware failed or ran over its limits before the page was sent, and your app ran it instead; see Middleware.
A domain stays at DNS pending or SSL pendingSee Domain status.
Page views or measurements do not appearSee Web Analytics, If nothing appears, and Speed Insights, If nothing appears.
A cron job did not runThe project's Cron jobs page says how its last run went; see Cron jobs.

What to note down for a report

  • For a build or a deployment: its deployment ID, from Build details on its page.
  • For a request to the Public API: the x-arkor-request-id response header.
  • For a request to your site: its URL, when it was made, and its x-arkor-edge response header.

This framework is not supported

Arkor supports Next.js (recommended), SvelteKit 2 or 3 built with Vite, supported Astro, React Router, TanStack Start, Nuxt and SolidStart SSR builds, and Hono or Worker-compatible fetch handlers. Check that the selected root directory contains the app and that installation made its framework available there. A custom install command must install it in that directory. A Hono or fetch app needs an existing Wrangler main or a conventional src/index or root index entrypoint that exports an object with a fetch method. A Node.js or Bun listening server is not a Worker entrypoint. See also SvelteKit support.

SSR framework migration fails

Check the supported stable version range and build mode. React Router must use Framework Mode; router libraries alone do not select an SSR integration. Unsupported RSC, Rsbuild, multi-Worker or service-binding configurations need an explicit migration. A custom command must run the selected app's supported build and leave its Cloudflare Worker output. Unknown provider plugins and output that remains a Node.js server are refused.

For Astro's implicit session storage, add an Arkor-managed KV named SESSION or UPWIND_KV, or leave exactly one managed KV available. If an explicit binding name is configured, use that same name in Arkor. Images must be available on the host and authorized for this deployment. Use runtime-only imageService: { build: 'compile', runtime: 'cloudflare-binding' }; explicit Cloudflare build-time transforms are unsupported. See Images transforms.

SvelteKit adapter migration fails

Official Node, Vercel, Netlify, Bun and Static adapters are selected automatically during the build. The adapter must match the installed SvelteKit major; the official Bun adapter requires SvelteKit 3. An existing bun run --bun build command is supported. Community or custom adapters and custom servers require a separate migration.

  • SvelteKit 3 builds require Bun 1.4 or newer: hosted SvelteKit builds select Bun 1.4.4. Check that the command does not explicitly invoke an older Bun binary by absolute path. For a local build, update Bun or use Node.js 24.
  • Cannot migrate Vercel ISR, images or vercel.json delivery settings: migrate the named provider feature explicitly before retrying. Arkor stops before publication so that caching, routing or image behavior is not silently discarded. Other host-specific output options are listed in the build log and are not passed to the Cloudflare adapter.
  • Static adapter reports dynamic routes: prerender those routes or configure the Static adapter's SPA fallback intentionally. strict: false only allows omitted routes; it does not enable SSR, dynamic endpoints or form actions. Without a fallback, omitted paths return 404.
  • A provider API or dependency fails at runtime: adapter selection does not convert provider SDKs or infrastructure. Check the API against Workers compatibility and configure the necessary Cloudflare resources in Arkor.

If a SvelteKit 2 build succeeds but startup validation reports app-unreachable, check the deployment log. This is a generic Worker failure, not an identification of its underlying exception. Older Cloudflare adapter output can use caches.default, which is unavailable in untrusted Workers for Platforms. A new build with the current builder applies the official-adapter compatibility fix; republishing the previous bundle keeps its previous Worker code. Custom code must use a named cache.

See SvelteKit compatibility and Static behavior.