Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception calling DownloadFile: "The underlying connection was closed: An unexpected error occurred on a send." #108

Open
vinelock opened this issue Feb 9, 2025 · 0 comments

Comments

@vinelock
Copy link

vinelock commented Feb 9, 2025

Description

Running irm get.scoop.sh | iex to try and install Scoop results in a network error.

Installation Logs

irm get.scoop.sh | iex

VERBOSE: GET with 0-byte payload
VERBOSE: received 26066-byte response of content type text/plain; charset=utf-8
VERBOSE: -------- PSBoundParameters --------
VERBOSE: -------- Environment Variables --------
VERBOSE: $env:USERPROFILE: C:\Users\James
VERBOSE: $env:ProgramData: C:\ProgramData
VERBOSE: $env:SCOOP:
VERBOSE: $env:SCOOP_CACHE:
VERBOSE: $env:SCOOP_GLOBAL:
VERBOSE: -------- Selected Variables --------
VERBOSE: SCOOP_DIR: C:\Users\James\scoop
VERBOSE: SCOOP_CACHE_DIR: C:\Users\James\scoop\cache
VERBOSE: SCOOP_GLOBAL_DIR: C:\ProgramData\scoop
VERBOSE: SCOOP_CONFIG_HOME: C:\Users\James\.config
Initializing...
VERBOSE: SecurityProtocol has been updated to support TLS 1.2
Downloading...
VERBOSE: Downloading https://github.com/ScoopInstaller/Scoop/archive/master.zip to
C:\Users\James\scoop\apps\scoop\current\scoop.zip
iex : Exception calling "DownloadFile" with "2" argument(s): "The underlying connection was closed: An unexpected
error occurred on a send."
At line:1 char:20
+ irm get.scoop.sh | iex
+                    ~~~
    + CategoryInfo          : NotSpecified: (:) [Invoke-Expression], MethodInvocationException
    + FullyQualifiedErrorId : WebException,Microsoft.PowerShell.Commands.InvokeExpressionCommand
    ```
PowerShell Context
PSVersion                      5.1.26100.2161
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.26100.2161
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant