dotnet / aspire-samples

MIT License
669 stars 196 forks source link

[WebToolsE2E][Aspire] When running the AspirewithDapr solution for the first time, the status of all projects in the dashboard shows "Unknown". #184

Open v-sherryfan opened 7 months ago

v-sherryfan commented 7 months ago

REGRESSION INFO: Worked on Aspire 8.0.0-preview.4.24156.9

INSTALL STEPS

  1. Clean machine: Win11 x64 23h2 ENU
  2. Install VS 17.10 Preview 3 [ Includes Aspire 8.0.0-preview.5.24201.12 and SDK 8.0.300-preview.24203.14 ]
  3. Apply NuGet dotnet-tools Feed
  4. Install Docker Desktop for Windows

REPRO STEPS

  1. Clone aspire-samples repo
  2. Checkout the preview.5 branch
  3. Update sdk version to 8.0.300-preview.24203.14 in global.json
  4. Open samples\AspirewithDapr.sln
  5. Build and F5

ACTUAL image

Note

EXPECTED image

DamianEdwards commented 6 months ago

The repro steps don't include installing the Dapr CLI and running dapr init on the machine. Was that done? Does this still repro from main?

v-sherryfan commented 6 months ago

Not repro on main branch with 17.10 P6 [include Aspire 8.0.0-preview.6.24214.1]

davidfowl commented 6 months ago

A few people have seen this "unknown" thing. This is some hang in the apphost that's happening that we don't quite understand. Next time it happens capture a dump of the apphost process.

scharada commented 2 months ago

i have noticed multiple times that any exception (caught or uncaught) in the container provisioning and/or in the loading process causes the resource not to load correctly and displays no endpoint. i have seen this also in the launch of the apphost itself and caused the resources to hang on loading. most issues i had disappeared by updating the SDK to 8.0.401 and Aspire Version to 8.2.0.

the only issue i still have is the delay on some containers to respond to other's during startup ... here i mention particularly RabbitMQ .