Azure / azure-dev

A developer CLI that reduces the time it takes for you to get started on Azure. The Azure Developer CLI (azd) provides a set of developer-friendly commands that map to key stages in your workflow - code, build, deploy, monitor, repeat.
https://aka.ms/azd
MIT License
410 stars 197 forks source link

Fail to load web page when `start api and web` in Devcontainer #4346

Open Menghua1 opened 1 month ago

Menghua1 commented 1 month ago

Describe the issue: After running Run Task -> Start Web and Api, click the web link http://localhost:5173/ output in the terminal, and the page cannot be loaded, as shown below: image image

Repro Steps:

  1. Login in with command: azd auth login.
  2. Run command azd init -t <template> -b staging.
  3. Run command azd up.
  4. Run task: start api and web.
  5. Click the web url output in the terminal.

Environment:

Expected behavior: When start api and web, the web page can load successfully.

@jongio for notification.

Menghua1 commented 1 month ago

@jongio This issue can also be reproduced in main. We tested the following four scenarios and they can all be reproduced:

Menghua1 commented 1 month ago

@rajeshkamal5050 In the latest round of azd manual testing, this issue still exists.