majkinetor / au

Chocolatey Automatic Package Updater Module
GNU General Public License v2.0
227 stars 71 forks source link

Updating URLs from a Github release page hangs #167

Closed joachimschmidt557 closed 6 years ago

joachimschmidt557 commented 6 years ago

Most of my automatically updated packages query their latest binaries from GitHub releases. When AppVeyor tries to update all packages, all these packages fail to update and hang completely until the 1200s UpdateTimeout is reached. This problem does not occur when the website queried is not GitHub.

image

I think this problem is related to the TLS used on the GitHub website.

My repository: https://github.com/joachimschmidt557/chocolatey-packages-manual-automatic My update status: https://gist.github.com/joachimschmidt557/8a2f24b529db5159a7c189c3b4ccd9a4 My AppVeyor builds: https://ci.appveyor.com/project/joachimschmidt557/chocolatey-packages-manual-automatic

majkinetor commented 6 years ago

What happens if you add -UseBasicParsing to the iwr in au_getlatest.

joachimschmidt557 commented 6 years ago

Yes, this works. Thank you!