patrickmoore / Mu

Mu Releases
109 stars 22 forks source link

msvc 14.0 failed to load #1

Closed kutu closed 8 years ago

kutu commented 8 years ago
[2880:1064][2016-03-13T13:39:03]i338: Acquiring package: MSVC140_x64_Redist, payload: MSVC140_x64_Redist, download from: https://download.microsoft.com/download/C/E/5/CE514EAE-78A8-4381-86E8-29108D78DBD4/VC_redist.x64.exe
[2880:1064][2016-03-13T13:39:57]e000: Error 0x80072f19: Failed to send request to URL: https://download.microsoft.com/download/C/E/5/CE514EAE-78A8-4381-86E8-29108D78DBD4/VC_redist.x64.exe, trying to process HTTP status code anyway.
[2880:1064][2016-03-13T13:39:57]e000: Error 0x80072f19: Unknown HTTP status code 0, returned from URL: https://download.microsoft.com/download/C/E/5/CE514EAE-78A8-4381-86E8-29108D78DBD4/VC_redist.x64.exe
[2880:1064][2016-03-13T13:39:57]e000: Error 0x80072f19: Failed attempt to download URL: 'https://download.microsoft.com/download/C/E/5/CE514EAE-78A8-4381-86E8-29108D78DBD4/VC_redist.x64.exe' to: 'C:\Users\kutu\AppData\Local\Temp\{9141D1E5-4C7A-4462-88D4-DC046956B399}\MSVC140_x64_Redist'

but i can download file by url manually

maybe https issue

patrickmoore commented 8 years ago

I researched this issue and I haven't found much due to the vagueness of the error given by the installer. Do you have a firewall or proxy running that could have blocked the download?

kutu commented 8 years ago

i don't as i said, i just copied that link to browser, to see if there is a problem, and file successfully downloaded i run Mu installer 3-4 times, and every time got same error after i installed msvc 14.0 manually, Mu installed successfully

patrickmoore commented 8 years ago

I looked into this even further. Unfortunately, I have been unable to replicate this problem. I delved into the source code for the installer and the error code is coming from WinINet HttpSendRequest(). A code of 0, which you're getting, means that the connection was accepted but no headers were returned. The cause of this stems from one of the following:

Since you installed the vcredist yourself, the installer will not attempt to install it again (until there's a new vc++ redist package Mu will require). I'll be keeping my eye out for this issue though.

Thanks again for reporting this.

kutu commented 8 years ago

i think this might be an issue with https can you create mu installer with http urls for msvc? then i will uninstall msvc and mu, and try this test installer, and we will see what will happen

patrickmoore commented 8 years ago

Hmm...you very well could be right. I put up a new (pre)release at https://github.com/patrickmoore/Mu/releases/download/1.7.0.2/MuInstaller.exe with it using http instead of https. Let me know if that works for you.

kutu commented 8 years ago

it works

patrickmoore commented 8 years ago

:D - Thanks again for your assistance!