ninxsoft / Mist

A Mac utility that automatically downloads macOS Firmwares / Installers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

macOS Big Sur 11.0.1 - 11.3.1 ipsw files fail to download "Invalid download resume data"

F1248 opened this issue · comments

commented

Thank you so much @ninxsoft for this unique, simple and (almost) perfect tool!

🪲 Description

All macOS Big Sur ipsw files from version 11.0.1 to 11.3.1 fail to download.
However, all versions from 11.4 onwards work.
"An error has occurred! Invalid download resume data"

📋 Steps to Reproduce

  1. Open Mist
  2. Wait for refreshing
  3. Try to download any ipws file up to and including macOS Big Sur 11.3.1.
  4. "An error has occurred! Invalid download resume data“

💻 Environment

  • Mist version: 0.9
  • macOS Version: 13.4.1 22F82
  • Hardware:
    • Model: MacBook Air M1
    • Model Identifier: MacBookAir10,1
    • Chip: Apple M1

📷 Screenshots

Bildschirmfoto 2023-07-02 um 17 48 35

@F1248 the error message is a little misleading - essentially the issue is an invalid download URL.

For example, the IPSW.me API (used to retrieve Firmware metadata) reports back the following URL for macOS Big Sur 11.0.1 (20B29):

This is a HTTP URL, which is inaccessible (by design) due to App Transport Security.

The easy fix is to convert these HTTP URLs to valid HTTPS ones, for example:

Replacing http://updates-http.cdn-apple.com with https://updates.cdn-apple.com dynamically should be enough to fix this issue.

Will keep you posted 👍

Easy fix: #73