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 run dotnet run and unable to load page after dotnet run in CodeSpace #3

Open
Yionse opened this issue Dec 5, 2024 · 1 comment
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@Yionse
Copy link
Member

Yionse commented Dec 5, 2024

Description:
Running dotnet run failed, need to execute dotnet dev-certs https --trust first, but this is not mentioned in the README.md. The error message is as follows:
image
According to the error message, run dotnet dev-certs https --trust and then run dotnet run successfully. Click the link output in the log, and the page loading fails as follows:
image
image

Repro steps:

  1. Run azd auth login.
  2. Run cd ./src/eShopAppHost.
  3. Run azd provision.
  4. Run dotnet dev-certs https --trust.
  5. Run dotnet run.

Environment:

  • Azd version: azd version 1.11.0 (commit 5b92e0687e1fa96dfc8292f4b900c0c58610b6a5)
  • OS: CodeSpace

Expected behavior:
dotnet run can be successfully executed and the page can be loaded successfully by clicking the link.
@elbruno, @PabloNunes and @hemarina for notification.

@elbruno
Copy link
Contributor

elbruno commented Dec 6, 2024

Description: Running dotnet run failed, need to execute dotnet dev-certs https --trust first, but this is not mentioned in the README.md. The error message is as follows: image According to the error message, run dotnet dev-certs https --trust and then run dotnet run successfully. Click the link output in the log, and the page loading fails as follows: image image

Repro steps:

  1. Run azd auth login.
  2. Run cd ./src/eShopAppHost.
  3. Run azd provision.
  4. Run dotnet dev-certs https --trust.
  5. Run dotnet run.

Environment:

  • Azd version: azd version 1.11.0 (commit 5b92e0687e1fa96dfc8292f4b900c0c58610b6a5)
  • OS: CodeSpace

Expected behavior: dotnet run can be successfully executed and the page can be loaded successfully by clicking the link. @elbruno, @PabloNunes and @hemarina for notification.

Thanks @Yionse , working in updating the docs with this with @PabloNunes !

Best

@elbruno elbruno added bug Something isn't working documentation Improvements or additions to documentation labels Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants