The underlying connection was closed: An unexpected error occurred on a send.— NuGet

后端 未结 5 1974
时光取名叫无心
时光取名叫无心 2021-02-19 19:40

Whilst trying to restore nuget packages I am getting the following:-

Error 1 The underlying connection was closed: An unexpected error occurred on a send.<

5条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-19 20:21

    I'm seeing this issue behind a corporate proxy using Visual Studio 2015 which utilizes the new v3 API (https://api.nuget.org/v3/index.json). In my instance, it has to do with an SSL intercepting corporate proxy (BlueCoat) that doesn't know how to handle a newer cipher protocol (eg: TLS 1.2 plus some newer key exchange cipher) being negotiated by that API endpoint I believe.

提交回复
热议问题