- **ABP Framework version: 7.2.2 commercial
- UI type: Angular
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): no / no
- Exception message and stack trace:
- Steps to reproduce the issue:"
We are currently deploying our ABP solution (only backend for now) to an Azure App Service using an Azure DevOps build pipeline. After deployment we get an HTTP 500.30 Error and here is what we see in the application event logs:
Application '/LM/W3SVC/1722661275/ROOT' with physical root 'C:\home\site\wwwroot' has exited from Program.Main with exit code = '1'. First 30KB characters of captured stdout and stderr logs:
[07:41:34 INF] Starting MVIS_abp.HttpApi.Host.
[07:41:38 FTL] Host terminated unexpectedly!
Volo.Abp.AbpInitializationException: An error occurred during ConfigureServicesAsync phase of the module Volo.Abp.OpenIddict.AbpOpenIddictDomainModule, Volo.Abp.OpenIddict.Domain, Version=7.2.2.0, Culture=neutral, PublicKeyToken=null. See the inner exception for details.
---> System.MissingMethodException: Method not found: 'System.Collections.Generic.IAsyncEnumerable1<System.Object> OpenIddict.Abstractions.IOpenIddictApplicationManager.FindByPostLogoutRedirectUriAsync(System.String, System.Threading.CancellationToken)'. at Microsoft.Extensions.DependencyInjection.OpenIddictCoreExtensions.AddCore(OpenIddictBuilder builder) at Microsoft.Extensions.DependencyInjection.OpenIddictCoreExtensions.AddCore(OpenIddictBuilder builder, Action
1 configuration)
at Volo.Abp.OpenIddict.AbpOpenIddictDomainModule.AddOpenIddictCore(IServiceCollection services)
at Volo.Abp.OpenIddict.AbpOpenIddictDomainModule.ConfigureServices(ServiceConfigurationContext context)
at Volo.Abp.Modularity.AbpModule.ConfigureServicesAsync(ServiceConfigurationContext context)
at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync()
--- End of inner exception stack trace ---
at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync()
at Volo.Abp.AbpApplicationFactory.CreateAsync[TStartupModule](IServiceCollection services, Action1 optionsAction) at Microsoft.Extensions.DependencyInjection.ServiceCollectionApplicationExtensions.AddApplicationAsync[TStartupModule](IServiceCollection services, Action
1 optionsAction)
at Microsoft.Extensions.DependencyInjection.WebApplicationBuilderExtensions.AddApplicationAsync[TStartupModule](WebApplicationBuilder builder, Action`1 optionsAction)
at MVIS_abp.Program.Main(String[] args) in D:\a\1\s\aspnet-core\src\MVIS_abp.HttpApi.Host\Program.cs:line 36
Process Id: 3372. File Version: 17.0.23084.5. Description: IIS ASP.NET Core Module V2 Request Handler. Commit: d47e49e9c1e173ac90821f7e89cc38e710274241
6 Answer(s)
-
0
Hi,
Please provide us console log errors from the Azure Console(DLL log files).
-
0
-
0
Hi
Can you please share your deployed appsettings.json, will check that.
-
0
Hi, here is our appsettings:
{ "App": { "SelfUrl": "https://localhost:44325", "AngularUrl": "http://localhost:4200", "CorsOrigins": "https://*.MVIS_abp.com,http://localhost:4200", "RedirectAllowedUrls": "http://localhost:4200", "DisablePII": "false", "HealthCheckUrl": "/health-status" }, "ConnectionStrings": { "Default": "Server=tcp:XXX,1433;Initial Catalog=XXX;Persist Security Info=False;User ID=XXX;Password=XXX;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;" }, "AuthServer": { "Authority": "https://localhost:44325", "RequireHttpsMetadata": "true", "SwaggerClientId": "MVIS_abp_Swagger" }, "StringEncryption": { "DefaultPassPhrase": "Fi1zhuZcgSTEguJm" } }
-
0
Hi,
Can you please change url's of App--SelfUrl and AuthServer--Authority to deployed application URLs https://localhost:44325 to "deployed-application-url"
-
0
It resolves the issue. Thank you!