kidonng / sushi

🍣 A tasty and inclusive Scoop bucket
The Unlicense
75 stars 22 forks source link

microsoft-edge@87.0.664.52: hash check failed #13

Closed RavenMacDaddy closed 3 years ago

RavenMacDaddy commented 3 years ago

Checking hash of dl.7z ... ERROR Hash check failed! App: sushi/microsoft-edge URL: https://edge-dl.kidonng.workers.dev/https://api.shuax.com/v2/download/edge/stable/x64#/dl.7z First bytes: 3C 68 74 6D 6C 3E 0D 0A Expected: bb880fb34a9364e7af64d6fe4f79dbde240eefde8ab2b9855239461699ee4d3e Actual: c9c89d274726b86306e1c97d80360f820bce86042c34c9bb2487aac4ada6d606

Also, I never saw the download actually start - it's just halted right at the beginning. Something's off.

kidonng commented 3 years ago

The hash in the manifest is correct:

image

You may have a connection issue with Cloudflare. We use api.shuax.com to get the temporary installer URL, and since PowerShell has an issue with redirecting from HTTPS to HTTP, we have to wrap it with a Cloudflare worker.

That said, you can try to directly visit https://api.shuax.com/v2/download/edge/stable/x64 and put the installer in Scoop's cache directory and install.

If you have any other problems, please let me know.

RavenMacDaddy commented 3 years ago

Hi kidonng

Thanks for the answer.

I got the following when Scoop tried to update today before it finally found a connection:

Download: 12/02 07:20:30 [ERROR] CUID#10 - Download aborted. URI=https://edge-dl.kidonng.workers.dev/https://api.shuax.cDownload: Exception: [AbstractCommand.cc:351] errorCode=8 URI=https://edge-dl.kidonng.workers.dev/https://api.shuax.com/Download: -> [HttpResponse.cc:86] errorCode=8 Invalid range header. Request: 46137344-69206015/91499424, Response: 0-9Download: 12/02 07:20:31 [ERROR] CUID#12 - Download aborted. URI=https://edge-dl.kidonng.workers.dev/https://api.shuax.cDownload: Exception: [AbstractCommand.cc:351] errorCode=8 URI=https://edge-dl.kidonng.workers.dev/https://api.shuax.com/Download: -> [HttpResponse.cc:86] errorCode=8 Invalid range header. Request: 69206016-91499423/91499424, Response: 0-9Download: 12/02 07:20:33 [ERROR] CUID#13 - Download aborted. URI=https://edge-dl.kidonng.workers.dev/https://api.shuax.cDownload: Exception: [AbstractCommand.cc:351] errorCode=8 URI=https://edge-dl.kidonng.workers.dev/https://api.shuax.com/Download: -> [HttpResponse.cc:86] errorCode=8 Invalid range header. Request: 80740352-91499423/91499424, Response: 0-9

Do you have any idea what I should troubleshoot?

I did replace the built in Edge client with the one from Scoop since I did have issues updating it, but I haven't been able to find out what's causing it.

I've tried disabling certain options in W10Privacy, but I can't find anything in the software that describes any blocking of Edge updates or what you're describing here; Cloudflare connections.

kidonng commented 3 years ago

Sorry, I don't have any idea what's happening either. Could you clear Scoop's cache and try again?

You may also try installing aria2 and use it for downloading and see if the problem still exists.