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

后端 未结 5 1978
时光取名叫无心
时光取名叫无心 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:22

    Type this command

    On Linux Execute the following in the command line before executing the Git command:

    export GIT_TRACE_PACKET=1;export GIT_TRACE=1;export GIT_CURL_VERBOSE=1
    

    On Windows Execute the following in the command line before executing the Git command:

    set GIT_TRACE_PACKET=1 set GIT_TRACE=1 set GIT_CURL_VERBOSE=1
    

提交回复
热议问题