Server Error in '/' Application.

An existing connection was forcibly closed by the remote host

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[SocketException (0x2746): An existing connection was forcibly closed by the remote host]
   System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) +226

[IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.]
   System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) +811
   System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count) +48
   System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest) +224
   System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) +193
   System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest) +361
   System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest, Boolean renegotiation) +245
   System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult) +812
   System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) +370
   System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) +21
   System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) +85
   System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result) +1131
   System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size) +62
   System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size) +124
   System.Net.ConnectStream.WriteHeaders(Boolean async) +491

[WebException: The underlying connection was closed: An unexpected error occurred on a send.]
   System.Net.HttpWebRequest.GetResponse() +1751
   Amazon.Runtime.Internal.HttpRequest.GetResponse() +252
   Amazon.Runtime.Internal.HttpHandler`1.InvokeSync(IExecutionContext executionContext) +509
   Amazon.Runtime.Internal.RedirectHandler.InvokeSync(IExecutionContext executionContext) +23
   Amazon.Runtime.Internal.Unmarshaller.InvokeSync(IExecutionContext executionContext) +23
   Amazon.S3.Internal.AmazonS3ResponseHandler.InvokeSync(IExecutionContext executionContext) +23
   Amazon.Runtime.Internal.ErrorHandler.InvokeSync(IExecutionContext executionContext) +36

[AmazonServiceException: A WebException with status SendFailure was thrown.]
   Amazon.Runtime.Internal.WebExceptionHandler.HandleException(IExecutionContext executionContext, WebException exception) +313
   Amazon.Runtime.Internal.ErrorHandler.ProcessException(IExecutionContext executionContext, Exception exception) +384
   Amazon.Runtime.Internal.ErrorHandler.InvokeSync(IExecutionContext executionContext) +112
   Amazon.Runtime.Internal.CallbackHandler.InvokeSync(IExecutionContext executionContext) +34
   Amazon.Runtime.Internal.RetryHandler.InvokeSync(IExecutionContext executionContext) +295
   Amazon.Runtime.Internal.CallbackHandler.InvokeSync(IExecutionContext executionContext) +34
   Amazon.Runtime.Internal.CallbackHandler.InvokeSync(IExecutionContext executionContext) +34
   Amazon.S3.Internal.AmazonS3ExceptionHandler.InvokeSync(IExecutionContext executionContext) +90
   Amazon.Runtime.Internal.ErrorCallbackHandler.InvokeSync(IExecutionContext executionContext) +81
   Amazon.Runtime.Internal.MetricsHandler.InvokeSync(IExecutionContext executionContext) +178
   Amazon.Runtime.Internal.RuntimePipeline.InvokeSync(IExecutionContext executionContext) +45
   Amazon.Runtime.AmazonServiceClient.Invoke(TRequest request, IMarshaller`2 marshaller, ResponseUnmarshaller unmarshaller) +239
   Amazon.S3.AmazonS3Client.GetObjectMetadata(GetObjectMetadataRequest request) +65
   Umbraco.Storage.S3.BucketFileSystem.Execute(Func`2 request) +70
   Umbraco.Storage.S3.BucketFileSystem.FileExists(String path) +198
   System.Web.Routing.RouteCollection.IsRouteToExistingFile(HttpContextBase httpContext) +127
   System.Web.Routing.RouteCollection.GetRouteData(HttpContextBase httpContext) +133
   System.Web.Routing.UrlRoutingModule.PostResolveRequestCache(HttpContextBase context) +73
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +142
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +93


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4676.0