Skip to content

Exception calling "DownloadString" with "1" argument(s): "The underlying connection was closed: An unexpected error occurred on a send." #6873

@ghost

Description

Hi,
Since yesterday, at least, we are getting this error when running (New-Object System.Net.WebClient).DownloadString("https://dot.net/v1/dotnet-install.ps1") > dotnet-install.ps1 or wget https://dot.net/v1/dotnet-install.ps1 from a docker container under microsoft/dotnet-framework:4.7.2-sdk, this has also been reproduced under a current Windows 10 Desktop install.

Exception calling "DownloadString" with "1" argument(s): "The underlying connection was closed: An unexpected error occurred on a send."
At line:1 char:1
+ (New-Object System.Net.WebClient).DownloadString("https://dot.net/v1/ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : WebException

Accessing from a browser works as expected.
Will this be fixed. What can we do in the meantime?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions