dotnet / aspire

An opinionated, cloud ready stack for building observable, production ready, distributed applications in .NET
https://learn.microsoft.com/dotnet/aspire
MIT License
3.66k stars 417 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 2 months ago

v-sherryfan commented 2 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 2 months ago

@snehapar9 Is this potentially an ACA issue?

snehapar9 commented 1 month 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 1 month 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 1 month ago

@snehapar9