Skip to content

Slow /.well-known/openid-configuration endpoints #17

Discussion options

You must be logged in to vote

@AndersAbel @maartenba After enabling more log categories, I was able to pin point this ~1 sec latency increase:

It comes from the AspNet Core CORS Middleware.

"Cache hit for https://xxx.ch" , origins from Category: Duende.IdentityServer.Services.DefaultCache
"No CORS policy found for the specified request.", origins from Categroy: Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware

I'll have a look at that code and see what it does.

Update: We deployed a fix (Re-ordering Asp.Net CORS middleware in request pipeline and providing a AllowAll = true service for DefaultCorsPolicyService

That fixed the issue:

The 99P is not yet recovered but latency has pretty much flatlined. As we didn'…

Replies: 13 comments 36 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@4865783a5d
Comment options

@AndersAbel
Comment options

@4865783a5d
Comment options

Comment options

You must be logged in to vote
13 replies
@maartenba
Comment options

@maartenba
Comment options

@4865783a5d
Comment options

@4865783a5d
Comment options

@maartenba
Comment options

Comment options

You must be logged in to vote
7 replies
@mathitharmalingam-aqi
Comment options

@maartenba
Comment options

@mathitharmalingam-aqi
Comment options

@maartenba
Comment options

@mathitharmalingam-aqi
Comment options

Comment options

You must be logged in to vote
5 replies
@maartenba
Comment options

@4865783a5d
Comment options

@maartenba
Comment options

@4865783a5d
Comment options

@AndersAbel
Comment options

Answer selected by 4865783a5d
Comment options

You must be logged in to vote
8 replies
@AndersAbel
Comment options

@mathitharmalingam-aqi
Comment options

@martinescalantehughes
Comment options

@khalidabuhakmeh
Comment options

@mathitharmalingam-aqi
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority Priority support (for Duende use)
7 participants