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

[WebToolsE2E][Aspire] Refreshing the browser multiple times when running 9.0 aspire project, an error occurred in CMD. #6373

Open
vmykagapuz opened this issue Oct 18, 2024 · 2 comments
Assignees
Labels
area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication
Milestone

Comments

@vmykagapuz
Copy link

vmykagapuz commented Oct 18, 2024

INSTALL STEPS

  1. Clean machine: Win11 x64 23h2
  2. Install VS 17.12 P4 candidate

REPRO STEPS

  1. Create .Net Aspire 9 Starter App
  2. Build solution and run the project
  3. Click the refresh button in the browser multiple times

ACTUAL
An error occurred in CMD
Image

Grpc.AspNetCore.Server.ServerCallHandler[6]
     Error when executing service method 'GetApplicationInformation'.
     System.IO.IOException: The client reset the request stream.
        at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpRequestPipeReader.ReadAsync(CancellationToken cancellationToken)
        at Grpc.AspNetCore.Server.Internal.PipeExtensions.ReadSingleMessageAsync[T](PipeReader input, HttpContextServerCallContext serverCallContext, Func`2 deserializer)
        at Grpc.AspNetCore.Server.Internal.CallHandlers.UnaryServerCallHandler`3.HandleCallAsyncCore(HttpContext httpContext, HttpContextServerCallContext serverCallContext)
        at Grpc.AspNetCore.Server.Internal.CallHandlers.ServerCallHandlerBase`3.<HandleCallAsync>g__AwaitHandleCall|8_0(HttpContextServerCallContext serverCallContext, Method`2 method, Task handleCall)

EXPECTED
Can refresh the browser multiple times without an error in CMD.

@joperezr joperezr added the untriaged New issue has not been triaged label Oct 21, 2024
@joperezr joperezr added this to the Backlog milestone Oct 22, 2024
@joperezr joperezr added area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication and removed untriaged New issue has not been triaged labels Oct 22, 2024
@joperezr
Copy link
Member

cc: @JamesNK any ideas if this could be a quick fix?

@JamesNK
Copy link
Member

JamesNK commented Oct 22, 2024

It will be fixed with a gRPC update. Won't be available in time for 9.0.

@JamesNK JamesNK self-assigned this Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication
Projects
None yet
Development

No branches or pull requests

3 participants