ABP Framework version: v8.0.1
UI Type: Angular
Database System: EF Core (SQL Server)
Tiered (for MVC) or Auth Server Separated (for Angular): Auth Server Separated
Exception message and full stack trace:Failed to validate the token.
Microsoft.IdentityModel.Tokens.SecurityTokenExpiredException: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '7/31/2024 11:58:08 AM', Current time (UTC): '9/10/2024 12:53:59 PM'.
at Microsoft.IdentityModel.Tokens.Validators.ValidateLifetime(Nullable1 notBefore, Nullable
1 expires, SecurityToken securityToken, TokenValidationParameters validationParameters)
at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateTokenPayloadAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration)
at Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler.ValidateJWSAsync(JsonWebToken jsonWebToken, TokenValidationParameters validationParameters, BaseConfiguration configuration)
2024-09-10 12:53:59.835 +00:00 [INF] Bearer was not authenticated. Failure message: IDX10223: Lifetime validation failed. The token is expired. ValidTo (UTC): '7/31/2024 11:58:08 AM', Current time (UTC): '9/10/2024 12:53:59 PM'.
2024-09-10 12:53:59.841 +00:00 [INF] Executing endpoint 'Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationController.GetAsync (Volo.Abp.AspNetCore.Mvc)'
2024-09-10 12:53:59.841 +00:00 [INF] Route matched with {area = "abp", action = "Get", controller = "AbpApplicationConfiguration", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ApplicationConfigurationDto] GetAsync(Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ApplicationConfigurationRequestOptions) on controller Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.AbpApplicationConfigurationController (Volo.Abp.AspNetCore.Mvc).
Steps to reproduce the issue: Yesterday all of a sudden there was a complete black screen displayed on the Production Portal. Refreshing the page did not help, however, restarting the API helped and Users were able to login to the application again.
Why do we see a back screen during this call - ** Request starting HTTP/1.1 GET https://api.xxxxx.com/api/abp/application-configuration?includeLocalizationResources=false - null null**
How can we navigate to Login page when the application does not respond with a black screen. Please refer the screen shot.
A lot of users were unable to access the application for almost 2 hours.
As this is a Production issue, I am requesting immediate assistance from you.
Thanks.
Hi, We are facing issue with Abp CMS kit pro. CSS styles and Java Script Code doesn't apply to the HTML code because of, If I give a content like then it will render in UI like .
So, the class="content " onclick="myFunction();" does not appear.
This is my HTML code,
CSS Style
Java Script Code
But, it will render in UI (dev tool inspect page) like below,
As well as we are refer this https://github.com/abpframework/abp/issues/13274. I didn't get the right solution.
How can I resolve this issue?
Please give a solution for this as soon as possible. Thanks!
at Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectConfigurationRetriever.GetAsync(String address, IDocumentRetriever retriever, CancellationToken cancel)
at Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync(CancellationToken cancel)
--- End of inner exception stack trace ---
at Microsoft.IdentityModel.Protocols.ConfigurationManager`1.GetConfigurationAsync(CancellationToken cancel)
at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()
at Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler.HandleAuthenticateAsync()
at Microsoft.AspNetCore.Authentication.AuthenticationHandler`1.AuthenticateAsync()
at Microsoft.AspNetCore.Authentication.AuthenticationService.AuthenticateAsync(HttpContext context, String scheme)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Volo.Abp.AspNetCore.Security.AbpSecurityHeadersMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<b__1>d.MoveNext()
abp login <username>
.
2023-08-25 15:45:26 For more information, contact to license@abp.io.
2023-08-25T10:28:44.673284600ZAuthServer terminated unexpectedly!
Volo.Abp.AbpInitializationException: An error occurred during the initialize Vol
2023-08-25 12:34:09 o.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor phase of
2023-08-25 12:34:09 the module Volo.Abp.AspNetCore.AbpAspNetCoreModule, Volo.Abp.AspNetCore, Version
2023-08-25 12:34:09 =7.3.2.0, Culture=neutral, PublicKeyToken=null: An exception was thrown while ac
2023-08-25 12:34:09 tivating λ:Volo.Abp.AspNetCore.VirtualFileSystem.IWebContentFileProvider -> Volo
2023-08-25 12:34:09 .Abp.AspNetCore.VirtualFileSystem.WebContentFileProvider -> λ:Volo.Abp.VirtualFi
2023-08-25 12:34:09 leSystem.IVirtualFileProvider -> Volo.Abp.VirtualFileSystem.VirtualFileProvider.
2023-08-25 12:34:09 . See the inner exception for details.
2023-08-25 12:34:09 ---> Autofac.Core.DependencyResolutionException: An exception was thrown while
2023-08-25 12:34:09 activating λ:Volo.Abp.AspNetCore.VirtualFileSystem.IWebContentFileProvider -> Vo
2023-08-25 12:34:09 lo.Abp.AspNetCore.VirtualFileSystem.WebContentFileProvider -> λ:Volo.Abp.Virtual
2023-08-25 12:34:09 FileSystem.IVirtualFileProvider -> Volo.Abp.VirtualFileSystem.VirtualFileProvide
2023-08-25 12:34:09 r.
2023-08-25 12:34:09 ---> Autofac.Core.DependencyResolutionException: An exception was thrown while
2023-08-25 12:34:09 invoking the constructor 'Void .ctor(Microsoft.Extensions.Options.IOptions1[Vol 2023-08-25 12:34:09 o.Abp.VirtualFileSystem.AbpVirtualFileSystemOptions], Volo.Abp.VirtualFileSystem 2023-08-25 12:34:09 .IDynamicFileProvider)' on type 'VirtualFileProvider'. 2023-08-25 12:34:09 ---> System.IO.DirectoryNotFoundException: C:\WDN.HealthySmiles.Domain.Shared\ 2023-08-25 12:34:09 at Microsoft.Extensions.FileProviders.PhysicalFileProvider..ctor(String root, 2023-08-25 12:34:09 ExclusionFilters filters) 2023-08-25 12:34:09 at Volo.Abp.VirtualFileSystem.VirtualFileSetListExtensions.ReplaceEmbeddedByP 2023-08-25 12:34:09 hysical[T](VirtualFileSetList fileSets, String physicalPath) 2023-08-25 12:34:09 at WDN.HealthySmiles.HealthySmilesAuthServerModule.<>c__DisplayClass1_0.<Conf 2023-08-25 12:34:09 igureServices>b__4(AbpVirtualFileSystemOptions options) in C:\Users\Sanobar\sour 2023-08-25 12:34:09 ce\repos\WDN.HealthySmiles\aspnet-core\src\WDN.HealthySmiles.AuthServer\HealthyS 2023-08-25 12:34:09 milesAuthServerModule.cs:line 152 2023-08-25 12:34:09 at Microsoft.Extensions.Options.OptionsFactory
1.Create(String name)
2023-08-25 12:34:09 at Microsoft.Extensions.Options.UnnamedOptionsManager1.get_Value() 2023-08-25 12:34:09 at lambda_method1529(Closure, Object[]) 2023-08-25 12:34:09 at Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate() 2023-08-25 12:34:09 --- End of inner exception stack trace --- 2023-08-25 12:34:09 at Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate() 2023-08-25 12:34:09 at Autofac.Core.Activators.Reflection.ReflectionActivator.<>c__DisplayClass14 2023-08-25 12:34:09 _0.<UseSingleConstructorActivation>b__0(ResolveRequestContext ctxt, Action
1 nex
2023-08-25 12:34:09 t)
2023-08-25 12:34:09 at Autofac.Core.Resolving.Middleware.DelegateMiddleware.Execute(ResolveReques
2023-08-25 12:34:09 tContext context, Action1 next) 2023-08-25 12:34:09 at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14 2023-08-25 12:34:09 _0.<BuildPipeline>b__1(ResolveRequestContext ctxt) 2023-08-25 12:34:09 at Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute(Resol 2023-08-25 12:34:09 veRequestContext context, Action
1 next)
2023-08-25 12:34:09 at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14
2023-08-25 12:34:09 _0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
2023-08-25 12:34:09 at Autofac.Builder.RegistrationBuilder3.<>c__DisplayClass41_0.<PropertiesAut 2023-08-25 12:34:09 owired>b__0(ResolveRequestContext ctxt, Action
1 next)
2023-08-25 12:34:09 at Autofac.Core.Resolving.Middleware.DelegateMiddleware.Execute(ResolveReques
2023-08-25 12:34:09 tContext context, Action1 next) 2023-08-25 12:34:09 at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14 2023-08-25 12:34:09 _0.<BuildPipeline>b__1(ResolveRequestContext ctxt) 2023-08-25 12:34:09 at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute 2023-08-25 12:34:09 (ResolveRequestContext context, Action
1 next)
2023-08-25 12:34:09 --- End of inner exception stack trace ---
2023-08-25 12:34:09 at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute
2023-08-25 12:34:09 (ResolveRequestContext context, Action1 next) 2023-08-25 12:34:09 at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14 2023-08-25 12:34:09 _0.<BuildPipeline>b__1(ResolveRequestContext ctxt) 2023-08-25 12:34:09 at Autofac.Core.Pipeline.ResolvePipeline.Invoke(ResolveRequestContext ctxt) 2023-08-25 12:34:09 at Autofac.Core.Resolving.Middleware.RegistrationPipelineInvokeMiddleware.Exe 2023-08-25 12:34:09 cute(ResolveRequestContext context, Action
1 next)
2023-08-25 12:34:09 at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14
2023-08-25 12:34:09 _0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
2023-08-25 12:34:09 at Autofac.Core.Resolving.Middleware.SharingMiddleware.<>c__DisplayClass5_0.<
2023-08-25 12:34:09 Execute>b__0()
2023-08-25 12:34:09 at Autofac.Core.Lifetime.LifetimeScope.CreateSharedInstance(Guid id, Func1 c 2023-08-25 12:34:09 reator) 2023-08-25 12:34:09 at Autofac.Core.Lifetime.LifetimeScope.CreateSharedInstance(Guid primaryId, N 2023-08-25 12:34:09 ullable
1 qualifyingId, Func1 creator) 2023-08-25 12:34:09 at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute(ResolveRequest 2023-08-25 12:34:09 Context context, Action
1 next)
2023-08-25 12:34:09 at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14
2023-08-25 12:34:09 _0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
2023-08-25 12:34:09 at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14
2023-08-25 12:34:09 _0.<BuildPipeline>b__1(ResolveRequestContext ctxt)
2023-08-25 12:34:09 at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Exe
2023-08-25 12:34:09 cute(ResolveRequestContext context, Action1 next) 2023-08-25 12:34:09 at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14 2023-08-25 12:34:09 _0.<BuildPipeline>b__1(ResolveRequestContext ctxt) 2023-08-25 12:34:09 at Autofac.Core.Pipeline.ResolvePipeline.Invoke(ResolveRequestContext ctxt) 2023-08-25 12:34:09 at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifeti 2023-08-25 12:34:09 meScope currentOperationScope, ResolveRequest request) 2023-08-25 12:34:09 at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation(ResolveRequest re 2023-08-25 12:34:09 quest) 2023-08-25 12:34:09 at Autofac.Core.Resolving.ResolveOperation.Execute(ResolveRequest request) 2023-08-25 12:34:09 at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(ResolveRequest reques 2023-08-25 12:34:09 t) 2023-08-25 12:34:09 at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, 2023-08-25 12:34:09 Service service, IEnumerable
1 parameters, Object& instance)
2023-08-25 12:34:09 at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Ser
2023-08-25 12:34:09 vice service, IEnumerable1 parameters) 2023-08-25 12:34:09 at Autofac.ResolutionExtensions.Resolve(IComponentContext context, Type servi 2023-08-25 12:34:09 ceType, IEnumerable
1 parameters)
2023-08-25 12:34:09 at Autofac.ResolutionExtensions.Resolve(IComponentContext context, Type servi
2023-08-25 12:34:09 ceType)
2023-08-25 12:34:09 at Autofac.Extensions.DependencyInjection.AutofacServiceProvider.GetRequiredS
2023-08-25 12:34:09 ervice(Type serviceType)
2023-08-25 12:34:09 at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.
2023-08-25 12:34:09 GetRequiredService[T](IServiceProvider provider)
2023-08-25 12:34:09 at Volo.Abp.AspNetCore.AbpAspNetCoreModule.OnApplicationInitialization(Applic
2023-08-25 12:34:09 ationInitializationContext context)
2023-08-25 12:34:09 at Volo.Abp.Modularity.AbpModule.OnApplicationInitializationAsync(Application
2023-08-25 12:34:09 InitializationContext context)
2023-08-25 12:34:09 at Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor.
2023-08-25 12:34:09 InitializeAsync(ApplicationInitializationContext context, IAbpModule module)
2023-08-25 12:34:09 at Volo.Abp.Modularity.ModuleManager.InitializeModulesAsync(ApplicationInitia
2023-08-25 12:34:09 lizationContext context)
2023-08-25 12:34:09 --- End of inner exception stack trace ---
2023-08-25 12:34:09 at Volo.Abp.Modularity.ModuleManager.InitializeModulesAsync(ApplicationInitia
2023-08-25 12:34:09 lizationContext context)
2023-08-25 12:34:09 at Volo.Abp.AbpApplicationBase.InitializeModulesAsync()
2023-08-25 12:34:09 at Volo.Abp.AbpApplicationWithExternalServiceProvider.InitializeAsync(IServic
2023-08-25 12:34:09 eProvider serviceProvider)
2023-08-25 12:34:09 at Microsoft.AspNetCore.Builder.AbpApplicationBuilderExtensions.InitializeApp
2023-08-25 12:34:09 licationAsync(IApplicationBuilder app)
2023-08-25 12:34:09 at WDN.HealthySmiles.Program.Main(String[] args) in C:\Users\Sanobar\source\r
2023-08-25 12:34:09 epos\WDN.HealthySmiles\aspnet-core\src\WDN.HealthySmiles.AuthServer\Program.cs:l
2023-08-25 12:34:09 ine 38
2023-08-25T07:19:29.130200600Z
if (hostingEnvironment.IsDevelopment())
{
Configure<AbpVirtualFileSystemOptions>(options =>
{
//options.FileSets.ReplaceEmbeddedByPhysical<AppNameDomainSharedModule>(Path.Combine(hostingEnvironment.ContentRootPath, string.Format("..{0}WDN.HealthySmiles.Domain.Shared", Path.DirectorySeparatorChar)));
//options.FileSets.ReplaceEmbeddedByPhysical<HealthySmilesDomainModule>(Path.Combine(hostingEnvironment.ContentRootPath, string.Format("..{0}WDN.HealthySmiles.Domain", Path.DirectorySeparatorChar)));
});
}
Is this required while deployment?