Activities of "priyankasynapxe"

ABP Framework version: v8.1.1

UI Type:React

Database System: EF Core (SQL Server)

Tiered (for MVC) or Auth Server Separated (for Angular): yes

Exception message and full stack trace: NA

Steps to reproduce the issue: NA

Hi,

I'm not able to launch my application suddenly and below is the error in logs

2025-01-22 10:26:22.972 +08:00 [ERR] An unhandled exception has occurred while executing the request.

System.InvalidOperationException: When using X.509 encryption credentials, at least one of the registered certificates must be valid.

To use key rollover, register both the new certificate and the old one in the credentials collection.

   at OpenIddict.Server.OpenIddictServerConfiguration.PostConfigure(String name, OpenIddictServerOptions options)

   at Microsoft.Extensions.Options.OptionsFactory`1.Create(String name)

   at Microsoft.Extensions.Options.OptionsMonitor`1.<>c.<Get>b__10_0(String name, IOptionsFactory`1 factory)

   at Microsoft.Extensions.Options.OptionsCache`1.<>c__DisplayClass3_1`1.&lt;GetOrAdd&gt;b__2()

   at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)

   at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)

   at System.Lazy`1.CreateValue()

   at System.Lazy`1.get_Value()

   at Microsoft.Extensions.Options.OptionsCache`1.GetOrAdd[TArg](String name, Func`3 createOptions, TArg factoryArgument)

   at Microsoft.Extensions.Options.OptionsMonitor`1.Get(String name)

   at Microsoft.Extensions.Options.OptionsMonitor`1.get_CurrentValue()

   at OpenIddict.Validation.ServerIntegration.OpenIddictValidationServerIntegrationConfiguration.Configure(OpenIddictValidationOptions options)

   at Microsoft.Extensions.Options.OptionsFactory`1.Create(String name)

   at Microsoft.Extensions.Options.OptionsMonitor`1.&lt;&gt;c.&lt;Get&gt;b__10_0(String name, IOptionsFactory`1 factory)

   at Microsoft.Extensions.Options.OptionsCache`1.&lt;&gt;c__DisplayClass3_1`1.<GetOrAdd>b__2()

   at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)

--- End of stack trace from previous location ---

   at System.LazyHelper.ThrowException()

   at System.Lazy`1.CreateValue()

   at System.Lazy`1.get_Value()

   at System.Lazy`1.CreateValue()

   at System.Lazy`1.get_Value()

   at Microsoft.Extensions.Options.OptionsCache`1.GetOrAdd[TArg](String name, Func`3 createOptions, TArg factoryArgument)

   at Microsoft.Extensions.Options.OptionsMonitor`1.Get(String name)

   at Microsoft.Extensions.Options.OptionsMonitor`1.get_CurrentValue()

   at OpenIddict.Validation.OpenIddictValidationFactory.CreateTransactionAsync()

   at OpenIddict.Validation.AspNetCore.OpenIddictValidationAspNetCoreHandler.HandleRequestAsync()

   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)

   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)

   at eFC.Web.eFCWebModule.&lt;&gt;c.&lt;&lt;OnApplicationInitialization&gt;b__14_0>d.MoveNext() in /work/3/747/s/src/src/eFC.Web/eFCWebModule.cs:line 430

--- End of stack trace from previous location ---

   at eFC.Web.eFCWebModule.&lt;&gt;c.&lt;&lt;OnApplicationInitialization&gt;b__14_0>d.MoveNext() in /work/3/747/s/src/src/eFC.Web/eFCWebModule.cs:line 430

--- End of stack trace from previous location ---

   at Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware.&lt;Invoke&gt;g__AwaitMatcher|10_0(EndpointRoutingMiddleware middleware, HttpContext httpContext, Task`1 matcherTask)

   at Volo.Abp.AspNetCore.Tracing.AbpCorrelationIdMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)

   at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.InterfaceMiddlewareBinder.<>c__DisplayClass2_0.<<CreateMiddleware>b__0>d.MoveNext()

--- End of stack trace from previous location ---

   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|10_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
 

after further analysis I found openiddict cert is expired. Is there any way by which I can create cert from code automatically whenever cert is about to expire?

thanks

ABP Framework version: v8.1.1

UI Type:React

Database System: EF Core (SQL Server)

Tiered (for MVC) or Auth Server Separated (for Angular): yes

Exception message and full stack trace: NA

Steps to reproduce the issue: NA

Hi,

In my application some external system user is calling one API from where we redirect to some page of my application, sample of API is below

    [Authorize]
    public async Task&lt;IActionResult&gt; BTViewEncounter(string MRN, string ENo)
    {
     string webRedirctUrl = string.Empty;
        IConfigurationRoot _config = new ConfigurationBuilder().SetBasePath(Directory.GetParent(AppContext.BaseDirectory).FullName)
         .AddJsonFile("appsettings.json", false).Build();
        string webBaseUri = _config.GetSection("WebUISetting:URL").Get&lt;string&gt;();
        webRedirctUrl = webBaseUri;
        if (!string.IsNullOrEmpty(MRN) || !string.IsNullOrEmpty(EncounterNo))
        {
            Encounter encounters = new Encounter();
            try
            {
                encounters = await _encounterRepository.GetEncounterAsync(ENo, MRN);
                if (encounters != null)
                { 
                        string relativeUri = string.Format("{0}{1}{2}{3}",
                        "read/admission/view?",
                            "encounterNo=" + encounters.Encounter.IdentificationText,
                            "&encounterId=" + encounters.Encounter.Id.ToString(),
                            "&institutionId=" + encounters.Encounter.InstitutionId.ToString());

                        Uri CompleteUrl = new Uri(new Uri(webBaseUri), relativeUri);
                        webRedirctUrl = CompleteUrl.ToString();
                }
                else
                {
                    webRedirctUrl = string.Format("{0}{1}", webBaseUri, "datanotfound.html");
                }
            }
            catch (Exception)
            {
                throw;

            }
        }
        return Redirect(webRedirctUrl);
    }
    

In the same service I have 3 API, all 3 API is doing the redirect on some page, every first API call is working fine but from 2nd call onwards user is getting below error, seems like it is trying to create multiple cookies

All 3 requests are working fine If I remove [Authorize] tag from APIs.

Please help why with [Authorize] tag it is giving "Bad Request - Request Too Long".

Thanks

Question

ABP Framework version: v8.1.1

UI Type:React

Database System: EF Core (SQL Server)

Tiered (for MVC) or Auth Server Separated (for Angular): yes

Exception message and full stack trace: NA

Steps to reproduce the issue: NA

Hi, I have recently added a new table but sometimes I found below error in log file. Please help me to know the rott cause and way to fix it.

Thanks.

ABP Framework version: v8.1.1

UI Type:React

Database System: EF Core (SQL Server)

Tiered (for MVC) or Auth Server Separated (for Angular): yes

Exception message and full stack trace: NA

Steps to reproduce the issue: NA

Hi, I'm trying to log my token value in log file. we are calling /connect/token to get token. Please help how I can log token value.

Thanks.

Showing 11 to 14 of 14 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.2.0-preview. Updated on February 05, 2026, 13:24
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.