Ok, now the breakpoint works inside of AddAbpCookieConsent
At first, however, nothing appeared on the website (just an empty AbpCookieConsent
widget).
Btw, you should also add app.UseAbpCookieConsent() in your request pipeline.
To add app.UseAbpCookieConsent()
in the OnApplicationInitialization
method makes the difference. This is very important. And the order is also very important. I had it at the end first, but that didn't work. Now I have it after app.UseAuthentication();
and then it works.
Some very important information that I think is missing in the documentation. Please add them so that others don't stumble across the same errors.
Thank you @EngincanV for your help.
Yes, this is the correct package to add to your public web project. If the cookie consent still doesn't appear, it's possible that there's an entry in your localStorage with the value set to 'dismiss'. Please check your localStorage, clear it if possible, and try again to see if the consent banner is displayed.
Clearing the local storage cache did not help...
That's my code:
I set a breakpoint on line 115, but never get there.
But when I make a breakpoint in the options (options.IsEnabled), the debugger doesn't break... I think, something else is wrong...
Thank you for the very quick reply.
The problem is probably because this module is only integrated in the Blazor app, but not yet in MyProject.Web.Public.
But your code does not work for me when I want to insert it in MyProjectWebPublicModule.
I have to adapt it as follows:
Configure<AbpCookieConsentOptions>(options =>
{
options.IsEnabled = true;
options.CookiePolicyUrl = "/CookiePolicy";
options.PrivacyPolicyUrl = "/PrivacyPolicy";
});
But this compiles but the options are never set and it doesn't work either....
Which package do I need to have in the project? Volo.Abp.Gdpr.Abstractions?
Thank you for the very quick reply.
The problem is probably because this module is only integrated in the Blazor app, but not yet in MyProject.Web.Public.
But your code does not work for me when I want to insert it in MyProjectWebPublicModule.
I have to adapt it as follows:
Configure<AbpCookieConsentOptions>(options =>
{
options.IsEnabled = true;
options.CookiePolicyUrl = "/CookiePolicy";
options.PrivacyPolicyUrl = "/PrivacyPolicy";
});
But this compiles but the options are never set and it doesn't work either....
Hi,
I can activate the cookie consent message in the Blazor app.
But how does this work with the public website (MVC)?
Thanks, Adrian
We had the further conversation via e-mail. But I would like to share my solution here in case someone has the same problem.
Thanks @maliming for your help.
The connection was always terminated by the client (i.e. by the AlwaysOn service). We don't know why, maybe a short timeout... But this is something we cannot control / configure.
[2025-04-08 12:36:38 DBG] The request was aborted by the client.
[2025-04-08 12:36:38 INF] Request finished HTTP/1.1 GET https://www.myProjectUrl.ch/ - 499 null text/html; charset=utf-8 868.9678ms
public override void OnApplicationInitialization(ApplicationInitializationContext context)
{
...
app.UseAbpRequestLocalization();
if (!env.IsDevelopment())
{
app.UseErrorPage();
// Handle the AlwaysOn ping (avoid errors in Azure)
app.Use(async (httpContext, next) =>
{
if (httpContext.Request.Path == "/")
{
var browserInfo = httpContext.RequestServices.GetRequiredService<IWebClientInfoProvider>().BrowserInfo;
if (browserInfo != null && browserInfo == "AlwaysOn")
{
// This is a ping from Azure AlwaysOn service
httpContext.Response.ContentType = "text/plain";
await httpContext.Response.WriteAsync("AlwaysOn - Ping OK");
return;
}
}
await next(httpContext);
});
}
app.UseStaticFiles();
app.UseRouting();
...
}
This means that the request is intercepted and answered right at the start. After that I had no further problems.
Important: I had to insert this code before app.UseRouting()
. First I had it at the end of the method, but that didn't work (probably because of the order of the route definition).
Here is a larger excerpt from the log:
[2025-04-07 10:01:59 INF] Request starting HTTP/1.1 GET http://www.myProjectUrl.ch/ - null null
[2025-04-07 10:01:59 DBG] The request path / does not match a supported file type
[2025-04-07 10:01:59 DBG] 3 candidate(s) found for the request path '/'
[2025-04-07 10:01:59 DBG] Endpoint '/' with route pattern '/' is valid for the request path '/'
[2025-04-07 10:01:59 DBG] Endpoint '/Index' with route pattern '' is valid for the request path '/'
[2025-04-07 10:01:59 DBG] Endpoint '{**slug}' with route pattern '{**slug}' is valid for the request path '/'
[2025-04-07 10:01:59 DBG] Request matched endpoint '/Index'
[2025-04-07 10:01:59 DBG] AuthenticationScheme: Cookies was not authenticated.
[2025-04-07 10:01:59 INF] Executing endpoint '/Index'
[2025-04-07 10:01:59 INF] Route matched with {page = "/Index", action = "", controller = "", area = ""}. Executing page /Index
[2025-04-07 10:01:59 DBG] Execution plan of authorization filters (in the following order): ["Volo.Abp.AspNetCore.Mvc.AntiForgery.AbpAutoValidateAntiforgeryTokenAuthorizationFilter","Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.AutoValidateAntiforgeryTokenAuthorizationFilter"]
[2025-04-07 10:01:59 DBG] Execution plan of resource filters (in the following order): ["Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter"]
[2025-04-07 10:01:59 DBG] Execution plan of action filters (in the following order): ["Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)","Volo.Abp.AspNetCore.Mvc.GlobalFeatures.GlobalFeatureActionFilter","Volo.Abp.AspNetCore.Mvc.Auditing.AbpAuditActionFilter","Volo.Abp.AspNetCore.Mvc.Response.AbpNoContentActionFilter","Volo.Abp.AspNetCore.Mvc.Features.AbpFeatureActionFilter","Volo.Abp.AspNetCore.Mvc.Validation.AbpValidationActionFilter","Volo.Abp.AspNetCore.Mvc.Uow.AbpUowActionFilter"]
[2025-04-07 10:01:59 DBG] Execution plan of exception filters (in the following order): ["Volo.Abp.AspNetCore.Mvc.ExceptionHandling.AbpExceptionFilter"]
[2025-04-07 10:01:59 DBG] Execution plan of result filters (in the following order): ["Microsoft.AspNetCore.Mvc.ViewFeatures.Filters.SaveTempDataFilter"]
[2025-04-07 10:01:59 INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy
[2025-04-07 10:01:59 DBG] Executing page model factory for page AspNetCoreGeneratedDocument.Pages_Index (Palma.Web.Public)
[2025-04-07 10:01:59 DBG] Executed page model factory for page AspNetCoreGeneratedDocument.Pages_Index (Palma.Web.Public)
[2025-04-07 10:01:59 INF] Executing handler method Palma.Web.Public.Pages.IndexModel.OnGet - ModelState is "Valid"
[2025-04-07 10:01:59 INF] Executed handler method OnGet, returned result .
[2025-04-07 10:01:59 INF] Executing an implicit handler method - ModelState is "Valid"
[2025-04-07 10:01:59 INF] Executed an implicit handler method, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult.
[2025-04-07 10:01:59 DBG] A new antiforgery cookie token was created.
[2025-04-07 10:01:59 DBG] Executing view component Volo.Abp.AspNetCore.Mvc.UI.Components.LayoutHook.LayoutHookViewComponent with arguments (["Header.First","Application"]).
[2025-04-07 10:01:59 DBG] Executed view component Volo.Abp.AspNetCore.Mvc.UI.Components.LayoutHook.LayoutHookViewComponent in 0.01ms and returned Microsoft.AspNetCore.Mvc.ViewComponents.ViewViewComponentResult
[2025-04-07 10:01:59 DBG] Added bundle 'LeptonX.Global' to the page in 6,01 ms.
[2025-04-07 10:01:59 DBG] Executing view component Volo.Abp.AspNetCore.Mvc.UI.Widgets.Components.WidgetStyles.WidgetStylesViewComponent with arguments ([]).
[2025-04-07 10:01:59 DBG] Executed view component Volo.Abp.AspNetCore.Mvc.UI.Widgets.Components.WidgetStyles.WidgetStylesViewComponent in 0.0163ms and returned Microsoft.AspNetCore.Mvc.ViewComponents.ViewViewComponentResult
[2025-04-07 10:01:59 DBG] Added bundle 'Pages.Index' to the page in 0,28 ms.
.....
[2025-04-07 10:02:00 DBG] Connection id "0HNBLN4LG50S5" received FIN.
[2025-04-07 10:02:00 DBG] Connection id "0HNBLN4LG50S5" sending FIN because: "The Socket transport's send loop completed gracefully."
[2025-04-07 10:02:00 DBG] Connection id "0HNBLN4LG50S5" disconnecting.
[2025-04-07 10:02:00 DBG] Added bundle 'LeptonX.Global' to the page in 35,90 ms.
[2025-04-07 10:02:00 DBG] Executing view component Volo.Abp.AspNetCore.Mvc.UI.Widgets.Components.WidgetScripts.WidgetScriptsViewComponent with arguments ([]).
[2025-04-07 10:02:00 DBG] Executed view component Volo.Abp.AspNetCore.Mvc.UI.Widgets.Components.WidgetScripts.WidgetScriptsViewComponent in 0.016ms and returned Microsoft.AspNetCore.Mvc.ViewComponents.ViewViewComponentResult
[2025-04-07 10:02:00 DBG] Added bundle 'Pages.Index' to the page in 0,16 ms.
[2025-04-07 10:02:00 DBG] Executing view component Volo.Abp.AspNetCore.Mvc.UI.Components.LayoutHook.LayoutHookViewComponent with arguments (["Body.Last","Application"]).
[2025-04-07 10:02:00 DBG] Executed view component Volo.Abp.AspNetCore.Mvc.UI.Components.LayoutHook.LayoutHookViewComponent in 0.0114ms and returned Microsoft.AspNetCore.Mvc.ViewComponents.ViewViewComponentResult
[2025-04-07 10:02:00 DBG] Executing view component Volo.CmsKit.Public.Web.Pages.CmsKit.Shared.Components.GlobalResources.Script.GlobalScriptViewComponent with arguments ([]).
[2025-04-07 10:02:00 WRN] The operation was canceled.
System.OperationCanceledException: The operation was canceled.
at System.Threading.CancellationToken.ThrowOperationCanceledException()
at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.GetAsync(String key, CancellationToken token)
at Volo.Abp.Caching.DistributedCache`2.GetAsync(TCacheKey key, Nullable`1 hideErrors, Boolean considerUow, CancellationToken token)
[2025-04-07 10:02:00 DBG] Entity Framework Core 8.0.4 initialized 'FeatureManagementDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer:8.0.4' with options: QuerySplittingBehavior=SplitQuery AbpOptionsExtension
[2025-04-07 10:02:00 DBG] Creating DbConnection.
[2025-04-07 10:02:00 DBG] Created DbConnection. (2ms).
[2025-04-07 10:02:00 DBG] Opening connection to database 'Palma-Prod' on server 'tcp:palma-sqlserver.database.windows.net,1433'.
[2025-04-07 10:02:00 ERR] An error occurred using the connection to database 'Palma-Prod' on server 'tcp:palma-sqlserver.database.windows.net,1433'.
[2025-04-07 10:02:00 DBG] A query was canceled for context type 'Volo.Abp.FeatureManagement.EntityFrameworkCore.FeatureManagementDbContext'.
[2025-04-07 10:02:00 INF] Executed page /Index in 598.3426ms
[2025-04-07 10:02:00 INF] Executed endpoint '/Index'
[2025-04-07 10:02:00 DBG] DetectChanges starting for 'FeatureManagementDbContext'.
[2025-04-07 10:02:00 DBG] DetectChanges completed for 'FeatureManagementDbContext'.
[2025-04-07 10:02:00 DBG] DetectChanges starting for 'FeatureManagementDbContext'.
[2025-04-07 10:02:00 DBG] DetectChanges completed for 'FeatureManagementDbContext'.
[2025-04-07 10:02:00 DBG] DetectChanges starting for 'FeatureManagementDbContext'.
[2025-04-07 10:02:00 DBG] DetectChanges completed for 'FeatureManagementDbContext'.
[2025-04-07 10:02:00 DBG] SaveChanges starting for 'FeatureManagementDbContext'.
[2025-04-07 10:02:00 DBG] DetectChanges starting for 'FeatureManagementDbContext'.
[2025-04-07 10:02:00 DBG] DetectChanges completed for 'FeatureManagementDbContext'.
[2025-04-07 10:02:00 DBG] SaveChanges completed for 'FeatureManagementDbContext' with 0 entities written to the database.
[2025-04-07 10:02:00 DBG] Added 0 entity changes to the current audit log
[2025-04-07 10:02:00 DBG] Entity Framework Core 8.0.4 initialized 'AbpAuditLoggingDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer:8.0.4' with options: QuerySplittingBehavior=SplitQuery AbpOptionsExtension
[2025-04-07 10:02:00 DBG] Context 'AbpAuditLoggingDbContext' started tracking 'AuditLog' entity. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see key values.
[2025-04-07 10:02:00 DBG] Context 'AbpAuditLoggingDbContext' started tracking 'AuditLogAction' entity. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see key values.
[2025-04-07 10:02:00 DBG] DetectChanges starting for 'AbpAuditLoggingDbContext'.
[2025-04-07 10:02:00 DBG] DetectChanges completed for 'AbpAuditLoggingDbContext'.
[2025-04-07 10:02:00 DBG] DetectChanges starting for 'AbpAuditLoggingDbContext'.
[2025-04-07 10:02:00 DBG] DetectChanges completed for 'AbpAuditLoggingDbContext'.
[2025-04-07 10:02:00 DBG] DetectChanges starting for 'AbpAuditLoggingDbContext'.
[2025-04-07 10:02:00 DBG] DetectChanges completed for 'AbpAuditLoggingDbContext'.
[2025-04-07 10:02:00 DBG] SaveChanges starting for 'AbpAuditLoggingDbContext'.
[2025-04-07 10:02:00 DBG] DetectChanges starting for 'AbpAuditLoggingDbContext'.
[2025-04-07 10:02:00 DBG] DetectChanges completed for 'AbpAuditLoggingDbContext'.
[2025-04-07 10:02:00 DBG] Executing 2 update commands as a batch.
[2025-04-07 10:02:00 DBG] Creating DbConnection.
[2025-04-07 10:02:00 DBG] Created DbConnection. (0ms).
[2025-04-07 10:02:00 DBG] Opening connection to database 'Palma-Prod' on server 'tcp:palma-sqlserver.database.windows.net,1433'.
[2025-04-07 10:02:00 DBG] Opened connection to database 'Palma-Prod' on server 'tcp:palma-sqlserver.database.windows.net,1433'.
[2025-04-07 10:02:00 DBG] Beginning transaction with isolation level 'Unspecified'.
[2025-04-07 10:02:00 DBG] Began transaction with isolation level 'ReadCommitted'.
[2025-04-07 10:02:00 DBG] Creating DbCommand for 'ExecuteReader'.
[2025-04-07 10:02:00 DBG] Created DbCommand for 'ExecuteReader' (0ms).
[2025-04-07 10:02:00 DBG] Initialized DbCommand for 'ExecuteReader' (6ms).
[2025-04-07 10:02:00 DBG] Executing DbCommand [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 96), @p2='?' (Size = 512), @p3='?' (Size = 64), @p4='?' (Size = 64), @p5='?' (Size = 128), @p6='?' (Size = 256), @p7='?' (Size = 40), @p8='?' (Size = 64), @p9='?' (Size = 4000), @p10='?' (DbType = Int32), @p11='?' (DbType = DateTime2), @p12='?' (Size = 4000), @p13='?' (Size = 16), @p14='?' (DbType = Int32), @p15='?' (DbType = Guid), @p16='?' (Size = 64), @p17='?' (DbType = Guid), @p18='?' (Size = 256), @p19='?' (DbType = Guid), @p20='?' (Size = 64), @p21='?' (Size = 256), @p22='?' (DbType = Guid), @p23='?' (Size = 256), @p24='?' (DbType = Guid), @p25='?' (DbType = Guid), @p26='?' (DbType = Int32), @p27='?' (DbType = DateTime2), @p28='?' (Size = 4000), @p29='?' (Size = 128), @p30='?' (Size = 2000), @p31='?' (Size = 256), @p32='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [AbpAuditLogs] ([Id], [ApplicationName], [BrowserInfo], [ClientId], [ClientIpAddress], [ClientName], [Comments], [ConcurrencyStamp], [CorrelationId], [Exceptions], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [HttpMethod], [HttpStatusCode], [ImpersonatorTenantId], [ImpersonatorTenantName], [ImpersonatorUserId], [ImpersonatorUserName], [TenantId], [TenantName], [Url], [UserId], [UserName])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21, @p22, @p23);
INSERT INTO [AbpAuditLogActions] ([Id], [AuditLogId], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [MethodName], [Parameters], [ServiceName], [TenantId])
VALUES (@p24, @p25, @p26, @p27, @p28, @p29, @p30, @p31, @p32);
[2025-04-07 10:02:00 INF] Executed DbCommand (4ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 96), @p2='?' (Size = 512), @p3='?' (Size = 64), @p4='?' (Size = 64), @p5='?' (Size = 128), @p6='?' (Size = 256), @p7='?' (Size = 40), @p8='?' (Size = 64), @p9='?' (Size = 4000), @p10='?' (DbType = Int32), @p11='?' (DbType = DateTime2), @p12='?' (Size = 4000), @p13='?' (Size = 16), @p14='?' (DbType = Int32), @p15='?' (DbType = Guid), @p16='?' (Size = 64), @p17='?' (DbType = Guid), @p18='?' (Size = 256), @p19='?' (DbType = Guid), @p20='?' (Size = 64), @p21='?' (Size = 256), @p22='?' (DbType = Guid), @p23='?' (Size = 256), @p24='?' (DbType = Guid), @p25='?' (DbType = Guid), @p26='?' (DbType = Int32), @p27='?' (DbType = DateTime2), @p28='?' (Size = 4000), @p29='?' (Size = 128), @p30='?' (Size = 2000), @p31='?' (Size = 256), @p32='?' (DbType = Guid)], CommandType='"Text"', CommandTimeout='30']
SET NOCOUNT ON;
INSERT INTO [AbpAuditLogs] ([Id], [ApplicationName], [BrowserInfo], [ClientId], [ClientIpAddress], [ClientName], [Comments], [ConcurrencyStamp], [CorrelationId], [Exceptions], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [HttpMethod], [HttpStatusCode], [ImpersonatorTenantId], [ImpersonatorTenantName], [ImpersonatorUserId], [ImpersonatorUserName], [TenantId], [TenantName], [Url], [UserId], [UserName])
VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21, @p22, @p23);
INSERT INTO [AbpAuditLogActions] ([Id], [AuditLogId], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [MethodName], [Parameters], [ServiceName], [TenantId])
VALUES (@p24, @p25, @p26, @p27, @p28, @p29, @p30, @p31, @p32);
[2025-04-07 10:02:00 DBG] Closing data reader to 'Palma-Prod' on server 'tcp:palma-sqlserver.database.windows.net,1433'.
[2025-04-07 10:02:00 DBG] A data reader for 'Palma-Prod' on server 'tcp:palma-sqlserver.database.windows.net,1433' is being disposed after spending 2ms reading results.
[2025-04-07 10:02:00 DBG] Committing transaction.
[2025-04-07 10:02:00 DBG] Committed transaction.
[2025-04-07 10:02:00 DBG] Closing connection to database 'Palma-Prod' on server 'tcp:palma-sqlserver.database.windows.net,1433'.
[2025-04-07 10:02:00 DBG] Closed connection to database 'Palma-Prod' on server 'tcp:palma-sqlserver.database.windows.net,1433' (0ms).
[2025-04-07 10:02:00 DBG] Disposing transaction.
[2025-04-07 10:02:00 DBG] An entity of type 'AuditLog' tracked by 'AbpAuditLoggingDbContext' changed state from '"Added"' to '"Unchanged"'. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see key values.
[2025-04-07 10:02:00 DBG] An entity of type 'AuditLogAction' tracked by 'AbpAuditLoggingDbContext' changed state from '"Added"' to '"Unchanged"'. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see key values.
[2025-04-07 10:02:00 DBG] SaveChanges completed for 'AbpAuditLoggingDbContext' with 2 entities written to the database.
[2025-04-07 10:02:00 DBG] Added 0 entity changes to the current audit log
[2025-04-07 10:02:00 DBG] DetectChanges starting for 'AbpAuditLoggingDbContext'.
[2025-04-07 10:02:00 DBG] DetectChanges completed for 'AbpAuditLoggingDbContext'.
[2025-04-07 10:02:01 DBG] DetectChanges starting for 'AbpAuditLoggingDbContext'.
[2025-04-07 10:02:01 DBG] DetectChanges completed for 'AbpAuditLoggingDbContext'.
[2025-04-07 10:02:01 DBG] DetectChanges starting for 'AbpAuditLoggingDbContext'.
[2025-04-07 10:02:01 DBG] DetectChanges completed for 'AbpAuditLoggingDbContext'.
[2025-04-07 10:02:01 DBG] SaveChanges starting for 'AbpAuditLoggingDbContext'.
[2025-04-07 10:02:01 DBG] DetectChanges starting for 'AbpAuditLoggingDbContext'.
[2025-04-07 10:02:01 DBG] DetectChanges completed for 'AbpAuditLoggingDbContext'.
[2025-04-07 10:02:01 DBG] SaveChanges completed for 'AbpAuditLoggingDbContext' with 0 entities written to the database.
[2025-04-07 10:02:01 DBG] Added 0 entity changes to the current audit log
[2025-04-07 10:02:01 DBG] 'AbpAuditLoggingDbContext' disposed.
[2025-04-07 10:02:01 DBG] Disposing connection to database 'Palma-Prod' on server 'tcp:palma-sqlserver.database.windows.net,1433'.
[2025-04-07 10:02:01 DBG] Disposed connection to database '' on server '' (0ms).
[2025-04-07 10:02:01 DBG] 'FeatureManagementDbContext' disposed.
[2025-04-07 10:02:01 DBG] Disposing connection to database 'Palma-Prod' on server 'tcp:palma-sqlserver.database.windows.net,1433'.
[2025-04-07 10:02:01 DBG] Disposed connection to database '' on server '' (0ms).
[2025-04-07 10:02:01 DBG] The request was aborted by the client.
[2025-04-07 10:02:01 INF] Request finished HTTP/1.1 GET https://www.myProjectUrl.ch/ - 499 null text/html; charset=utf-8 1187.0207ms
[2025-04-07 10:02:01 DBG] Connection id "0HNBLN4LG50S5" stopped.
The public website (MVC) is hosted in Azure. We have enabled AlwaysOn for the app service. Now we very often (but not always) have an error message in the log file and AbpAuditLogs. I have now logged at debug level and found out that the error could be related to FeatureManagement. On our homepage, which is called by AlwaysOn, we only have static context and do not initiate any database calls ourselves.
[2025-04-07 10:02:00 WRN] The operation was canceled.
System.OperationCanceledException: The operation was canceled.
at System.Threading.CancellationToken.ThrowOperationCanceledException()
at Microsoft.Extensions.Caching.StackExchangeRedis.RedisCache.GetAsync(String key, CancellationToken token)
at Volo.Abp.Caching.DistributedCache`2.GetAsync(TCacheKey key, Nullable`1 hideErrors, Boolean considerUow, CancellationToken token)
[2025-04-07 10:02:00 DBG] Entity Framework Core 8.0.4 initialized 'FeatureManagementDbContext' using provider 'Microsoft.EntityFrameworkCore.SqlServer:8.0.4' with options: QuerySplittingBehavior=SplitQuery AbpOptionsExtension
[2025-04-07 10:02:00 DBG] Creating DbConnection.
[2025-04-07 10:02:00 DBG] Created DbConnection. (2ms).
[2025-04-07 10:02:00 DBG] Opening connection to database 'Palma-Prod' on server 'tcp:palma-sqlserver.database.windows.net,1433'.
[2025-04-07 10:02:00 ERR] An error occurred using the connection to database 'Palma-Prod' on server 'tcp:palma-sqlserver.database.windows.net,1433'.
[2025-04-07 10:02:00 DBG] A query was canceled for context type 'Volo.Abp.FeatureManagement.EntityFrameworkCore.FeatureManagementDbContext'.
[2025-04-07 10:02:00 INF] Executed page /Index in 598.3426ms
[2025-04-07 10:02:00 INF] Executed endpoint '/Index'
Any ideas?
Thanks, Adrian