Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Menghua1 opened this issue Sep 19, 2024 · 1 comment
Open

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

Menghua1 opened this issue Sep 19, 2024 · 1 comment

Comments

@Menghua1
Copy link
Member

Menghua1 commented Sep 19, 2024

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:

  • Template: todo-csharp-cosmos-sql, todo-nodejs-mongo-swa-func, todo-java-mongo, todo-java-postgresql-terraform.
  • Branch: staging
  • OS: Devcontainer
  • Azd version: azd version 1.11.0-beta.1-pr.4140256 (commit b6402de) and azd version 1.11.0-beta.1-daily.4152592 (commit e2ff8ba)

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

@jongio for notification.

@Menghua1
Copy link
Member Author

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

  • Template: todo-csharp-cosmos-sql, todo-nodejs-mongo-swa-func, todo-java-mongo, todo-java-postgresql-terraform.
  • OS: Devcontainer
  • Test Scenario:
  1. Templates under the main branch + azd version 1.11.0-beta.1-daily.4152592 (commit e2ff8ba).
  2. Templates under the main branch + azd version 1.11.0-beta.1-pr.4140256 (commit b6402de).
  3. Templates under the staging branch + azd version 1.11.0-beta.1-daily.4152592 (commit e2ff8ba).
  4. Templates under the staging branch + azd version 1.11.0-beta.1-pr.4140256 (commit b6402de).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@Menghua1 and others