hi
Do you have the logs.txt
of fbd-api-staging
website?
ok, Please re-share the logs.txt of your applicaitons. Thanks
hi
selecting the permissions (basically, invoking the method above) is very slow.
var multipleGrantInfo = await _permissionManager.GetAsync
(
neededCheckPermissions.Select(x => x.Name).ToArray(), ModulePermissionRoleValueProvider.ProviderName, parentRole.Name
);
Please check the log. The log will contain the time taken to read and write redis.
hi
The error is:
[ERR] An unhandled exception has occurred while executing the request.
Volo.Abp.Http.Client.AbpRemoteCallException: An error occurred during the ABP remote HTTP request. (The operation was canceled.) See the inner exception for details.
---> System.Threading.Tasks.TaskCanceledException: The operation was canceled.
---> System.Threading.Tasks.TaskCanceledException: The operation was canceled.
---> System.IO.IOException: Unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an application request..
---> System.Net.Sockets.SocketException (995): The I/O operation has been aborted because of either a thread exit or an application request.
System.Net.Sockets.SocketException (995): The I/O operation has been aborted because of either a thread exit or an application request.
This should be related to the network of the running environment, I have no experience with this.
hi
In which project did you add your ModulePermissionRoleValueProvider
to ManagementProviders
?
Does the current debug project depend on your project?
Yes, Inherit IDisposable
and add Dispose
method.
public void Dispose()
{
ApplicationConfigurationChangedService.Changed -= ApplicationConfigurationChanged;
}
ok, Does it slove your problem?
hi
BTW, List<PermissionValueProviderInfo> Providers contains no elements which also looks weird to me, i think logically it always would have to contain at least 'MR' according to the DB and the corresponding screenshot above.
Can you debug the app to inject the IOptions<PermissionManagementOptions>
to check its ManagementProviders
property.