Some Build Script Downloads Don't Work
Powershell consistently gives me some kind of eof error when it tries to download VSEdit, Wobbly, and D2VWitch.
Why it does, I don't really remember... but I ran into the exact same issue last year, on a different machine with different internet, 500 miles away, using the BITS downloader instead, meaning it's probably not platform dependant. This alternative download command (that I found somewhere on StackOverflow) works for me:
https://github.com/AlphaAtlas/vapoursynth-portable-FATPACK/commit/aee1b295f35df649ebb257f210f695e32c1785c6
Unfortunately, that command doesn't show any progress.
Can you post the exact error message? I never had problems with it.
Invoke-WebRequest : Received an unexpected EOF or 0 bytes from the transport stream.
At C:\Code\Python\Fatpack\vapoursynth-portable-FATPACK\build.ps1:38 char:9
+ Invoke-WebRequest -Uri $url -OutFile $file
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Invoke-WebRequest], IOException
+ FullyQualifiedErrorId : System.IO.IOException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
It's always those same 3 files. StackOverflow responses claim its some kind of TLS error?
It's not a big deal as long as it works (and is easy enough to work around), just thought I'd give you a heads up. Last year, some file I was trying to fetch with a script (that was previously working) started getting that EoF error (due to some change on the host's end, I assume), and I spent more time trying to figure it out than I would've liked.
What is your powershell version? Check with $PSVersionTable.PSVersion Yes, it seems this error is related to https / ssl somehow.
5.1.18362.145
hmm ok same as mine... I will leave it as it is for now as I don't think this is a common error. I saw many scripts, also in tools like chocolatey, what uses it.