I’m experiencing an issue where large static JavaScript files fail to download when accessed through my custom domain, but work perfectly fine through the .vercel.app domain.
Project details:
-
React & Vite
-
Custom domain: adminas.org
-
Vercel nameservers: ns1.vercel-dns.com, ns2.vercel-dns.com
-
Domain IPs: 216.198.79.65, 64.29.17.65
Issue:
When requesting the main JS bundle through the custom domain, the HTTP headers return successfully (status 200, correct content-length), but the actual file content either:
-
Times out with 0 bytes received
-
Times out after receiving only ~10KB of ~1.7MB
Affected URL (custom domain - FAILS):
https://adminas.org/assets/index-BZZFp_s8.js
-
x-vercel-id: fra1::btchs-1767769066740-7d315e69c4f6
-
content-length: 1751057 (1.7MB)
-
Result: Timeout, 0 bytes received
Working URL (.vercel.app - WORKS):
https://adminas-frontend-git-beta-lumpovs.vercel.app/assets/index-BZZFp_s8.js
-
x-vercel-id: fra1::rw6vp-1767769075594-be105d0dabeb
-
content-length: 1751057 (1.7MB)
-
Result: Downloads successfully in ~1.2 seconds
Additional observations:
-
HTML page (https://adminas.org/) loads correctly (965 bytes)
-
CSS file (https://adminas.org/assets/index-B3tInvv7.css, 2.8KB) loads correctly
-
Only large files (JS ~1.7MB) fail to download
-
Browser shows ERR_HTTP2_PING_FAILED error
-
Issue persists regardless of DNS provider (tested with Cloudflare DNS and Vercel nameservers)
-
Same edge region (fra1) is used for both domains
Expected behavior:
Static files should download identically whether accessed via custom domain or .vercel.app domain.
Steps to reproduce:
-
Open browser DevTools → Network tab
-
Navigate to https://adminas.org/
-
Observe that HTML loads, but JS file stays in “pending” state indefinitely