Starts in:
1 DAY
23 HRS
17 MIN
50 SEC
Starts in:
1 D
23 H
17 M
50 S
Open Closed

Upgrade to 5.0 Issue #2323


User avatar
0
Rrader30 created
  • ABP Framework version: v5.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): seperated
  • Exception message and stack trace:
  • Steps to reproduce the issue:" I recently upgraded a project I have from 4.3 to 5.0. I had a lot of exceptions I needed to work through. Now my API project is crashing before it completely starts. Attached is the log file. Any help to resolve this would be appreciated.
2021-12-23 13:48:07.478 -05:00 [INF] Starting TiberVendor.HttpApi.Host.
2021-12-23 13:48:15.185 -05:00 [INF] User profile is available. Using 'C:\Users\ryanr\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
2021-12-23 13:48:15.549 -05:00 [INF] Start installing Hangfire SQL objects...
2021-12-23 13:48:15.697 -05:00 [INF] Hangfire SQL objects installed.
2021-12-23 13:48:15.757 -05:00 [INF] Starting Hangfire Server using job storage: 'SQL Server: localhost\SQLEXPRESS@TiberVendorAng'
2021-12-23 13:48:15.758 -05:00 [INF] Using the following options for SQL Server job storage: Queue poll interval: 00:00:15.
2021-12-23 13:48:15.758 -05:00 [INF] Using the following options for Hangfire Server:
    Worker count: 20
    Listening queues: 'default'
    Shutdown timeout: 00:00:15
    Schedule polling interval: 00:00:15
