Skip to content

Fix install-to-casc command - #2

Closed
clanat01 wants to merge 1 commit into
wowemulation-dev:mainfrom
clanat01:fix-install-command
Closed

Fix install-to-casc command#2
clanat01 wants to merge 1 commit into
wowemulation-dev:mainfrom
clanat01:fix-install-command

Conversation

@clanat01

@clanat01 clanat01 commented Aug 3, 2026

Copy link
Copy Markdown

Pull Request

Fix install-to-casc command when fetching old clients (not available on blizz cdn).

Summary

When installing older clients (like 1.15.2.55140) via cascette install install-to-casc ... command, installing fails with 403 error:

Log
❯ uv run cascette install install-to-casc -r wow_classic_era --platform Windows --region eu d49d4ea6641ecbc6ed675b40146f4f97 a4397d3512438f2db3b8bd3d271b2a41 wow-classic-era
Installation Configuration
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┓
┃ Category     ┃ Selected     ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━┩
│ Platform     │ Windows      │
│ Architecture │ x86_64       │
│ Locale       │ enUS         │
│ Region       │ EU           │
│ Content      │ speech, text │
└──────────────┴──────────────┘

Initializing CASC storage at: wow-classic-era
Created: Data/data/
Created: Data/indices/
Created: Data/config/
Product: wow_classic_era, Region: eu
CDN client initialized with Ribbit integration

Step 1: Fetching and saving configs...
2026-08-03T19:20:00.982401Z [error    ] cdn_all_mirrors_failed         hash=d49d4ea6641ecbc6ed675b40146f4f97 type=config
2026-08-03T19:20:00.982541Z [error    ] Installation failed            error="Client error '403 Forbidden' for url 'http://level3.blizzard.com/tpr/wow/config/d4/9d/d49d4ea6641ecbc6ed675b40146f4f97'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403"
Error: Installation failed: Client error '403 Forbidden' for url 'http://level3.blizzard.com/tpr/wow/config/d4/9d/d49d4ea6641ecbc6ed675b40146f4f97'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403

Now, cdn config in command created and passed to cdn client, in order to use correct fallback urls and don't fail in build_config_data fetching in Step 1.

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing
    functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Performance improvement
  • Test improvements
  • Build system/dependency changes

Testing

Tested installing-to-casc command on build 1.15.2.55140.

Tested On

  • Linux
  • macOS
  • Windows

WoW Versions Tested

  • Classic Era (1.13.x/1.14.x/1.15.x)
  • TBC Classic (2.5.x)
  • Wrath Classic (3.4.x)
  • Cata Classic (4.4.x)
  • MoP Remix (5.5.x)
  • Vanilla (1.x)
  • TBC (2.x)
  • WotLK (3.x)
  • Cataclysm (4.x)
  • MoP (5.x)
  • N/A (not related to WoW file formats)

Quality Checklist

  • Code follows project style guidelines
  • Self-review of code completed
  • Tests pass locally
  • Documentation updated (if applicable)

By submitting this PR, I confirm that:

@clanat01
clanat01 force-pushed the fix-install-command branch from bcc63f0 to 17b15e2 Compare August 3, 2026 20:44
@clanat01 clanat01 closed this Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant