Skip to content

wrangler deploy often fails with fetch errors #11368

@leebenson

Description

@leebenson

What versions & operating system are you using?

System:
OS: macOS 26.1
CPU: (14) arm64 Apple M4 Max
Memory: 1.20 GB / 36.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 24.7.0 - /Users/leebenson/.nvm/versions/node/v24.7.0/bin/node
npm: 11.5.1 - /Users/leebenson/.nvm/versions/node/v24.7.0/bin/npm
pnpm: 10.13.1 - /opt/homebrew/bin/pnpm
bun: 1.3.2 - /Users/leebenson/.bun/bin/bun
Watchman: 2025.06.23.00 - /opt/homebrew/bin/watchman
npmPackages:
@cloudflare/vite-plugin: catalog: => 1.13.13
wrangler: catalog: => 4.49.1

Please provide a link to a minimal reproduction

n/a

Describe the Bug

I've hit this frequently over the past 2 weeks.

Attempting to deploy a worker with wrangler deploy often results in errors such as:

TypeError: fetch failed
    at fetch (/Volumes/dev/gh/node_modules/.bun/wrangler@4.49.1+80763641bee7cf20/node_modules/wrangler/wrangler-dist/cli.js:31913:17)
    at async performApiFetch (/Volumes/dev/gh/node_modules/.bun/wrangler@4.49.1+80763641bee7cf20/node_modules/wrangler/wrangler-dist/cli.js:119401:10)
    at async fetchInternal (/Volumes/dev/gh/node_modules/.bun/wrangler@4.49.1+80763641bee7cf20/node_modules/wrangler/wrangler-dist/cli.js:119421:20)
    at async fetchResult (/Volumes/dev/gh/node_modules/.bun/wrangler@4.49.1+80763641bee7cf20/node_modules/wrangler/wrangler-dist/cli.js:119613:47)
    at async doUpload (/Volumes/dev/gh/node_modules/.bun/wrangler@4.49.1+80763641bee7cf20/node_modules/wrangler/wrangler-dist/cli.js:248974:25)
    at async /Volumes/dev/gh/node_modules/.bun/wrangler@4.49.1+80763641bee7cf20/node_modules/wrangler/wrangler-dist/cli.js:126108:30

This number of assets uploaded in this particular project is usually around 100.

It fails on different files each time, typically after successfully uploading around half of them.

I have been able to repro this with other team members in different geographies, so I suspect it's unlikely to be related to my own connection or the specific API intake.

Please provide any relevant error logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    Untriaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions