Skip to content

Test failure: LargeResponseBodyTest_CheckAllResponseBodyBytesWritten #3846

@jkotalik

Description

@jkotalik
 Failed   Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests.LargeResponseBodyTests.LargeResponseBodyTest_CheckAllResponseBodyBytesWritten(query: 100000000)
  Error Message:
   System.Net.Http.HttpRequestException : Error while copying content to a stream.
  ---- 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
  Stack Trace:
     at System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, MemoryStream tempBuffer)
     at Microsoft.AspNetCore.Server.IntegrationTesting.IIS.LoggingHandler.LogResponse(LogLevel logLevel, HttpResponseMessage response) in /_/src/Microsoft.AspNetCore.Server.IntegrationTesting.IIS/LoggingHandler.cs:line 50
     at Microsoft.AspNetCore.Server.IntegrationTesting.IIS.LoggingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) in /_/src/Microsoft.AspNetCore.Server.IntegrationTesting.IIS/LoggingHandler.cs:line 29
     at System.Net.Http.HttpClient.FinishSendAsyncUnbuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
     at System.Net.Http.HttpClient.GetStringAsyncCore(Task`1 getTask)
     at Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests.LargeResponseBodyTests.LargeResponseBodyTest_CheckAllResponseBodyBytesWritten(Int32 query) in /_/test/Common.FunctionalTests/Inprocess/LargeResponseBodyTests.cs:line 27
  --- End of stack trace from previous location where exception was thrown ---
  ----- Inner Stack Trace -----
     at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error)
     at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.GetResult(Int16 token)
     at System.Net.Http.HttpConnection.FillAsync()
     at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.CopyToAsyncCore(Stream destination, CancellationToken cancellationToken)
     at System.Net.Http.HttpConnection.HttpConnectionResponseContent.SerializeToStreamAsync(Stream stream, TransportContext context, CancellationToken cancellationToken)
     at System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, MemoryStream tempBuffer)
  ----- Inner Stack Trace -----
  

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsfeature-iisIncludes: IIS, ANCMtest-failure

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions