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] Weather page keep loading and it shows "An unhandled exception was thrown by the application" in Console logs when do scenario Tutorial: Use .NET Aspire messaging integrations in ASP.NET Core. #2033

Open
Yangfanyue opened this issue Nov 11, 2024 · 2 comments
Labels
⌚ Not Triaged Not triaged

Comments

@Yangfanyue
Copy link

Yangfanyue commented Nov 11, 2024

INSTALL STEPS

  1. Clean machine: Win11 x64 23h2 ENU
  2. Install Dev17.12.0 build (d17.12-35506.116)
  3. Apply NuGet Feeds.

REPRO STEPS

  1. Do the scenario Tutorial: Use .NET Aspire messaging integrations in ASP.NET Core

  2. In section Run and test the app locally

    • Debug the project
    • On the .NET Aspire dashboard, navigate to webfrontend page > Then go to Weather page

ACTUAL:
2024-11-11T07:59:49 The response has already started, the error page middleware will not be executed.
2024-11-11T07:59:49 fail: Microsoft.AspNetCore.Server.Kestrel[13]
2024-11-11T07:59:49 Connection id "0HN824O85K6EM", Request id "0HN824O85K6EM:0000001F": An unhandled exception was thrown by the application.
2024-11-11T07:59:49 System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).
Image

Describe the issue or suggestion
This issue is caused by the missing code in AspireSample.ApiService/Program.cs.
Image
So it is recommended to modify this part of the document.

Image

@dotnetrepoman dotnetrepoman bot added the ⌚ Not Triaged Not triaged label Nov 11, 2024
@balachir
Copy link
Contributor

@Yangfanyue can you investigate whether this is a functional issue? If yes, this should be opened in the aspire repo rather than in the docs-aspire repo.

cc: @v-elenafeng

@Yangfanyue
Copy link
Author

@balachir This is a docs issue. Updated the steps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⌚ Not Triaged Not triaged
Projects
None yet
Development

No branches or pull requests

2 participants