AntoneF
Posts: 6
Joined: Tue Dec 11, 2018 2:08 am

WinHttp error 3

We have a user hitting the following error when attempting to install with our web installer.

MSI (s) (AC:68) [01:11:20:643]: Using WinHttp to perform URL download
MSI (s) (AC:68) [01:11:20:643]: File path is a URL. Downloading file. . .
MSI (s) (AC:68) [01:11:20:646]: MSI WinHttp: Proxy Settings Proxy: (none) | Bypass: (none) | AccessType: 0
MSI (s) (AC:68) [01:11:20:667]: StatusCode is:[200]
MSI (s) (AC:68) [01:11:20:668]: Download of URL resource https://<URL>/<installer>.msi failed with last error 3

Does anyone who what "error 3" in the context of the WinHttp libraries is referring to? Any help would be greatly appreciated.
Daniel
Posts: 8239
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: WinHttp error 3

Hi and welcome to our forums,

The return code 3 means a fatal error occurred.

Is there something that may block the download process? Are you able to replicate the behavior on your end? For instance, you can try to manually launch the related download URL into your web browser and make sure the download process is successful.

Is there any pattern when this error occurs?

Best regards,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
AntoneF
Posts: 6
Joined: Tue Dec 11, 2018 2:08 am

Re: WinHttp error 3

Hi Dan,
Sadly we still haven't been able to replicate the behavior on our end. Whatever is causing it is rare though, as we're only seeing in about 0.003% of our user base. The users that are hitting it have confirmed that they can enter the URL in a browser and download the offending msi without issue. Our current plan is to provide these affected users with a single EXE installer to work around the issue, but we would still like to understand what the root cause of it is.

Thanks,
Antone
Daniel
Posts: 8239
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: WinHttp error 3

Hello Antone,

I have further debated this with our dev team and it seems we use an Internet Explorer system API to download the MSI. Could you please ask your customers to check if the MSI download URL works just fine in the OS native browser which is Internet Explorer? Just to paste the URL in the IE browser and make sure the download completes successfully.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”