What is going on here? I have a license. I am concerned that if my ABP license expires, then my clients will get this type of message for Blazorise. What is the situation with this vendor? You eliminated AutoMapper because it went commercial. Fair enough. But why are we dealing with commercial nag pop ups for Blazorise? To be honest the generated UI with Blazorise is not good, that is another conversation all together. But why this? And because of this, your licensing terms being a forever license don't apply because if I let my ABP license lapse, I would need to get a Blazorise license to keep the UI working.
Would love a detailed response to this.
Thanks,
Karim
Hi,
I followed the instructions that you provided and moved from AutoMapper to Mapperly. I used the AI prompt that you provided to generate the initial Mappers files for Mapperly. I immediately had the same issues everyone else seems to have had with ABP Suite generating bad Mapperly map code and appending it to the end of the Mappers files. When this happens, the build fails and ABP Suite does not generate Migrations. This is just a show stopper for me now, and I need to get it fixed.
I have read through all other tickets, and I did rename all of the existing Mapperly classes and added a trailing 's' as suggested. But I have found that sometimes new Map classes have the plural s, and sometimes they don't. In all cases ABP Suite fails. I have copied some of the newly generated Maps to show the state of things.
I have a hack in place, where I have removed the BlazorMappers.cs and ApplicationMappers.cs files from the build, so that I can use ABP Suite. But I have to then manually add mapping classes for any new entities into a separate MapperlyMap file, and this is not a long term solution, I need ABP Suite to work as it should.
Please provide a step by step solution to this problem.
Thanks,
Having trouble overriding this color in the admin UI:
Seems to be the –lpx-brand color, set in the side-menu/css/light.css file. I have all other variable overridden in my blazor-global-styles.css file as so:
But the side menu css seems to be taking precedence here. I can’t even set the styles explicitly as the side menu css is taking precedence and it set to !important:
I would like to just be able to set everything in the blazor-global-styles.css if possible. If not, is there another way for me to accomplish this?
Thanks,
Karim
I upgraded to 8.3.1 from v8.2.x using ABP Suite. Upon deploying this code I am getting the following exception thrown on the AuthServer, causing a 400 Error page to show to the user:
4-10-17 07:12:26.032 +00:00 [ERR] Connection ID "16429131441452883878", Request ID "40001fa7-0000-e400-b63f-84710c7967bb": An unhandled exception was thrown by the application. Volo.Abp.AbpException: Could not find file '/libs/datatables.net/js/jquery.dataTables.js' at Volo.Abp.AspNetCore.Mvc.UI.Bundling.BundlerBase.GetFileInfo(IBundlerContext context, String file)
Not sure why it is looking for the jquery.dataTables.js file as that file no longer exists in v2.x of DataTables, it is just dataTables.js now. In any case, I created that file in my libs folder, just copying the dataTables.js file:
And this is deployed:
Yet still getting the exception. My version of DataTables is 2.1.7 :
Not sure if that makes a difference here since this seems to be a bundling issue of some kind.
Any ideas on how to resolve this?
Thanks,
Karim
Hi,
This just started to happen, when I log in to our production (test) environment everything is OK for a few seconds, then I seem to be losing authentication, and getting an 'Unauthorized' exception when calling a service method on the homepage. I have a video of this here:
https://drive.google.com/file/d/1xJpaKd_RJFRgb90Ol0IxINk0oW9c6n6Y/view?usp=drive_link
I have detailed errors on so I can see the exception in the browser console:
Do you know why / how this is happening and how to fix?
Thanks,
Karim Ainsworth
Hi,
I am getting a 404 returned on every login in production, due to there being a missing moment.min.js.map file.
This is causing a noticeable 404 Error Page flashing on screen for 1 second before the login page loads.
Here are the sections of the logs that show this :
2024-09-07 03:43:25.154 +00:00 [INF] > Minified /libs/timeago/jquery.timeago.js (7636 bytes -> 4107 bytes) 2024-09-07 03:43:25.157 +00:00 [DBG] - /libs/bootstrap-datepicker/bootstrap-datepicker.min.js (33878 bytes) 2024-09-07 03:43:25.157 +00:00 [DBG] > Already minified. 2024-09-07 03:43:25.161 +00:00 [DBG] - /libs/moment/moment.min.js (58891 bytes) 2024-09-07 03:43:25.161 +00:00 [DBG] > Already minified.
2024-09-07 03:46:01.711 +00:00 [INF] Request starting HTTP/1.1 GET https://esv2-auth-test.azurewebsites.net/__bundles/moment.min.js.map; - null null 2024-09-07 03:46:01.712 +00:00 [DBG] The request path /__bundles/moment.min.js.map; does not match a supported file type 2024-09-07 03:46:01.712 +00:00 [DBG] No candidates found for the request path '/__bundles/moment.min.js.map;' 2024-09-07 03:46:01.712 +00:00 [DBG] Request did not match any endpoints 2024-09-07 03:46:01.715 +00:00 [INF] Request finished HTTP/1.1 GET https://esv2-auth-test.azurewebsites.net/__bundles/moment.min.js.map; - 302 null null 3.4218ms 2024-09-07 03:46:01.715 +00:00 [INF] Request reached the end of the middleware pipeline without being handled by application code. Request path: GET https://esv2-auth-test.azurewebsites.net/__bundles/moment.min.js.map;, Response status code: 302 2024-09-07 03:46:01.834 +00:00 [INF] Executing ContentResult with HTTP Response ContentType of application/javascript 2024-09-07 03:46:01.835 +00:00 [INF] Executed action Volo.Abp.AspNetCore.Mvc.Localization.AbpApplicationLocalizationScriptController.GetAsync (Volo.Abp.AspNetCore.Mvc) in 2397.8982ms 2024-09-07 03:46:01.835 +00:00 [INF] Executed endpoint 'Volo.Abp.AspNetCore.Mvc.Localization.AbpApplicationLocalizationScriptController.GetAsync (Volo.Abp.AspNetCore.Mvc)' 2024-09-07 03:46:01.856 +00:00 [INF] Request finished HTTP/1.1 GET https://esv2-auth-test.azurewebsites.net/Abp/ApplicationLocalizationScript?cultureName=en - 200 91128 application/javascript 2427.1567ms 2024-09-07 03:46:02.131 +00:00 [INF] Request starting HTTP/1.1 GET https://esv2-auth-test.azurewebsites.net/Error?httpStatusCode=404 - null null
How can I fix this problem?
Thanks,
Karim Ainsworth
Hi,
I have been deploying to Azure Deployment Slots, and I am getting transient db errors in the logs on the Auth project that are causing me to often get 400 Errors returned. The log errors are initially in this format:
2024-09-06 15:20:30.990 +00:00 [ERR] An error occurred using the connection to database 'ESv2-testing' on server 'tcp:hathor-hk.database.windows.net,1433'.
Resulting in this:
Following the suggestion of ChatGPT, I added EnableRetryOnFailure:
Configure<AbpDbContextOptions>(options => { /* The main point to change your DBMS. * See also ESv2DbContextFactory for EF Core tooling. */ options.UseSqlServer(sqlOptions => sqlOptions.EnableRetryOnFailure(5, TimeSpan.FromSeconds(10), null)); });
But it seems this may not be supported in ABP.
I am now getting the following in my logs :
2024-09-06 13:08:13.988 +00:00 [ERR] An exception occurred while iterating over the results of a query for context type 'Volo.Abp.TextTemplateManagement.EntityFrameworkCore.TextTemplateManagementDbContext'. System.InvalidOperationException: The configured execution strategy 'SqlServerRetryingExecutionStrategy' does not support user-initiated transactions. Use the execution strategy returned by 'DbContext.Database.CreateExecutionStrategy()' to execute all the operations in the transaction as a retriable unit. at Microsoft.EntityFrameworkCore.Storage.ExecutionStrategy.OnFirstExecution()
Is there another approach to handling these errors?
This particular exception that is logged: [ERR] An exception occurred while iterating over the results of a query for context type 'Volo.Abp.TextTemplateManagement.EntityFrameworkCore.TextTemplateManagementDbContext'.
Is this maybe the root cause here? This doesn't happen all of the time though, any idea on what is going on here?
Thanks,
Karim Ainsworth
My logged in user menu doesn't open on click, other menus in the header are working fine. Any idea on how to get this fixed?
Thanks,
Karim Ainsworth
I am working through a CI / CD implementation using Azure Deployment slots. I have a tiered application that I am trying to get deployed correctly. This is just a basic, no changes, out of the box 3 tier application generated by ABPSuite that I use as a base dev environment for testing.
First problem is that I can not see the full menu for the admin user in the tiered app on neither dev nor production. However in dev everything works as expected, I can create users, and I am authenticated as admin ( it seems ).
For reference, I created a single tier app, and I see the admin user menu as I would expect:
So I would expect to see this menu in my tiered app. They were created exactly the same time, same 8.2 version number, no code updates, just out of the box ABP. But I do not get the user / admin menu in my fresh and clean 3 tier app.
The real issue here is when I deploy a 3 tier app using Azure Deployment Slots to a staging environment on Azure. I can log in OK, and I get the same no options Admin menu as I got in my local dev environment:
However I can’t see any admin menu, and I get an Unauthorized exception after trying to do anything. Even though I seem to be logged in as the admin user.
After Refresh:
This to me seems like a configuration issue, but I can not seem to see any difference in config between environments.
Any insight would be much appreciated.
Thanks,
Karim Ainsworth
Hi,
Before I upgraded my 7.x project to 8.2 I could generate long lived access tokens ( 1 year ) using the following code in the AuthServerModule:
PreConfigure<OpenIddictServerBuilder>(builder => { builder.SetAccessTokenLifetime(TimeSpan.FromDays(365)); builder.SetIdentityTokenLifetime(TimeSpan.FromDays(365));
});
This code still works, and I get a token in the db that seems to have everything set correctly:
However after about a day the token stops working. Nothing has changed in the db, and the token is of course the same, but for some reason I get a 401 when using the token, whereas for the first day ( could be more or less but seems like about a day ) it works fine:
I noticed that ABP 8.x has upgraded to OpenIddict 5, and I went through all of the migration steps for that, so I looked for anything that changed and I see that there is now the concept of per client token expiration settings. However the global settings supposedly override that ( if client settings are not set explicitly ) and I am not sure how to configure ABP to use the client settings.
Can you provide any insight into this, and suggest some things to try so that I can get this long lived token functionality back?
Thanks,
Karim Ainsworth