midoshouse / ootr-multiworld

An alternative implementation of multiworld for the Ocarina of Time randomizer
https://midos.house/mw
MIT License
9 stars 1 forks source link

401 Forbidden error when downloading BizHawk-Prereqs #18

Open fenhl opened 1 year ago

fenhl commented 1 year ago

I've received reports from people failing to install BizHawk-Prereqs via multiworld-installer due to the browser download URL for the asset returning 401 Forbidden. I've confirmed that this seems to occur now in general when attempting to access this URL, even in a browser. As a possible workaround, requests to the GitHub API could be proxied through Mido's House with an authenticated GitHub API client (which gives better rate limits) and a local cache in case things are requested faster than the rate limit. We should also use https://docs.github.com/en/rest/releases/assets?apiVersion=2022-11-28 instead of the browser download URL, as this endpoint seems to be the intended way to programmatically download a release asset.