2021-12-23 13:48:15.771 -05:00 [DBG] Execution loop BackgroundServerProcess:90579595 has started in 10.2107 ms
2021-12-23 13:48:15.772 -05:00 [INF] Initializing UI Database
2021-12-23 13:48:15.826 -05:00 [INF] Server desktop-2dfljpm:70276:c8f0680d caught stopping signal...
2021-12-23 13:48:15.829 -05:00 [INF] Server desktop-2dfljpm:70276:c8f0680d caught stopped signal...
2021-12-23 13:48:15.890 -05:00 [INF] Server desktop-2dfljpm:70276:c8f0680d successfully announced in 108.9271 ms
2021-12-23 13:48:15.895 -05:00 [DBG] Execution loop ServerHeartbeatProcess:e120c096 has started in 3.9227 ms
2021-12-23 13:48:15.895 -05:00 [INF] Server desktop-2dfljpm:70276:c8f0680d is starting the registered dispatchers: ServerWatchdog, ServerJobCancellationWatcher, ExpirationManager, CountersAggregator, SqlServerHeartbeatProcess, Worker, DelayedJobScheduler, RecurringJobScheduler...
2021-12-23 13:48:15.895 -05:00 [DBG] Execution loop ServerHeartbeatProcess:e120c096 stopped in 4.1088 ms
2021-12-23 13:48:15.899 -05:00 [DBG] Execution loop ServerWatchdog:17bccc67 has started in 4.3167 ms
2021-12-23 13:48:15.899 -05:00 [DBG] Execution loop ServerWatchdog:17bccc67 stopped in 4.3574 ms
2021-12-23 13:48:15.904 -05:00 [DBG] Execution loop ServerJobCancellationWatcher:e29f6cba has started in 6.7077 ms
2021-12-23 13:48:15.904 -05:00 [DBG] Execution loop ServerJobCancellationWatcher:e29f6cba stopped in 6.821 ms
2021-12-23 13:48:15.910 -05:00 [DBG] Execution loop ExpirationManager:0725f7c2 has started in 8.0649 ms
2021-12-23 13:48:15.910 -05:00 [DBG] Execution loop ExpirationManager:0725f7c2 stopped in 8.1971 ms
2021-12-23 13:48:15.913 -05:00 [DBG] Execution loop CountersAggregator:439be6c0 has started in 6.2212 ms
2021-12-23 13:48:15.913 -05:00 [DBG] Execution loop CountersAggregator:439be6c0 stopped in 6.2547 ms
2021-12-23 13:48:15.919 -05:00 [DBG] Execution loop SqlServerHeartbeatProcess:f4e344fc has started in 5.6444 ms
2021-12-23 13:48:15.919 -05:00 [DBG] Execution loop SqlServerHeartbeatProcess:f4e344fc stopped in 5.6894 ms
2021-12-23 13:48:15.925 -05:00 [DBG] Execution loop Worker:24d2f18b has started in 7.6708 ms
2021-12-23 13:48:15.925 -05:00 [DBG] Execution loop Worker:24d2f18b stopped in 7.934 ms
2021-12-23 13:48:15.928 -05:00 [DBG] Execution loop Worker:c05070a1 has started in 11.4221 ms
2021-12-23 13:48:15.928 -05:00 [DBG] Execution loop Worker:c05070a1 stopped in 11.4885 ms
2021-12-23 13:48:15.933 -05:00 [DBG] Execution loop Worker:c7f005dc has started in 16.3926 ms
2021-12-23 13:48:15.934 -05:00 [DBG] Execution loop Worker:c7f005dc stopped in 16.4976 ms
2021-12-23 13:48:15.936 -05:00 [DBG] Execution loop Worker:cd7fd0ba has started in 19.1263 ms
2021-12-23 13:48:15.937 -05:00 [DBG] Execution loop Worker:cd7fd0ba stopped in 19.5377 ms
2021-12-23 13:48:15.944 -05:00 [DBG] Execution loop Worker:9cf54cf7 has started in 26.5275 ms
2021-12-23 13:48:15.944 -05:00 [DBG] Execution loop Worker:9cf54cf7 stopped in 27.4965 ms
2021-12-23 13:48:15.946 -05:00 [DBG] Execution loop Worker:62148920 has started in 29.282 ms
2021-12-23 13:48:15.946 -05:00 [DBG] Execution loop Worker:62148920 stopped in 29.3286 ms
2021-12-23 13:48:15.951 -05:00 [DBG] Execution loop Worker:8f4d5267 has started in 33.1531 ms
2021-12-23 13:48:15.951 -05:00 [DBG] Execution loop Worker:8f4d5267 stopped in 33.5867 ms
2021-12-23 13:48:15.957 -05:00 [DBG] Execution loop Worker:0146fb59 has started in 40.3228 ms
2021-12-23 13:48:15.957 -05:00 [DBG] Execution loop Worker:0146fb59 stopped in 40.4706 ms
2021-12-23 13:48:15.962 -05:00 [DBG] Execution loop Worker:c23324b3 has started in 45.0744 ms
2021-12-23 13:48:15.962 -05:00 [DBG] Execution loop Worker:c23324b3 stopped in 45.5077 ms
2021-12-23 13:48:15.965 -05:00 [DBG] Execution loop Worker:aa8ade2e has started in 47.5985 ms
2021-12-23 13:48:15.965 -05:00 [DBG] Execution loop Worker:aa8ade2e stopped in 47.6411 ms
2021-12-23 13:48:15.970 -05:00 [DBG] Execution loop Worker:d83114e5 has started in 53.1525 ms
2021-12-23 13:48:15.970 -05:00 [DBG] Execution loop Worker:d83114e5 stopped in 53.3358 ms
2021-12-23 13:48:15.976 -05:00 [DBG] Execution loop Worker:584bf70f has started in 58.9081 ms
2021-12-23 13:48:15.977 -05:00 [DBG] Execution loop Worker:584bf70f stopped in 59.5967 ms
2021-12-23 13:48:15.979 -05:00 [DBG] Execution loop Worker:3ee042b1 has started in 61.853 ms
2021-12-23 13:48:15.979 -05:00 [DBG] Execution loop Worker:3ee042b1 stopped in 62.2163 ms
2021-12-23 13:48:15.983 -05:00 [DBG] Execution loop Worker:6e7617aa has started in 65.8995 ms
2021-12-23 13:48:15.983 -05:00 [DBG] Execution loop Worker:6e7617aa stopped in 65.9383 ms
2021-12-23 13:48:15.989 -05:00 [DBG] Execution loop Worker:c394413a has started in 72.3089 ms
2021-12-23 13:48:15.990 -05:00 [DBG] Execution loop Worker:c394413a stopped in 73.0446 ms
2021-12-23 13:48:15.992 -05:00 [DBG] Execution loop Worker:81c10c93 has started in 75.2019 ms
2021-12-23 13:48:15.992 -05:00 [DBG] Execution loop Worker:81c10c93 stopped in 75.2302 ms
2021-12-23 13:48:15.997 -05:00 [DBG] Execution loop Worker:307e71f8 has started in 80.2291 ms
2021-12-23 13:48:15.997 -05:00 [DBG] Execution loop Worker:307e71f8 stopped in 80.2583 ms
2021-12-23 13:48:16.001 -05:00 [DBG] Execution loop Worker:9fc6b0fc has started in 84.2354 ms
2021-12-23 13:48:16.001 -05:00 [DBG] Execution loop Worker:9fc6b0fc stopped in 84.3294 ms
2021-12-23 13:48:16.004 -05:00 [DBG] Execution loop Worker:642a441b has started in 87.3229 ms
2021-12-23 13:48:16.006 -05:00 [DBG] Execution loop Worker:642a441b stopped in 88.8779 ms
2021-12-23 13:48:16.009 -05:00 [DBG] Execution loop Worker:50e592a0 has started in 91.8216 ms
2021-12-23 13:48:16.009 -05:00 [DBG] Execution loop Worker:50e592a0 stopped in 91.8739 ms
2021-12-23 13:48:16.014 -05:00 [INF] Server desktop-2dfljpm:70276:c8f0680d all the dispatchers started
2021-12-23 13:48:16.014 -05:00 [DBG] Execution loop DelayedJobScheduler:2539bd3f has started in 10.2585 ms
2021-12-23 13:48:16.014 -05:00 [DBG] Execution loop DelayedJobScheduler:2539bd3f stopped in 10.3319 ms
2021-12-23 13:48:16.017 -05:00 [DBG] Execution loop RecurringJobScheduler:dfdfa40a has started in 4.7769 ms
2021-12-23 13:48:16.017 -05:00 [DBG] Execution loop RecurringJobScheduler:dfdfa40a stopped in 4.8079 ms
2021-12-23 13:48:16.021 -05:00 [INF] Server desktop-2dfljpm:70276:c8f0680d All dispatchers stopped
2021-12-23 13:48:16.025 -05:00 [INF] Server desktop-2dfljpm:70276:c8f0680d successfully reported itself as stopped in 2.7547 ms
2021-12-23 13:48:16.025 -05:00 [INF] Server desktop-2dfljpm:70276:c8f0680d has been stopped in total 199.2083 ms
2021-12-23 13:48:16.025 -05:00 [DBG] Execution loop BackgroundServerProcess:90579595 stopped in 199.2965 ms
2021-12-23 13:48:16.042 -05:00 [FTL] Host terminated unexpectedly!
Autofac.Core.DependencyResolutionException: An exception was thrown while activating HealthChecks.UI.Core.Data.HealthChecksDb.
 ---> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(Microsoft.EntityFrameworkCore.DbContextOptions`1[HealthChecks.UI.Core.Data.HealthChecksDb])' on type 'HealthChecksDb'.
 ---> System.TypeLoadException: Method 'GetServiceProviderHashCode' in type 'ExtensionInfo' from assembly 'Microsoft.EntityFrameworkCore.InMemory, Version=5.0.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' does not have an implementation.
   at Microsoft.EntityFrameworkCore.InMemory.Infrastructure.Internal.InMemoryOptionsExtension.get_Info()
   at Microsoft.EntityFrameworkCore.DbContextOptions.GetHashCode()
   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd[TArg](TKey key, Func`3 valueFactory, TArg factoryArgument)
   at Microsoft.EntityFrameworkCore.Internal.ServiceProviderCache.GetOrAdd(IDbContextOptions options, Boolean providerRequired)
   at Microsoft.EntityFrameworkCore.DbContext..ctor(DbContextOptions options)
   at lambda_method21(Closure , Object[] )
   at Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate()
   --- End of inner exception stack trace ---
   at Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate()
   at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
   at Autofac.Core.Activators.Reflection.ReflectionActivator.<ConfigurePipeline>b__11_0(ResolveRequestContext ctxt, Action`1 next)
   at Autofac.Core.Resolving.Middleware.DelegateMiddleware.Execute(ResolveRequestContext context, Action`1 next)
   at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
   at Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
   at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.&lt;&gt;c__DisplayClass14_0.&lt;BuildPipeline&gt;b__1(ResolveRequestContext ctxt)
   at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
   --- End of inner exception stack trace ---
   at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
   at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.&lt;&gt;c__DisplayClass14_0.&lt;BuildPipeline&gt;b__1(ResolveRequestContext ctxt)
   at Autofac.Core.Pipeline.ResolvePipeline.Invoke(ResolveRequestContext ctxt)
   at Autofac.Core.Resolving.Middleware.RegistrationPipelineInvokeMiddleware.Execute(ResolveRequestContext context, Action`1 next)
   at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
   at Autofac.Core.Resolving.Middleware.SharingMiddleware.<>c__DisplayClass5_0.<Execute>b__0()
   at Autofac.Core.Lifetime.LifetimeScope.CreateSharedInstance(Guid id, Func`1 creator)
   at Autofac.Core.Lifetime.LifetimeScope.CreateSharedInstance(Guid primaryId, Nullable`1 qualifyingId, Func`1 creator)
   at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
   at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
   at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
   at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute(ResolveRequestContext context, Action`1 next)
   at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.&lt;&gt;c__DisplayClass14_0.&lt;BuildPipeline&gt;b__1(ResolveRequestContext ctxt)
   at Autofac.Core.Pipeline.ResolvePipeline.Invoke(ResolveRequestContext ctxt)
   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request)
   at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation(ResolveRequest request)
   at Autofac.Core.Resolving.ResolveOperation.Execute(ResolveRequest request)
   at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(ResolveRequest request)
   at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
   at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
   at Autofac.ResolutionExtensions.Resolve(IComponentContext context, Type serviceType, IEnumerable`1 parameters)
   at Autofac.ResolutionExtensions.Resolve(IComponentContext context, Type serviceType)
   at Autofac.Extensions.DependencyInjection.AutofacServiceProvider.GetRequiredService(Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
   at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
   at HealthChecks.UI.Core.HostedService.UIInitializationHostedService.InitializeDatabase(IServiceProvider sp)
   at HealthChecks.UI.Core.HostedService.UIInitializationHostedService.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
   at TiberVendor.Program.Main(String[] args) in C:\source\repos\_TiberVendor\VendorDatabase\aspnet-core\src\TiberVendor.HttpApi.Host\Program.cs:line 31

36 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    What about the Identity Server logs?

  • User Avatar
    0
    Rrader30 created

    Identity Logs

    2022-01-04 07:58:07.652 -05:00 [INF] Executing ContentResult with HTTP Response ContentType of application/javascript 2022-01-04 07:58:07.655 -05:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc) in 135.2663ms 2022-01-04 07:58:07.655 -05:00 [INF] Executed endpoint 'Volo.Abp.AspNetCore.Mvc.ProxyScripting.AbpServiceProxyScriptController.GetAll (Volo.Abp.AspNetCore.Mvc)' 2022-01-04 07:58:07.656 -05:00 [INF] Request finished HTTP/2 GET https://localhost:44365/Abp/ServiceProxyScript - - - 200 1936 application/javascript 168.4632ms 2022-01-04 07:58:07.689 -05:00 [DBG] PermissionStore.GetCacheItemAsync: pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.Roles,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.Roles.Create,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.Roles.Update,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.Roles.Delete,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.Roles.ManagePermissions,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.Users,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.Users.Create,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.Users.Update,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.Users.Delete,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.Users.ManagePermissions,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.Users.Impersonation,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.OrganizationUnits,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.OrganizationUnits.ManageOU,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.OrganizationUnits.ManageRoles,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.OrganizationUnits.ManageMembers,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.ClaimTypes,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.ClaimTypes.Create,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.ClaimTypes.Update,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.ClaimTypes.Delete,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.SettingManagement,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.SecurityLogs 2022-01-04 07:58:07.709 -05:00 [DBG] Not found in the cache: pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.Roles,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.Roles.Create,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.Roles.Update,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.Roles.Delete,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.Roles.ManagePermissions,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.Users,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.Users.Create,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.Users.Update,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.Users.Delete,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.Users.ManagePermissions,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.Users.Impersonation,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.OrganizationUnits,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.OrganizationUnits.ManageOU,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.OrganizationUnits.ManageRoles,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.OrganizationUnits.ManageMembers,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.ClaimTypes,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.ClaimTypes.Create,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.ClaimTypes.Update,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.ClaimTypes.Delete,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.SettingManagement,pn:U,pk:51464bf4-f1cb-779d-6252-3a00b739cc3a,n:AbpIdentity.SecurityLogs 2022-01-04 07:58:07.717 -05:00 [DBG] Getting not cache granted permissions from the repository for this provider name,key: U,51464bf4-f1cb-779d-6252-3a00b739cc3a 2022-01-04 07:58:07.824 -05:00 [DBG] Setting the cache items. Count: 21 2022-01-04 07:58:07.832 -05:00 [DBG] Finished setting the cache items. Count: 21 2022-01-04 07:58:07.842 -05:00 [DBG] PermissionStore.GetCacheItemAsync: pn:R,pk:admin,n:AbpIdentity.Roles,pn:R,pk:admin,n:AbpIdentity.Roles.Create,pn:R,pk:admin,n:AbpIdentity.Roles.Update,pn:R,pk:admin,n:AbpIdentity.Roles.Delete,pn:R,pk:admin,n:AbpIdentity.Roles.ManagePermissions,pn:R,pk:admin,n:AbpIdentity.Users,pn:R,pk:admin,n:AbpIdentity.Users.Create,pn:R,pk:admin,n:AbpIdentity.Users.Update,pn:R,pk:admin,n:AbpIdentity.Users.Delete,pn:R,pk:admin,n:AbpIdentity.Users.ManagePermissions,pn:R,pk:admin,n:AbpIdentity.Users.Impersonation,pn:R,pk:admin,n:AbpIdentity.OrganizationUnits,pn:R,pk:admin,n:AbpIdentity.OrganizationUnits.ManageOU,pn:R,pk:admin,n:AbpIdentity.OrganizationUnits.ManageRoles,pn:R,pk:admin,n:AbpIdentity.OrganizationUnits.ManageMembers,pn:R,pk:admin,n:AbpIdentity.ClaimTypes,pn:R,pk:admin,n:AbpIdentity.ClaimTypes.Create,pn:R,pk:admin,n:AbpIdentity.ClaimTypes.Update,pn:R,pk:admin,n:AbpIdentity.ClaimTypes.Delete,pn:R,pk:admin,n:AbpIdentity.SettingManagement,pn:R,pk:admin,n:AbpIdentity.SecurityLogs 2022-01-04 07:58:07.843 -05:00 [DBG] Not found in the cache: pn:R,pk:admin,n:AbpIdentity.Roles,pn:R,pk:admin,n:AbpIdentity.Roles.Create,pn:R,pk:admin,n:AbpIdentity.Roles.Update,pn:R,pk:admin,n:AbpIdentity.Roles.Delete,pn:R,pk:admin,n:AbpIdentity.Roles.ManagePermissions,pn:R,pk:admin,n:AbpIdentity.Users,pn:R,pk:admin,n:AbpIdentity.Users.Create,pn:R,pk:admin,n:AbpIdentity.Users.Update,pn:R,pk:admin,n:AbpIdentity.Users.Delete,pn:R,pk:admin,n:AbpIdentity.Users.ManagePermissions,pn:R,pk:admin,n:AbpIdentity.Users.Impersonation,pn:R,pk:admin,n:AbpIdentity.OrganizationUnits,pn:R,pk:admin,n:AbpIdentity.OrganizationUnits.ManageOU,pn:R,pk:admin,n:AbpIdentity.OrganizationUnits.ManageRoles,pn:R,pk:admin,n:AbpIdentity.OrganizationUnits.ManageMembers,pn:R,pk:admin,n:AbpIdentity.ClaimTypes,pn:R,pk:admin,n:AbpIdentity.ClaimTypes.Create,pn:R,pk:admin,n:AbpIdentity.ClaimTypes.Update,pn:R,pk:admin,n:AbpIdentity.ClaimTypes.Delete,pn:R,pk:admin,n:AbpIdentity.SettingManagement,pn:R,pk:admin,n:AbpIdentity.SecurityLogs 2022-01-04 07:58:07.843 -05:00 [DBG] Getting not cache granted permissions from the repository for this provider name,key: R,admin 2022-01-04 07:58:07.928 -05:00 [DBG] Setting the cache items. Count: 21 2022-01-04 07:58:07.931 -05:00 [DBG] Finished setting the cache items. Count: 21 2022-01-04 07:58:10.015 -05:00 [DBG] Executed AbpApplicationConfigurationAppService.GetAsync(). 2022-01-04 07:58:10.045 -05:00 [DBG] Added 0 entity changes to the current audit log 2022-01-04 07:58:10.048 -05:00 [DBG] Added 0 entity changes to the current audit log 2022-01-04 07:58:10.049 -05:00 [DBG] Added 0 entity changes to the current audit log 2022-01-04 07:58:10.054 -05:00 [INF] Executing ContentResult with HTTP Response ContentType of application/javascript 2022-01-04 07:58:10.056 -05:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc) in 2551.3292ms 2022-01-04 07:58:10.056 -05:00 [INF] Executed endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationScriptController.Get (Volo.Abp.AspNetCore.Mvc)' 2022-01-04 07:58:10.066 -05:00 [INF] Request finished HTTP/2 GET https://localhost:44365/Abp/ApplicationConfigurationScript - - - 200 169626 application/javascript 2578.9570ms 2022-01-04 07:58:10.073 -05:00 [INF] Request starting HTTP/2 GET https://localhost:44365/Themes/Lepton/Global/assets/backgrounds/bg-transparent.png - - 2022-01-04 07:58:10.073 -05:00 [INF] The file /Themes/Lepton/Global/assets/backgrounds/bg-transparent.png was not modified 2022-01-04 07:58:10.073 -05:00 [INF] Request finished HTTP/2 GET https://localhost:44365/Themes/Lepton/Global/assets/backgrounds/bg-transparent.png - - - 304 - image/png 0.7164ms 2022-01-04 07:58:10.090 -05:00 [INF] Request starting HTTP/2 GET https://localhost:44365/Themes/Lepton/Global/assets/fonts/poppins-v6-latin-regular.woff2 - - 2022-01-04 07:58:10.090 -05:00 [INF] Request starting HTTP/2 GET https://localhost:44365/Themes/Lepton/Global/assets/fonts/poppins-v6-latin-600.woff2 - - 2022-01-04 07:58:10.091 -05:00 [INF] The file /Themes/Lepton/Global/assets/fonts/poppins-v6-latin-regular.woff2 was not modified 2022-01-04 07:58:10.091 -05:00 [INF] Request finished HTTP/2 GET https://localhost:44365/Themes/Lepton/Global/assets/fonts/poppins-v6-latin-regular.woff2 - - - 304 - font/woff2 0.8096ms 2022-01-04 07:58:10.091 -05:00 [INF] The file /Themes/Lepton/Global/assets/fonts/poppins-v6-latin-600.woff2 was not modified 2022-01-04 07:58:10.091 -05:00 [INF] Request finished HTTP/2 GET https://localhost:44365/Themes/Lepton/Global/assets/fonts/poppins-v6-latin-600.woff2 - - - 304 - font/woff2 0.5976ms 2022-01-04 07:58:10.093 -05:00 [INF] Request starting HTTP/2 GET https://localhost:44365/Themes/Lepton/Global/assets/fonts/poppins-v6-latin-700.woff2 - - 2022-01-04 07:58:10.094 -05:00 [INF] The file /Themes/Lepton/Global/assets/fonts/poppins-v6-latin-700.woff2 was not modified 2022-01-04 07:58:10.094 -05:00 [INF] Request finished HTTP/2 GET https://localhost:44365/Themes/Lepton/Global/assets/fonts/poppins-v6-latin-700.woff2 - - - 304 - font/woff2 0.7653ms 2022-01-04 07:58:15.178 -05:00 [DBG] 1 recurring job(s) processed by scheduler. 2022-01-04 07:58:20.150 -05:00 [DBG] Server desktop-2dfljpm:26060:ae790677 heartbeat successfully sent 2022-01-04 07:58:50.240 -05:00 [DBG] Server desktop-2dfljpm:26060:ae790677 heartbeat successfully sent 2022-01-04 07:59:20.292 -05:00 [DBG] Server desktop-2dfljpm:26060:ae790677 heartbeat successfully sent 2022-01-04 07:59:50.349 -05:00 [DBG] Server desktop-2dfljpm:26060:ae790677 heartbeat successfully sent

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    These logs are normal. not include the errors.

  • User Avatar
    0
    Rrader30 created

    Here is the only error I could find in the Identity Logs

    2022-01-04 08:16:06.476 -05:00 [DBG] Request path /connect/authorize matched to endpoint type Authorize 2022-01-04 08:16:06.482 -05:00 [DBG] Endpoint enabled: Authorize, successfully created handler: IdentityServer4.Endpoints.AuthorizeEndpoint 2022-01-04 08:16:06.482 -05:00 [INF] Invoking IdentityServer endpoint: IdentityServer4.Endpoints.AuthorizeEndpoint for /connect/authorize 2022-01-04 08:16:06.483 -05:00 [DBG] Start authorize request 2022-01-04 08:16:06.497 -05:00 [DBG] User in authorize request: 51464bf4-f1cb-779d-6252-3a00b739cc3a 2022-01-04 08:16:06.498 -05:00 [DBG] Start authorize request protocol validation 2022-01-04 08:16:07.342 -05:00 [ERR] Invalid client configuration for client TiberVendor_Swagger_API: No redirect URI configured. 2022-01-04 08:16:07.349 -05:00 [INF] {"ClientId":"TiberVendor_Swagger_API","ClientName":"TiberVendor_Swagger_API","Category":"Error","Name":"Invalid Client Configuration","EventType":"Error","Id":3001,"Message":"No redirect URI configured.","ActivityId":"80000012-0000-fa00-b63f-84710c7967bb","TimeStamp":"2022-01-04T13:16:07.0000000Z","ProcessId":26060,"LocalIpAddress":"::1:44365","RemoteIpAddress":"::1","$type":"InvalidClientConfigurationEvent"} 2022-01-04 08:16:07.356 -05:00 [ERR] Unknown client or not enabled: TiberVendor_Swagger_API {"ClientId":null,"ClientName":null,"RedirectUri":null,"AllowedRedirectUris":null,"SubjectId":"51464bf4-f1cb-779d-6252-3a00b739cc3a","ResponseType":null,"ResponseMode":null,"GrantType":null,"RequestedScopes":"","State":null,"UiLocales":null,"Nonce":null,"AuthenticationContextReferenceClasses":null,"DisplayMode":null,"PromptMode":"","MaxAge":null,"LoginHint":null,"SessionId":null,"Raw":{"client_id":"TiberVendor_Swagger_API","redirect_uri":"https://localhost:44350/signin-oidc","response_type":"code id_token","scope":"openid profile role email phone TiberVendor","response_mode":"form_post","nonce":"637768989664581484.OTg4MWU1MzItZmM0MC00ODY2LWEyN2UtNmI0MmVmZmEwMjkwMDA5MGVjN2MtZmVlNy00NmVjLTk0YWMtMjRjODE5M2M3ODJh","state":"CfDJ8H6grzoh7DtIlYlDfmJPrKUej933TsXls_saq_LipbWwjlKOeyNE78Bx2-i7CjfbKZ3lXQ0rrxoZTAtv_I7j5Y0VQu-0xGYXdkQD8grNKGbMIfDKlcEs2PO0DSpgPc7YeG8eEPVHH-8QPuj9UaPTJLE65eegkX5IKxh5J_VTQ5I6ksAmDqNUGwYouhOik74aQKAi5qGg4X_cEi5h5U8KqgI_hb2TnTuTsvLyrOobnAQbcfqAEljBjuhGJHbHQ4kMNaFL6Lu-jwPuvrrjk-t2fbzdGBRrvRt3tfVMtuvF7WXy","x-client-SKU":"ID_NETSTANDARD2_0","x-client-ver":"6.10.0.0"},"$type":"AuthorizeRequestValidationLog"} 2022-01-04 08:16:07.358 -05:00 [ERR] Request validation failed 2022-01-04 08:16:07.358 -05:00 [INF] {"ClientId":null,"ClientName":null,"RedirectUri":null,"AllowedRedirectUris":null,"SubjectId":"51464bf4-f1cb-779d-6252-3a00b739cc3a","ResponseType":null,"ResponseMode":null,"GrantType":null,"RequestedScopes":"","State":null,"UiLocales":null,"Nonce":null,"AuthenticationContextReferenceClasses":null,"DisplayMode":null,"PromptMode":"","MaxAge":null,"LoginHint":null,"SessionId":null,"Raw":{"client_id":"TiberVendor_Swagger_API","redirect_uri":"https://localhost:44350/signin-oidc","response_type":"code id_token","scope":"openid profile role email phone TiberVendor","response_mode":"form_post","nonce":"637768989664581484.OTg4MWU1MzItZmM0MC00ODY2LWEyN2UtNmI0MmVmZmEwMjkwMDA5MGVjN2MtZmVlNy00NmVjLTk0YWMtMjRjODE5M2M3ODJh","state":"CfDJ8H6grzoh7DtIlYlDfmJPrKUej933TsXls_saq_LipbWwjlKOeyNE78Bx2-i7CjfbKZ3lXQ0rrxoZTAtv_I7j5Y0VQu-0xGYXdkQD8grNKGbMIfDKlcEs2PO0DSpgPc7YeG8eEPVHH-8QPuj9UaPTJLE65eegkX5IKxh5J_VTQ5I6ksAmDqNUGwYouhOik74aQKAi5qGg4X_cEi5h5U8KqgI_hb2TnTuTsvLyrOobnAQbcfqAEljBjuhGJHbHQ4kMNaFL6Lu-jwPuvrrjk-t2fbzdGBRrvRt3tfVMtuvF7WXy","x-client-SKU":"ID_NETSTANDARD2_0","x-client-ver":"6.10.0.0"},"$type":"AuthorizeRequestValidationLog"}

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Invalid client configuration for client TiberVendor_Swagger_API: No redirect URI configured.

  • User Avatar
    0
    Rrader30 created

    Can I put anything in the redirect? The seed data did not appear to have this configured, so I did not set it.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    You can seed a new database to check the data.

    https://github.com/abpframework/abp/commit/cf28da1466877f4727f96277924416d4ec7fa9b2#diff-8b4655256c3fe3d4877ecf63001f2f037a6606d2be9b9e2b436050e966d37514R248-R259

  • User Avatar
    0
    Rrader30 created

    I set it to

    Now I get this error

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Try to clear the cookies and other of the localhost domain.

  • User Avatar
    0
    Rrader30 created

    okay clearing the cookies worked. Thank you!!

    Quick question, is there a way to figure when someone goes to /hangfire that it redirects to /home/login and once they login it takes them back to /hangfire?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can create a middleware to determine the requested URL and redirect to /home/login if the current request has no authentication.

    var authenticateResult = await httpContext.AuthenticateAsync("HangfireCookies");
    
    if (authenticateResult.Succeeded)
    

    https://docs.microsoft.com/en-us/aspnet/core/fundamentals/middleware/?view=aspnetcore-6.0

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06