dotnet / aspire

Tools, templates, and packages to accelerate building observable, production-ready apps
https://learn.microsoft.com/dotnet/aspire
MIT License
3.86k stars 462 forks source link

[WebToolsE2E][Aspire][Safari] Opening the "Aspire Dashboard" URL of a deployed Aspire project fails with error "Misdirected Request" on Mac. #4854

Open v-sherryfan opened 4 months ago

v-sherryfan commented 4 months ago

INSTALL STEPS

  1. Clean machine: MacOS M1 (Sonoma 14.5)
  2. Install latest released SDK 8.0.303
  3. Install latest released Aspire 8.0.2
  4. Install latest released azd 1.9.5

REPRO STEPS

  1. Open Terminal, run following command to create an Aspire Starter App project and deploy it
    dotnet new aspire-starter -o aspire1
    cd aspire1/aspire1.AppHost
    azd init
    azd up
  2. After successful deployment, open the deployed "Aspire Dashboard" URL

NOTE:

ACTUAL Opening the deployed 'Aspire Dashboard' URL displays a "Misdirected Request" error. However, sometimes after waiting for a while and manually refreshing the page, it can be displayed normally. image

EXPECTED image

leslierichardson95 commented 3 months ago

@snehapar9 Is this potentially an ACA issue?

snehapar9 commented 3 months ago

Thanks for opening this issue @v-sherryfan! Does this consistently repro on Safari? I was able to successfully access the Aspire dashboard on Safari. This may be a transient issue.

v-sherryfan commented 3 months ago

@snehapar9 Verified the issue using aspire 8.1.1 on Safari, now the issue does not reproduce when clicking on deployed aspire dashboard links, but does consistently reproduce on deployed webfrontend links. image image

adamint commented 3 months ago

@snehapar9