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

Allow cert warnings to bubble out. #3212

Merged
merged 2 commits into from
Mar 27, 2024

Conversation

mitchdenny
Copy link
Member

@mitchdenny mitchdenny commented Mar 27, 2024

Fixes #2914

Microsoft Reviewers: Open in CodeFlow

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication label Mar 27, 2024
@mitchdenny mitchdenny added this to the preview 5 (Apr) milestone Mar 27, 2024
@mitchdenny mitchdenny self-assigned this Mar 27, 2024
@mitchdenny mitchdenny merged commit 0d3d68e into main Mar 27, 2024
8 checks passed
@mitchdenny mitchdenny deleted the mitchdenny/allow-cert-warnings-to-bubble branch March 27, 2024 13:31
Comment on lines +73 to +77
_innerBuilder.Logging.AddFilter("Microsoft.AspNetCore.Server.Kestrel", LogLevel.Error);

// This is so that we can see certificate errors in the resource server in the console logs.
// See: https://github.com/dotnet/aspire/issues/2914
_innerBuilder.Logging.AddFilter("Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer", LogLevel.Warning);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why didn't we just show all kestrel warnings?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@davidfowl
Copy link
Member

/backport to release/8.0-preview5

Copy link
Contributor

Started backporting to release/8.0-preview5: https://github.com/dotnet/aspire/actions/runs/8453311536

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication
Projects
None yet
3 participants