Aug 14 2019 02:47 AM
Hi all,
Lately the updater service is throwing event ID 3277:
"UpdateAgentAsync - DownloadMSIException Microsoft.RDInfra.RDAgent.Service.DownloadMSIException: RDAgent failed to download MSI: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. : 0x80131620 ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result)
at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.ConnectStream.WriteHeaders(Boolean async)
--- End of inner exception stack trace ---
at Microsoft.RDInfra.RDAgent.Service.DownloaderHelper.DownloadMSI(String downloadLocation, String msiFileName, String errorMessagePreamble, IAgentUpdateState agentUpdateState, ILogger logger) in C:\agent\_work\35\s\src\RDAgent\src\Service\AgentUpdateClasses\AgentUpdateCommon.cs:line 160
at Microsoft.RDInfra.RDAgent.Service.AgentDownloadHdlrImpl.DownloadAgentMSI(String downloadLocation) in C:\agent\_work\35\s\src\RDAgent\src\Service\AgentUpdateClasses\AgentDownloadHdlrImpl.cs:line 42
at Microsoft.RDInfra.RDAgent.Service.RDAgentUpdateHandler.UpdateAgentAsync(JObject json) in C:\agent\_work\35\s\src\RDAgent\src\Service\AgentUpdateClasses\RDAgentUpdateHandler.cs:line 232"
AgentVersion : 1.0.1006.2000
OsVersion : 10.0.18362
SxSStackVersion : rdp-sxs190614002
Status : UpgradeFailed
UpdateState : Failed
LastUpdateTime : 14.08.2019 09:29:58
UpdateErrorMessage : RDAgent failed to download MSI: Unable to read data from the transport connection: An existing
connection was forcibly closed by the remote host. : 0x80131620
Anyone else is having this issue or does know how to fix it? Manual download is no problem at all.
Is this a known bug in 1.0.1006.2000? Never had this before.
Cheers
Dec 30 2019 02:38 PM
@A_priori_superior : Apologies for the delay. Previously, we had seen some errors with updating. However, you should no longer see any issues with the agent today. Please let us know if you hit any more issues.
Mar 15 2021 12:41 AM
Mar 29 2021 03:28 PM