Jorge
Jorge
CDCloudflare Developers
Created by Jorge on 6/5/2024 in #pages-help
Build is successful but deploy fails to upload
The build process happens successfully but deploys are constantly failing on the last step - uploading assets. Log sample:
...
21:02:01.802 Uploading... (6555/13968)
21:02:08.818 Uploading... (6938/13968)
21:03:47.697 Uploading... (7293/13968)
21:03:50.771 /opt/pages/build_tool/js/node_modules/wrangler/wrangler-dist/cli.js:29573
21:03:50.771 throw a;
21:03:50.771 ^
21:03:50.771
21:03:50.772 FatalError: Failed to upload files. Please try again. Error: {"text":"Received a malformed response from the API","notes":[{"text":"<!DOCTYPE html>\n<!--[if lt IE 7]> <html class=\"no-js ie6 oldie\" lang=\"en-US\"> <![endif]-->\n<!--[if I... (length = 7177)"},{"text":"POST /pages/assets/upload -> 524 "}],"kind":"error","name":"APIError"})
21:03:50.772 at /opt/pages/build_tool/js/node_modules/wrangler/wrangler-dist/cli.js:149152:13
21:03:50.772 at processTicksAndRejections (node:internal/process/task_queues:96:5)
21:03:50.772 at async run (/opt/pages/build_tool/js/node_modules/wrangler/wrangler-dist/cli.js:148676:26) {
21:03:50.772 code: 1
21:03:50.772 }
21:03:50.830 Failed: upload process exited with code: 7
21:03:51.992 Failed: error uploading static assets. Check the logs above for more information. If this continues for an unknown reason, contact support: https://cfl.re/3WgEyrH
21:03:51.992 Error: Failed to publish assets. For support, join our Discord (https://discord.gg/cloudflaredev) or create a ticket and reference the deployment ID: a6c6d283-9ce8-4425-bf49-740216c86e02
...
21:02:01.802 Uploading... (6555/13968)
21:02:08.818 Uploading... (6938/13968)
21:03:47.697 Uploading... (7293/13968)
21:03:50.771 /opt/pages/build_tool/js/node_modules/wrangler/wrangler-dist/cli.js:29573
21:03:50.771 throw a;
21:03:50.771 ^
21:03:50.771
21:03:50.772 FatalError: Failed to upload files. Please try again. Error: {"text":"Received a malformed response from the API","notes":[{"text":"<!DOCTYPE html>\n<!--[if lt IE 7]> <html class=\"no-js ie6 oldie\" lang=\"en-US\"> <![endif]-->\n<!--[if I... (length = 7177)"},{"text":"POST /pages/assets/upload -> 524 "}],"kind":"error","name":"APIError"})
21:03:50.772 at /opt/pages/build_tool/js/node_modules/wrangler/wrangler-dist/cli.js:149152:13
21:03:50.772 at processTicksAndRejections (node:internal/process/task_queues:96:5)
21:03:50.772 at async run (/opt/pages/build_tool/js/node_modules/wrangler/wrangler-dist/cli.js:148676:26) {
21:03:50.772 code: 1
21:03:50.772 }
21:03:50.830 Failed: upload process exited with code: 7
21:03:51.992 Failed: error uploading static assets. Check the logs above for more information. If this continues for an unknown reason, contact support: https://cfl.re/3WgEyrH
21:03:51.992 Error: Failed to publish assets. For support, join our Discord (https://discord.gg/cloudflaredev) or create a ticket and reference the deployment ID: a6c6d283-9ce8-4425-bf49-740216c86e02
This is now happening very frequently and randomly. Any ideas?
24 replies
CDCloudflare Developers
Created by Jorge on 10/25/2023 in #pages-help
Wrangler v3 Local Dev Broken
No description
1 replies
CDCloudflare Developers
Created by Jorge on 10/24/2023 in #pages-help
Deployments keep failing ❌
Deployments have been failing with no changes on our end.
[error] There was an error fetching the page: connect ETIMEDOUT 18.172.170.120:443
18:35:59.870 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
18:35:59.870 [error]
[error] There was an error fetching the page: connect ETIMEDOUT 18.172.170.120:443
18:35:59.870 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
18:35:59.870 [error]
We have the same build running on Netlify and locally, both running successfully. It just fails on Cloudflare Pages. It looks like it's failing to fetch files (something is blocking the IP)? Our stack is Nuxt 2 with Node 16 generating fully static pages. Url: https://website-poc.pages.dev/ (this has the last successful build, 5 days ago) We can't deploy any updates to the website at the moment, so it's a critical issue. Anyone else also experiencing something similar?
56 replies
CDCloudflare Developers
Created by Jorge on 2/20/2023 in #pages-help
Pass Payload to Deploy Hooks?
Can I pass a payload to Deploy Hooks? I need to send some data to it so my application can use it to deploy in different ways. It would be something similar to this: https://docs.netlify.com/configure-builds/build-hooks/#payload
1 replies