Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The request stream was aborted:This situation happens occasionally, and I haven't found the reason #2441

Open
xiaofanI opened this issue May 23, 2024 · 0 comments
Labels
question Further information is requested

Comments

@xiaofanI
Copy link

xiaofanI commented May 23, 2024

Hi.
My client encountered an unexpected exception when connecting to the server, and the log is as follows
Category: Grpc.AspNetCore.Server.ServerCallHandler EventId: 6 SpanId: 214f3bffb2c4ac8c TraceId: 7c50cbd7d5960ea1af633847ccfa72fa ParentId: 0000000000000000 ConnectionId: 0HN3F1KKKOFAC RequestId: 0HN3F1KKKOFAC:0000110B RequestPath: /AskTask.AskTask/GuidLoad Error when executing service method 'GuidLoad'. Exception: System.IO.IOException: The request stream was aborted. ---> Microsoft.AspNetCore.Connections.ConnectionAbortedException: The HTTP/2 connection faulted. --- End of inner exception stack trace --- at System.IO.Pipelines.Pipe.GetReadResult(ReadResult& result) at System.IO.Pipelines.Pipe.GetReadAsyncResult() at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2.Http2MessageBody.ReadAsync(CancellationToken cancellationToken) at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder1.StateMachineBox1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) at Grpc.AspNetCore.Server.Internal.PipeExtensions.ReadSingleMessageAsync[T](PipeReader input, HttpContextServerCallContext serverCallContext, Func2 deserializer) at Grpc.AspNetCore.Server.Internal.CallHandlers.UnaryServerCallHandler3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext) at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method2 method, Task handleCall)

@xiaofanI xiaofanI added the question Further information is requested label May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant