Closed joecmajor closed 5 years ago
2018-12-07T09:18:24.6911142Z ##[section]Starting: Update Assembly: *AssemblyInfo.* 2018-12-07T09:18:24.6915625Z ============================================================================== 2018-12-07T09:18:24.6915806Z Task : Update Assembly Info 2018-12-07T09:18:24.6915927Z Description : Update assembly info of one or multiple projects 2018-12-07T09:18:24.6916524Z Version : 2.0.38 2018-12-07T09:18:24.6916636Z Author : Bool (by Sigma) 2018-12-07T09:18:24.6916781Z Help : Having Problems? Please create an issue on our Github and we will try to help you. 2018-12-07T09:18:24.6916941Z ============================================================================== 2018-12-07T09:18:26.1133468Z ##[error]The underlying connection was closed: An unexpected error occurred on a send. 2018-12-07T09:18:26.1493949Z ##[section]Finishing: Update Assembly: *AssemblyInfo.*
Fixed by adding registry keys.
reg add HKLM\SOFTWARE\Microsoft.NETFramework\v4.0.30319 /v SystemDefaultTlsVersions /t REG_DWORD /d 1 /f /reg:64 reg add HKLM\SOFTWARE\Microsoft.NETFramework\v4.0.30319 /v SystemDefaultTlsVersions /t REG_DWORD /d 1 /f /reg:32
On-Premise instance of TFS18. Build Agent was working fine until security settings on TFS server were changed to allow only TLS 1.2. Now UpdateAssemblyInfo stops on start with error message: The underlying connection was closed: An unexpected error occurred on a send.