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
416 stars 204 forks source link

An unhandled error has occurred after building project #4571

Closed LucaOtto closed 2 days ago

LucaOtto commented 2 days ago

I keep getting this error, tried on two different computers and installed dependencies from scratch.

See screenshots below:

Image

In VSCode I'm seeing these errors

Image Image Image

rajeshkamal5050 commented 2 days ago

Looks like an aspire dashboard issue when using locally doubt there isn't anything related to azd here.

Can you report the issue under Aspire - https://github.com/dotnet/aspire

@vhvb1989 @karolz-ms

vhvb1989 commented 2 days ago

You need to make your OS to trust the dotnet certificates. See: https://learn.microsoft.com/dotnet/core/tools/dotnet-dev-certs?form=MG0AV3

You might just need to run dotnet dev-certs https and dotnet dev-certs https --trust.

The Dashboard runs on HTTPS using local signed certificates from dotnet. Your OS is currently rejecting them.