Skip to content
Nilay Kabariya

Part 04 of the notebook

DEPLOY

Deploy

Deploy and hosting errors, reproduced on a real deploy: what the platform really did. Mostly Cloudflare Workers: the 1101 and 1102 error pages, the startup CPU limit, a script with no handlers, each taken from a real deploy with the platform's own logs. Also here: the Deno Deploy shutdown, a Docker socket permission on Ubuntu, and GitHub's pull_request_target change.

press / and paste the error code or message you got.

Entries

  1. No.097

    pull_request_target blocked by default: Nov 9 brownout, Dec 2

    GitHub blocks pull_request_target in public repos from Dec 2, with outages Nov 9 and 16. What a real repo showed, how to check yours, and the fix.

    > pull_request_target workflow runs end in startup_failure with no jobs

    DEPLOY6 min
  2. No.081

    Docker permission denied on docker.sock after usermod (Ubuntu)

    Added yourself to the docker group and still get permission denied? Your shell keeps its old groups until a new login. Reproduced on Ubuntu 24.04.

    > permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.48/containers/json": dial unix /var/run/docker.sock: connect: permission denied

    DEPLOY3 min
  3. No.066

    Deno Deploy shutdown: move to Workers or Node, tested

    Deno Deploy closes in about six months. I moved a typical Deno Deploy app to Cloudflare Workers and to Node 26: every error, and what fixed each.

    > Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only URLs with a scheme in: file, data, and node are supported by the default ESM loader. Received protocol 'jsr:'

    DEPLOY3 min
  4. No.033

    Fix: Script startup exceeded CPU time limit (Workers 10021)

    Cloudflare rejects your Worker deploy with Script startup exceeded CPU time limit. How to see which code is slow, and the fix that removes it, measured.

    > X [ERROR] Your Worker failed validation because it exceeded startup limits.

    DEPLOY4 min
  5. No.032

    Fix: The uploaded script has no registered event handlers

    Cloudflare rejects your Worker with no registered event handlers (code 10068), or accepts it and serves a 404. Seven handler shapes tested, Hono included.

    > X [ERROR] A request to the Cloudflare API (/accounts/.../workers/scripts/nk-repro-cpu) failed.

    DEPLOY3 min
  6. No.025

    Fix: Error 1101 Worker threw exception (Cloudflare Workers)

    Cloudflare's 1101 page hides the real error. See it with one command, plus six causes reproduced on a deployed Worker, each with its exact log message.

    > Error 1101

    DEPLOY4 min
  7. No.024

    Cloudflare 1102: Worker exceeded resource limits (CPU time)

    Cloudflare Workers Error 1102. Why sign-ups with better-auth trip it, why it only fails sometimes, and what fixes it, measured on a deployed Worker.

    > Error 1102

    DEPLOY5 min

Post card · Every Sunday

What broke this week.

One email on Sundays: the Node, TypeScript, Python and AI SDK releases that broke builds that week, each one reproduced, with a link to the fix that worked. Never shared, and you can leave any time.

— Nilay

or follow by RSSor on X

By subscribing you agree to the privacy note. One click to leave.

tip: paste the exact error text