0
lan.dang created
- ABP Framework version: v7.0.3
- UI type: Blazor
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): MVC
- Exception message and stack trace:
- Steps to reproduce the issue:" When I deploy my app via Azure portal using swap slot, Azure will send HTTP request to slot but our system does not allow HTTP request. I read this document about this error https://haacked.com/archive/2020/09/28/azure-swap-with-warmup-aspnetcore/
But comment this line does not work app.UseHttpsRedirection(); I also try to disable this one Configure<OpenIddictServerAspNetCoreOptions>(options => { options.DisableTransportSecurityRequirement = true; });
I tested with Postman, HTTPS request will respone 200 but HTTP request does not respone anything. What should I do to enable HTTP request?
1 Answer(s)
-
0
Hi,
You can try:
PreConfigure<OpenIddictBuilder>(builder => { ..... builder.AddServer().UseAspNetCore().DisableTransportSecurityRequirement(); });