hi
It seems your Redis server is not working.
Can you check that Redis is connectable and working?
Thanks.
hi
Can you share the Logs.txt file?
var loggerConfiguration = new LoggerConfiguration()
.MinimumLevel.Debug()
.MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Warning)
.Enrich.FromLogContext()
.WriteTo.Async(c => c.File("Logs/logs.txt"))
Thanks
hi
Can you share the logs.txt of 500 Internal Server Error ?
We need to see what the error is.
Thanks
hi
Do you have multiple instances?
Have your instances been restarted?
Have you set up ConfigureDataProtection?
private void ConfigureDataProtection(
ServiceConfigurationContext context,
IConfiguration configuration,
IWebHostEnvironment hostingEnvironment)
{
var dataProtectionBuilder = context.Services.AddDataProtection().SetApplicationName("MyProjectName");
if (!hostingEnvironment.IsDevelopment())
{
var redis = ConnectionMultiplexer.Connect(configuration["Redis:Configuration"]!);
dataProtectionBuilder.PersistKeysToStackExchangeRedis(redis, "MyProjectName-Protection-Keys");
}
}
Thanks.
hi
Please share HrCountry/HrCountryDto and HrMailCountry/HrMailCountryDto code
I will check the mapper.
Thanks.
hi
The extension methods exist https://github.com/abpframework/abp/blob/rel-8.3/framework/src/Volo.Abp.Authorization/Volo/Abp/Authorization/Permissions/PermissionSimpleStateCheckerExtensions.cs#L8-L55
Can you using Volo.Abp.Authorization.Permissions;?
Thanks.
hi
Add or update all permissions present in the new seed data set (insert/update)
You can inject the IPermissionGrantRepository to add new permissions.
See https://github.com/abpframework/abp/blob/dev/modules/permission-management/src/Volo.Abp.PermissionManagement.Domain/Volo/Abp/PermissionManagement/PermissionDataSeeder.cs
Delete obsolete permissions from the database—meaning, any permission record that existed previously but is no longer defined in the current seed set should be removed automatically.
You can inject the IPermissionManager to delete permissions from the database.
https://github.com/abpframework/abp/blob/dev/modules/permission-management/src/Volo.Abp.PermissionManagement.Domain/Volo/Abp/PermissionManagement/IPermissionManager.cs
Thanks.
hi
The AuthServer returns the The specified client credentials are invalid. error.
Can you check the credentials of the reqeust?
Thanks.
[INF] Received HTTP response headers after 1050.7501ms - 401
[INF] End processing HTTP request after 1050.9061ms - 401
[ERR] Unexpected error while fetching editions from SiteHost.
System.Exception: Failed to get token from DepartmentHost. Status: Unauthorized, Error: {
"error": "invalid_client",
"error_description": "The specified client credentials are invalid.",
"error_uri": "https://documentation.openiddict.com/errors/ID2055"
}
at Hon.IFS.PlatformHost.Services.Integrations.TenantHostService.GetJwtTokenAsync(TenantType tenantType) in /home/runner/work/Hon.IFS.PlatformHost/Hon.IFS.PlatformHost/Hon.IFS.PlatformHost/Services/Integrations/TenantHostService.cs:line 117
at Hon.IFS.PlatformHost.Services.Integrations.TenantHostService.GetAllHostEditionsAsync(TenantType tenantType) in /home/runner/work/Hon.IFS.PlatformHost/Hon.IFS.PlatformHost/Hon.IFS.PlatformHost/Services/Integrations/TenantHostService.cs:line 525
2026-01-23 20:42:50.708 +00:00 [ERR] Error retrieving editions.
Volo.Abp.UserFriendlyException: Unexpected error: Failed to get token from DepartmentHost. Status: Unauthorized, Error: {
"error": "invalid_client",
"error_description": "The specified client credentials are invalid.",
"error_uri": "https://documentation.openiddict.com/errors/ID2055"
}
hi
Didn't receive it. Do you share all the Logts.txt files for all apps?
You can share it by https://wetransfer.com/
liming.ma@volosoft.com
Thanks.