wesbos
Explore posts from serversCDCloudflare Developers
•Created by wesbos on 2/10/2025 in #workers-help
`Request entity is too large` when deploying a worker
I'm working on deploying a worker that is fairly large. I'm using open-next to bundle a next.js site.
The worker bundles fine, but I'm not getting a an error message when deploying it
✘ [ERROR] A request to the Cloudflare API (/accounts/xxx/workers/scripts/wesbos/versions) failed.
Request entity is too large [code: 7011]
All the assets seem to upload fine, it's when wrangler goes to upload the worker itself.
The size of the worker is well under the 10mb limit of my plan:
THe largest file is
handler.mjs
which is 37mb (not gzipped). I don't see any documentation on there being a per-file limit.
How do I figure out what is causing this error? I even turned on a proxy to debug the API21 replies
concurrent deno tasks
I've got two servers I need to run as part of my app when in development - a vite server and an express server. Is it possible to run two tasks concurrently?
I've used a package "concurrently" in the past, many others use npm-run-all. Currently using turborepo to run everything, but i've not yet dove into deno + monorepo support just yet so Im not worried about that
6 replies