Authorization Required when downloading from objects.githubusercontent.com

Viewed 3652

I started downloading Beekeeper Studio and Prisma Studio. Both have their .exe files hosted on GitHub. Everything was fine, but near 90%, both of them stopped downloading; I tried stopping/starting and a popup appeared asking for Authotization! enter image description here

I'm using IDM:

enter image description here

I'm asking this here because I don't know what is the problem. Github? My Internet Connection? IDM?

6 Answers

The problem is that the tool you're using to download the archives is broken.

When you download a release asset from GitHub, the link redirects from the one you provided, using an HTTP 302, to objects.githubusercontent.com, using a special, time-limited, signed URL. By the time the download failed, the link was no longer valid. When your program retried the connection, it should have retried using the original URL because an HTTP 302 is a temporary redirect, and therefore the user-agent (your browser or download tool) is supposed to access the original URL since the redirect might change (which, in this case, it did).

You are probably better off downloading these programs with a tool like curl or similar, which will do the right thing and will also have the ability to resume downloads if the remote server supports the Range header.

The same thing happened to me but after reading the nice explanation above, it gave me an easier way to get the download back on track instead of redownloading the whole setup again from scratch. Since I was using IDM, all I did was to pause or stop the download, refreshed the download address, and then resumed the download again. it continued and finished perfectly without restarting

For the IDM just copy new download link and paste it. The download will resume.

-Redownload the file -Copy the new address link -paste it into the incomplete downloaded file address -Resume your download -Done

1- close all dialogs and open IDM main window. 2- right click on your unfinished task and choose "Refresh Download Address". It will automatically open the source page (sometimes you should open it yourself if IDM couldn't) and also a small dialog for new link is waiting until you click the download link/button on the target site 3- resume your unfinished download task.

Thanks a lot guys, i'm using IDM, thing is it seems i never really understood what refresh download adress do lol, i click on it sometimes but it opens the website but i close the little small dialog before it could even refresh it, i feel so dumb lmao

Related