Skip to content

Fix CDN split: use global CDN for fetch, regional CDN for install#110

Open
Smiie-2 wants to merge 1 commit into
0xf4b1:masterfrom
Smiie-2:fix/cdn-fetch-install-split
Open

Fix CDN split: use global CDN for fetch, regional CDN for install#110
Smiie-2 wants to merge 1 commit into
0xf4b1:masterfrom
Smiie-2:fix/cdn-fetch-install-split

Conversation

@Smiie-2
Copy link
Copy Markdown

@Smiie-2 Smiie-2 commented Apr 7, 2026

Problem

Regional CDNs (eu/us/kr.cdn.blizzard.com) only host game data files. Config and metadata files (build config, CDN config, archive indices) return HTTP 404 from regional CDNs.

When --cdn was passed to ngdp fetch, keg attempted to fetch config files from the regional CDN and failed with FileNotFoundError after the 404.

Fix

Split the two ngdp calls so each uses the appropriate CDN:

  • ngdp fetch (config/metadata) — no --cdn override, uses the default global level3.blizzard.com
  • ngdp install (game data) — uses --cdn with the faster regional CDN

Testing

Verified on EU region — fresh install completes without 404 errors on config files, and game data downloads from the regional CDN.

🤖 Generated with Claude Code

Regional CDNs (eu/us/kr.cdn.blizzard.com) only host game data files —
config and metadata files return 404 from regional CDNs and must be
fetched from the global level3.blizzard.com CDN.

Split the ngdp calls so that:
- fetch (config/metadata) uses the default global CDN
- install (game data) uses the faster regional CDN

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant