vapoursynth-portable-FATPACK icon indicating copy to clipboard operation
vapoursynth-portable-FATPACK copied to clipboard

Some Build Script Downloads Don't Work

Open AlphaAtlas opened this issue 6 years ago • 5 comments
trafficstars

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.

AlphaAtlas avatar Oct 08 '19 16:10 AlphaAtlas

Can you post the exact error message? I never had problems with it.

theChaosCoder avatar Oct 08 '19 16:10 theChaosCoder

Capture

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.

AlphaAtlas avatar Oct 09 '19 02:10 AlphaAtlas

What is your powershell version? Check with $PSVersionTable.PSVersion Yes, it seems this error is related to https / ssl somehow.

theChaosCoder avatar Oct 09 '19 07:10 theChaosCoder

5.1.18362.145

AlphaAtlas avatar Oct 09 '19 12:10 AlphaAtlas

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.

theChaosCoder avatar Oct 09 '19 13:10 theChaosCoder