🐛 BUG: pages publish very slow / crashing
See original GitHub issueWhat version of Wrangler
are you using?
2.0.8
What operating system are you using?
Mac
Describe the Bug
I’m trying to upload my site, it’s about 300MB, it uploads to KV fine with wrangler 1
When I upload to pages with wrangler 2 it goes reaaallly slow and then crashes
▲ [WARNING] Warning: Your working directory is a git repo and has uncommitted changes
To silence this warning, pass in --commit-dirty=true
🌍 Uploading... (809/8009)
/usr/local/lib/node_modules/wrangler/wrangler-dist/cli.js:16264
throw ex;
^
FatalError: Failed to upload files. Please try again.
at /usr/local/lib/node_modules/wrangler/wrangler-dist/cli.js:123689:31
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async run2 (/usr/local/lib/node_modules/wrangler/wrangler-dist/cli.js:122127:26) {
code: 1
}
I posted it on discord https://discord.com/channels/595317990191398933/799437470004412476/983442112534175815
If I try to upload it via web it errors telling me not to upload more than 1000 files. If I zip it it says the zip is too big. I don’t see a way to upload a zip file with the CLI. No idea how to get my files into Pages.
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:20 (14 by maintainers)
Top Results From Across the Web
iWeb Crashes on Publish - Apple Community
I seem to be crashing less, but I get lots of error messages such as "Publish Error" and "the .Mac servers are busy."...
Read more >Publish to ROBLOX As... is very slow and often closes itself
Just opening the "Publish to Studio As..." dialog takes an entire minute. (Mind, this is for a nearly empty place) Here is the...
Read more >Indesign incredibly slow or crashes with more than one ...
I'm almost always working with more than one document open (such as in InDesign Book files with multiple chapters). As noted in the...
Read more >publish very slow and crashes the website - Our Umbraco
First issue is that IContent.Publish action is very slow. I have a number of functionality which does publish content to umbraco eg. in...
Read more >Crash troubleshooting - Grindr Help Center
Is the app crashing? Freezing? Profiles not loading in the Grid? Check out our troubleshooting steps below to get things running smoothly...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey there! Sorry to hear this. What you’re describing with the dashboard is expected (we’ll be bumping that up soon).
What you’re seeing with wrangler however is a bug. Our hypothesis is that your auth token is expiring during the upload because of low upload bandwidth? I’ve opened a PR with a fix for this.
Can you try this version of wrangler and let us know if it helps?
npx https://prerelease-registry.developers.workers.dev/runs/2455435541/npm-package-wrangler-1199 dev path/to/script.js
Cheers.
Ah, okay, thanks for that additional info! Absolutely feel free to put up whatever you have right now and we can help get it over the line 😊