Hi Vercel Community,
I'm investigating a deployment failure affecting a Django application hosted on Vercel's Hobby plan.
The application is currently working in Production. I'm trying to create a new Production deployment without automatically reassigning the custom domain, using --prod --skip-domain.
Environment:
- OS: Windows
- Node.js: 24.14.0
- Vercel CLI: 59.1.4
- Framework: Django / Python
- Deployment source: local Git working tree
- Git status: clean
- Deployment target: Production, without domain promotion
Problem:
The deployment command fails with:
deploy_failed: fetch failedExit code: 1The CLI starts transferring files but fails without returning a Deployment ID.
No new deployment was found in subsequent deployment-history checks, and the existing Production deployment remains READY with its custom domain unchanged.
Diagnostics completed:
Network and TLS
- DNS resolution works.
- Public HTTPS GET requests to Vercel succeed.
- Node.js default CA validation produces
UNABLE_TO_VERIFY_LEAF_SIGNATURE. - Using
--use-system-caresolves the certificate validation error. - The failed deployment already used
--use-system-ca. - No explicit proxy configuration was detected.
CLI transport
Inspection of the installed CLI indicates that it:
- Computes local file hashes.
- Checks which files need uploading.
- Uploads files through
POST /v2/files. - Subsequently requests deployment creation.
- Uses streamed uploads with
Content-Length,duplex="half"and concurrent transfers.
The original error output does not expose the underlying error.cause, so I cannot determine which request failed.
Local tests
I ran seven localhost-only HTTP transport tests covering:
- GET and POST requests.
- Streaming.
- Connection reuse.
- Concurrent transfers.
- Simulated disconnections and timeouts.
All seven tests passed. However, these tests do not verify actual uploads to Vercel or HTTPS streaming through my network.
A simulated local socket disconnection reproduced TypeError: fetch failed with an underlying UND_ERR_SOCKET cause.
This does not establish that the original failure had the same cause.
Questions:
- Is there a supported way to capture the underlying
error.causeor request correlation ID when Vercel CLI reportsfetch failed? - Has anyone experienced similar failures with Windows, Node.js 24 and Vercel CLI 59.1.4?
- Are there recommended diagnostics for streamed file uploads that do not require another Production deployment attempt?
- Is there an officially supported way to deploy an exact GitHub commit to Production without automatically assigning custom domains, equivalent to
--prod --skip-domain?
I'm intentionally avoiding blind retries, TLS verification bypasses or changes to Production until I better understand the cause.
Any suggestions would be appreciated. Thsnk you!