Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Windows 11 download returns error 403 #18

Open
kroese opened this issue Apr 13, 2024 · 6 comments
Open

[Bug] Windows 11 download returns error 403 #18

kroese opened this issue Apr 13, 2024 · 6 comments

Comments

@kroese
Copy link

kroese commented Apr 13, 2024

For a while (a month) I havent been able to download Windows 11 via Mido anymore. I can succesfully download all other versions (8, 10, etc) but not 11. It always returns HTTP error 403.

At first I thought I just had been blocked, but I tried from many different IP addresses and they all result in error 403. So I am starting to think the problem is not on my end, but some change in the query parameter format for example.

Can someone please confirm wether Win11 download is still working for them?

@kroese
Copy link
Author

kroese commented Apr 13, 2024

Possibly related: pbatard/Fido#88 (comment)

@kroese
Copy link
Author

kroese commented Apr 21, 2024

I cannot reproduce this anymore.. Seems Microsoft changed something again, but at least it works now.

@kroese kroese closed this as completed Apr 21, 2024
@kroese kroese reopened this Apr 24, 2024
@kroese
Copy link
Author

kroese commented Apr 24, 2024

And the error has returned.. I still think it has something to do with pbatard/Fido#88 (comment)

@DLopezJr
Copy link

Just tried this and I am also seeing the same 403 error code.

@lj3954
Copy link

lj3954 commented May 3, 2024

This is the same issue I found a couple of weeks ago. quickemu-project/quickemu#1102

@DLopezJr
Copy link

DLopezJr commented May 3, 2024

@lj3954 I believe what you're directly referring to is the $iso_download_link variable.

Your commit in quickemu removes the truncating of the output to 512 characters.

So from this:

local iso_download_link="$(echo "$iso_download_link_html" | grep -o "https://software.download.prss.microsoft.com.*IsoX64" | cut -d '"' -f 1 | sed 's/&/\&/g' | tr -cd '[:alnum:][:punct:]' | head -c 512)"

to

local iso_download_link="$(echo "$iso_download_link_html" | grep -o "https://software.download.prss.microsoft.com.*IsoX64" | cut -d '"' -f 1 | sed 's/&/\&/g' | tr -cd '[:alnum:][:punct:]')"

I just confirmed this fixes the Windows 11 issue with Mido (by editing Line 391).

Although I do get a checksum error: (but this is most likely a separate issue?)

[!] 1 of the downloaded Windows media did NOT match the expected checksum! This means either that the media is a newer release than our current checksum (stored in Mido), was corrupted during download, or that is has been (potentially maliciously) modified! Please manually verify the Windows media before use: win11x64.iso

EDIT: Just saw @kroese pull request, which I can confirm works.

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 a pull request may close this issue.

3 participants