microsoft / microsoft/aspire

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

Open
#4,854 8 comments 0 reactions 1 assignee Assigned to @snehapar9 View on GitHub
area-azure-aca azure azure-container-apps
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

**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:**

- This issue does not repro on Edge browser, only on Safari.
- This issue also reproduce on Aspire 8.1.
- When clicking on the webfrontend link on the deployed dashboard, you will also see the "Misdirected Request" error

**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](https://github.com/dotnet/aspire/assets/71361488/e2e6dc9d-99d1-4d1d-871d-f448696896f1)

**EXPECTED**
![image](https://github.com/dotnet/aspire/assets/71361488/4b43aac3-bbb3-43c2-b711-7ab73af64512)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.